I'm using the AtomicSimpleCPU. Right for the _pc and _npc fields in the checkpoint file I put zero, but the checkpoint still resumes properly. Here are the first couple fetches:
1611728894411000: system.cpu: Fetch: PC:0x400880 1611728894412500: system.cpu: Fetch: PC:0x40056f This happens every time I restore any checkpoint from this specific kernel image. Nilay Vaish Fri, 03 Feb 2012 10:28:00 -0800 On Fri, 3 Feb 2012, Madhav Suresh wrote: Hey Guys, I'm a little confused as to how exactly the checkpoint load works. I've noticed that on a restore the PC is always at 0x400880. No matter what the _pc is, M5 will always resume to that address, and then eventually get back into normal execution. What is the exact code path the the simulator follows when the "-r" flag is set? That sounds really strange. What CPU model are you using? -- Nilay
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
