diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-17 19:38:36 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-17 19:38:36 -0400 |
commit | e51b075a2706180bdc262cbcbdd5bafe5896ba12 (patch) | |
tree | c31aeaf70784ae5567752ccf9681017576813d99 /src/sim/process.hh | |
parent | 4fff6d460311d77e0056a546df41366d5a3b4604 (diff) | |
download | gem5-e51b075a2706180bdc262cbcbdd5bafe5896ba12.tar.xz |
add code to serialize se structures. Lisa is working on the python side of things and will test
src/mem/page_table.cc:
src/mem/page_table.hh:
add code to serialize/unserialize page table
src/sim/process.cc:
src/sim/process.hh:
add code to serialize/unserialize process
--HG--
extra : convert_revision : ee9eb5e2c38c5d317a2f381972c552d455e0db9e
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index b2777170f..5c37f725e 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -162,6 +162,9 @@ class Process : public SimObject int sim_fd(int tgt_fd); virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; + + void serialize(std::ostream &os); + void unserialize(Checkpoint *cp, const std::string §ion); }; // |