| CPC G06F 12/023 (2013.01) | 8 Claims | 

| 
               1. A memory state recovery method for an MMU-free environment in an acceleration of CPU chip simulation, comprising following steps: 
            Step S1: relocating Virtual Memory Areas (VMA), including: relocating each VMA in an available physical memory space, and converting a base address represented by a virtual address of the VMA into a physical address, wherein a length of the VMA remains unchanged; 
                Step S2: recovering memory access data, wherein a recovery rule of a storage location for each read memory access record from the recovered memory access data is: the base address of the relocated VMA+offset; 
                Step S3: recovering stack states, wherein a recovery rule of a storage location for each stack frame is: the base address of the relocated VMA+offset; and 
                Step S4: recovering general register values. 
               |