summaryrefslogtreecommitdiff
path: root/src/arch/alpha/isa.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:42 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-01-07 13:05:42 -0500
commit17b47d35e1d0dedca7a3336f1193b1a502bcd78b (patch)
tree3b37175b174a2cdad1020ff6dd917f32c1c10907 /src/arch/alpha/isa.hh
parent7eb0fb8b6ebffcb39b61964d4c7387455c262aae (diff)
downloadgem5-17b47d35e1d0dedca7a3336f1193b1a502bcd78b.tar.xz
arch: Move the ISA object to a separate section
After making the ISA an independent SimObject, it is serialized automatically by the Python world. Previously, this just resulted in an empty ISA section. This patch moves the contents of the ISA to that section and removes the explicit ISA serialization from the thread contexts, which makes it behave like a normal SimObject during serialization. Note: This patch breaks checkpoint backwards compatibility! Use the cpt_upgrader.py utility to upgrade old checkpoints to the new format.
Diffstat (limited to 'src/arch/alpha/isa.hh')
-rw-r--r--src/arch/alpha/isa.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/alpha/isa.hh b/src/arch/alpha/isa.hh
index 4e22c7eea..739b77286 100644
--- a/src/arch/alpha/isa.hh
+++ b/src/arch/alpha/isa.hh
@@ -88,9 +88,8 @@ namespace AlphaISA
memset(ipr, 0, sizeof(ipr));
}
- void serialize(EventManager *em, std::ostream &os);
- void unserialize(EventManager *em, Checkpoint *cp,
- const std::string &section);
+ void serialize(std::ostream &os);
+ void unserialize(Checkpoint *cp, const std::string &section);
int
flattenIntIndex(int reg)