summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2011-04-10 21:02:28 -0400
committerAli Saidi <saidi@eecs.umich.edu>2011-04-10 21:02:28 -0400
commit4b61abe8da876ed3e56a1851384ec11ede65bd89 (patch)
tree818653f3c6c287baa515e5c011f32c5b1cbfedb0 /src/arch/arm
parentb9dc954d899b4c5132e7411bb2de7737fbbaa254 (diff)
downloadgem5-4b61abe8da876ed3e56a1851384ec11ede65bd89.tar.xz
ARM: Fix checkpoint restoration in ARM_SE.
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/linux/process.cc4
-rw-r--r--src/arch/arm/linux/process.hh2
-rw-r--r--src/arch/arm/process.cc4
-rw-r--r--src/arch/arm/process.hh2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm/linux/process.cc b/src/arch/arm/linux/process.cc
index 8cf113a60..6b449c2e7 100644
--- a/src/arch/arm/linux/process.cc
+++ b/src/arch/arm/linux/process.cc
@@ -502,9 +502,9 @@ ArmLinuxProcess::getDesc(int callnum)
}
void
-ArmLinuxProcess::startup()
+ArmLinuxProcess::initState()
{
- ArmLiveProcess::startup();
+ ArmLiveProcess::initState();
pTable->allocate(commPage, PageBytes);
ThreadContext *tc = system->getThreadContext(contextIds[0]);
diff --git a/src/arch/arm/linux/process.hh b/src/arch/arm/linux/process.hh
index 7b9e5789e..f0a81c5fc 100644
--- a/src/arch/arm/linux/process.hh
+++ b/src/arch/arm/linux/process.hh
@@ -43,7 +43,7 @@ class ArmLinuxProcess : public ArmLiveProcess
virtual SyscallDesc* getDesc(int callnum);
- void startup();
+ void initState();
ArmISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
void setSyscallArg(ThreadContext *tc, int i, ArmISA::IntReg val);
diff --git a/src/arch/arm/process.cc b/src/arch/arm/process.cc
index 829911a7c..61349192f 100644
--- a/src/arch/arm/process.cc
+++ b/src/arch/arm/process.cc
@@ -75,9 +75,9 @@ ArmLiveProcess::ArmLiveProcess(LiveProcessParams *params, ObjectFile *objFile,
}
void
-ArmLiveProcess::startup()
+ArmLiveProcess::initState()
{
- LiveProcess::startup();
+ LiveProcess::initState();
argsInit(MachineBytes, VMPageSize);
for (int i = 0; i < contextIds.size(); i++) {
ThreadContext * tc = system->getThreadContext(contextIds[i]);
diff --git a/src/arch/arm/process.hh b/src/arch/arm/process.hh
index 6017f7649..8816b765d 100644
--- a/src/arch/arm/process.hh
+++ b/src/arch/arm/process.hh
@@ -47,7 +47,7 @@ class ArmLiveProcess : public LiveProcess
ArmLiveProcess(LiveProcessParams * params, ObjectFile *objFile,
ObjectFile::Arch _arch);
- void startup();
+ void initState();
public:
void argsInit(int intSize, int pageSize);