diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2004-03-05 15:15:23 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2004-03-05 15:15:23 -0500 |
commit | 6eebb270be15761239565da526f84c5ec7aa45b8 (patch) | |
tree | d338c0ddd8445e4ed1f52b05cf3b8636a8902c8b /cpu | |
parent | 34576de15a3c8f8a50437e5d95b1402722cf9e2b (diff) | |
download | gem5-6eebb270be15761239565da526f84c5ec7aa45b8.tar.xz |
fix ALPHA
cpu/exec_context.cc:
put this code between #ifdef FULL_SYSTEM
--HG--
extra : convert_revision : b934c7085d2a4337149ab8180a7d50851fbbf170
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/exec_context.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc index 776641202..eedd8b8a8 100644 --- a/cpu/exec_context.cc +++ b/cpu/exec_context.cc @@ -105,6 +105,7 @@ ExecContext::serialize(ostream &os) // thread_num and cpu_id are deterministic from the config SERIALIZE_SCALAR(func_exe_inst); +#ifdef FULL_SYSTEM bool ctx = false; if (swCtx) { ctx = true; @@ -129,6 +130,7 @@ ExecContext::serialize(ostream &os) string bin_name = cur->name(); SERIALIZE_SCALAR(bin_name); } +#endif //FULL_SYSTEM } @@ -140,6 +142,7 @@ ExecContext::unserialize(Checkpoint *cp, const std::string §ion) // thread_num and cpu_id are deterministic from the config UNSERIALIZE_SCALAR(func_exe_inst); +#ifdef FULL_SYSTEM bool ctx; UNSERIALIZE_SCALAR(ctx); if (ctx) { @@ -168,6 +171,7 @@ ExecContext::unserialize(Checkpoint *cp, const std::string §ion) UNSERIALIZE_SCALAR(bin_name); system->getBin(bin_name)->activate(); } +#endif //FULL_SYSTEM } |