Lines Matching refs:tc
83 unameFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
86 auto process = tc->getProcessPtr();
87 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index));
95 name.copyOut(tc->getVirtProxy());
103 sys_getsysinfoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
106 auto process = tc->getProcessPtr();
107 unsigned op = process->getSyscallArg(tc, index);
108 unsigned bufPtr = process->getSyscallArg(tc, index);
109 // unsigned nbytes = process->getSyscallArg(tc, index);
118 fpcr.copyOut(tc->getVirtProxy());
132 sys_setsysinfoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
135 auto process = tc->getProcessPtr();
136 unsigned op = process->getSyscallArg(tc, index);
137 Addr bufPtr = process->getSyscallArg(tc, index);
138 // unsigned nbytes = process->getSyscallArg(tc, index);
147 fpcr.copyIn(tc->getVirtProxy());
162 setThreadAreaFunc(SyscallDesc *desc, int callnum, ThreadContext *tc)
165 auto process = tc->getProcessPtr();
166 Addr addr = process->getSyscallArg(tc, index);
167 tc->setMiscRegNoEffect(MISCREG_TP_VALUE, addr);