From 17b47d35e1d0dedca7a3336f1193b1a502bcd78b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Mon, 7 Jan 2013 13:05:42 -0500 Subject: 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. --- src/arch/power/isa.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/arch/power') diff --git a/src/arch/power/isa.hh b/src/arch/power/isa.hh index 446f918f1..a989d33a7 100644 --- a/src/arch/power/isa.hh +++ b/src/arch/power/isa.hh @@ -98,16 +98,6 @@ class ISA : public SimObject return reg; } - void - serialize(EventManager *em, std::ostream &os) - { - } - - void - unserialize(EventManager *em, Checkpoint *cp, const std::string §ion) - { - } - const Params *params() const; ISA(Params *p); -- cgit v1.2.3