37c37
< #include "cpu/exec_context.hh"
---
> #include "cpu/thread_context.hh"
51c51
< ExecContext *xc)
---
> ThreadContext *tc)
53c53
< TypedBufferArg<Linux::utsname> name(xc->getSyscallArg(0));
---
> TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0));
61c61
< name.copyOut(xc->getMemPort());
---
> name.copyOut(tc->getMemPort());
70c70
< ExecContext *xc)
---
> ThreadContext *tc)
72,73c72,73
< unsigned op = xc->getSyscallArg(0);
< // unsigned nbytes = xc->getSyscallArg(2);
---
> unsigned op = tc->getSyscallArg(0);
> // unsigned nbytes = tc->getSyscallArg(2);
78c78
< TypedBufferArg<uint64_t> fpcr(xc->getSyscallArg(1));
---
> TypedBufferArg<uint64_t> fpcr(tc->getSyscallArg(1));
81c81
< fpcr.copyOut(xc->getMemPort());
---
> fpcr.copyOut(tc->getMemPort());
97c97
< ExecContext *xc)
---
> ThreadContext *tc)
99,100c99,100
< unsigned op = xc->getSyscallArg(0);
< // unsigned nbytes = xc->getSyscallArg(2);
---
> unsigned op = tc->getSyscallArg(0);
> // unsigned nbytes = tc->getSyscallArg(2);
105c105
< TypedBufferArg<uint64_t> fpcr(xc->getSyscallArg(1));
---
> TypedBufferArg<uint64_t> fpcr(tc->getSyscallArg(1));
107c107
< fpcr.copyIn(xc->getMemPort());
---
> fpcr.copyIn(tc->getMemPort());