summaryrefslogtreecommitdiff
path: root/src/arch/sparc/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-11-07 15:03:49 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-11-07 15:03:49 -0800
commit17e83e7f8346a25a313e4fc58ed7008b46fd818f (patch)
tree7abd5c1451dabc8dbff27efb2bb50c5c913372b2 /src/arch/sparc/process.cc
parent19292d3f06c5cfd33d6b5d8ba4a9eeadd0d11d47 (diff)
downloadgem5-17e83e7f8346a25a313e4fc58ed7008b46fd818f.tar.xz
SPARC: Make 64 bit SPARC process initialization check checkpointRestored too.
--HG-- extra : convert_revision : 8d48f705983f31db5947c6c4ae9f0df57f413d68
Diffstat (limited to 'src/arch/sparc/process.cc')
-rw-r--r--src/arch/sparc/process.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index ffe430ac7..1f5d0b077 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -161,6 +161,9 @@ Sparc32LiveProcess::startup()
void
Sparc64LiveProcess::startup()
{
+ if (checkpointRestored)
+ return;
+
argsInit(sizeof(IntReg), VMPageSize);
//From the SPARC ABI