diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-10-18 11:04:42 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-10-18 11:04:42 -0700 |
commit | 15a3a7b37b34da286f89ee07230ff6cd2b55c5f6 (patch) | |
tree | 8451c2a006618901b9abd370d0b8aaab97123164 /src/cpu/simple_thread.cc | |
parent | 912f3d707412b9a6001fe816d7a56a9743c86e34 (diff) | |
parent | 010b13c937c80b9138d5c70fda6c47ea75d2a9b3 (diff) | |
download | gem5-15a3a7b37b34da286f89ee07230ff6cd2b55c5f6.tar.xz |
merged with ISA event manager fix
Diffstat (limited to 'src/cpu/simple_thread.cc')
-rw-r--r-- | src/cpu/simple_thread.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/simple_thread.cc b/src/cpu/simple_thread.cc index 92c6ad69b..ad69719ee 100644 --- a/src/cpu/simple_thread.cc +++ b/src/cpu/simple_thread.cc @@ -199,6 +199,11 @@ SimpleThread::serialize(ostream &os) SERIALIZE_SCALAR(nextPC); SERIALIZE_SCALAR(nextNPC); // thread_num and cpu_id are deterministic from the config + + // + // Now must serialize all the ISA dependent state + // + isa.serialize(cpu, os); } @@ -214,6 +219,11 @@ SimpleThread::unserialize(Checkpoint *cp, const std::string §ion) UNSERIALIZE_SCALAR(nextPC); UNSERIALIZE_SCALAR(nextNPC); // thread_num and cpu_id are deterministic from the config + + // + // Now must unserialize all the ISA dependent state + // + isa.unserialize(cpu, cp, section); } #if FULL_SYSTEM |