}
void
- m5exit_old(ExecContext *xc)
+ m5exit_old(ThreadContext *tc)
{
- SimExit(curTick, "m5_exit_old instruction encountered");
+ exitSimLoop(curTick, "m5_exit_old instruction encountered");
}
void
- m5exit(ExecContext *xc, Tick delay)
+ m5exit(ThreadContext *tc, Tick delay)
{
Tick when = curTick + delay * Clock::Int::ns;
- SimExit(when, "m5_exit instruction encountered");
+ exitSimLoop(when, "m5_exit instruction encountered");
}
void
SyscallReturn
exitFunc(SyscallDesc *desc, int callnum, Process *process,
- ExecContext *xc)
+ ThreadContext *tc)
{
- new SimExitEvent("target called exit()", tc->getSyscallArg(0) & 0xff);
- exitSimLoop("target called exit()", xc->getSyscallArg(0) & 0xff);
++ exitSimLoop("target called exit()", tc->getSyscallArg(0) & 0xff);
return 1;
}