ARM: Fix checkpoint restoration in ARM_SE.
This commit is contained in:
parent
b9dc954d89
commit
4b61abe8da
4 changed files with 6 additions and 6 deletions
|
@ -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]);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue