Various serialization changes to make it possible for the O3CPU to checkpoint.
authorKevin Lim <ktlim@umich.edu>
Thu, 6 Jul 2006 21:53:26 +0000 (17:53 -0400)
committerKevin Lim <ktlim@umich.edu>
Thu, 6 Jul 2006 21:53:26 +0000 (17:53 -0400)
commite7ccc94ea3cdc6130e66899fd905ca11da958727
tree54ba918680288ad22516b26cc6b99ad4dddb0d6b
parent8bf9709d912849a33c44cf3cd004a288d2106176
Various serialization changes to make it possible for the O3CPU to checkpoint.

src/arch/alpha/regfile.hh:
    Define serialize/unserialize functions on MiscRegFile itself.
src/cpu/o3/regfile.hh:
    Remove old commented code.
src/cpu/simple_thread.cc:
src/cpu/simple_thread.hh:
    Push common serialization code to ThreadState level.  Also allow the SimpleThread to be used for checkpointing by other models.
src/cpu/thread_state.cc:
src/cpu/thread_state.hh:
    Move common serialization code into ThreadState.

--HG--
extra : convert_revision : ef64ef515355437439af967eda2e610e8c1b658b
src/arch/alpha/regfile.hh
src/cpu/o3/regfile.hh
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh
src/cpu/thread_state.cc
src/cpu/thread_state.hh