diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-10-25 20:13:35 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-10-25 20:13:35 -0400 |
commit | 0711f4f17a4b4ac61b07cbe742f0d193f919ea8f (patch) | |
tree | 6fdd5b340696c7506dc85f4eb8cb39421da3ccaa /src/arch/x86/process.cc | |
parent | b0e3aab5df9328ddfd13e396456cebdcaf0c8912 (diff) | |
download | gem5-0711f4f17a4b4ac61b07cbe742f0d193f919ea8f.tar.xz |
SE: Fix page table and system serialization, don't reinit process if this is a checkpoint restore.
--HG--
extra : convert_revision : 03dcf3c088e57b7abab60efe700d947117888306
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r-- | src/arch/x86/process.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index db32437d5..c91bcc12f 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -141,6 +141,9 @@ void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc) void X86LiveProcess::startup() { + if (checkpointRestored) + return; + argsInit(sizeof(IntReg), VMPageSize); for (int i = 0; i < threadContexts.size(); i++) { |