186c186
< /// Target exit() handler: terminate simulation.
---
> /// Target exit() handler: terminate current context.
189a190,193
> /// Target exit_group() handler: terminate simulation. (exit all threads)
> SyscallReturn exitGroupFunc(SyscallDesc *desc, int num,
> LiveProcess *p, ThreadContext *tc);
>
310a315,317
> /// Target clone() handler.
> SyscallReturn cloneFunc(SyscallDesc *desc, int num,
> LiveProcess *p, ThreadContext *tc);
1016,1017c1023,1024
< tp->tv_sec = htog(tp->tv_sec);
< tp->tv_usec = htog(tp->tv_usec);
---
> tp->tv_sec = TheISA::htog(tp->tv_sec);
> tp->tv_usec = TheISA::htog(tp->tv_usec);