arch: Move the ISA object to a separate section
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 18:05:42 +0000 (13:05 -0500)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 7 Jan 2013 18:05:42 +0000 (13:05 -0500)
commit17b47d35e1d0dedca7a3336f1193b1a502bcd78b
tree3b37175b174a2cdad1020ff6dd917f32c1c10907
parent7eb0fb8b6ebffcb39b61964d4c7387455c262aae
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.
12 files changed:
src/arch/alpha/isa.cc
src/arch/alpha/isa.hh
src/arch/arm/isa.hh
src/arch/mips/isa.hh
src/arch/power/isa.hh
src/arch/sparc/isa.cc
src/arch/sparc/isa.hh
src/arch/x86/isa.cc
src/arch/x86/isa.hh
src/cpu/simple_thread.cc
src/sim/serialize.hh
util/cpt_upgrader.py