/gem5/src/arch/mips/ |
H A D | mt.hh | 56 readRegOtherThread(ThreadContext *tc, const RegId ®, argument 61 otc = tc->getCpuPtr()->getContext(tid); 63 otc = tc; 80 setRegOtherThread(ThreadContext *tc, const RegId& reg, RegVal val, argument 85 otc = tc->getCpuPtr()->getContext(tid); 87 otc = tc; 119 getVirtProcNum(TC *tc) argument 121 TCBindReg tcbind = tc->readMiscRegNoEffect(MISCREG_TC_BIND); 127 getTargetThread(TC *tc) argument 129 VPEControlReg vpeCtrl = tc 135 haltThread(TC *tc) argument 154 restoreThread(TC *tc) argument 171 forkThread(TC *tc, Fault &fault, int Rd_bits, int Rs, int Rt) argument 239 yieldThread(TC *tc, Fault &fault, int src_reg, uint32_t yield_mask) argument 305 updateStatusView(TC *tc) argument 323 updateTCStatusView(TC *tc) argument [all...] |
H A D | process.hh | 54 RegVal getSyscallArg(ThreadContext *tc, int &i); 57 void setSyscallArg(ThreadContext *tc, int i, RegVal val); 58 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
|
H A D | stacktrace.hh | 46 ThreadContext *tc; member in class:MipsISA::ProcessInfo 65 ThreadContext *tc; member in class:MipsISA::StackTrace 74 void trace(ThreadContext *tc, bool is_call); 78 StackTrace(ThreadContext *tc, const StaticInstPtr &inst); 83 tc = 0; 87 bool valid() const { return tc != NULL; } 88 bool trace(ThreadContext *tc, const StaticInstPtr &inst); 110 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) argument 118 trace(tc, !inst->isReturn());
|
H A D | vtophys.hh | 44 Addr vtophys(ThreadContext *tc, Addr vaddr);
|
/gem5/src/sim/ |
H A D | syscall_emul.cc | 67 unimplementedFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 76 ignoreFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 87 exitFutexWake(ThreadContext *tc, Addr addr, uint64_t tgid) argument 93 ctidBuf.copyOut(tc->getVirtProxy()); 95 FutexMap &futex_map = tc->getSystemPtr()->futexMap; 101 exitImpl(SyscallDesc *desc, int callnum, ThreadContext *tc, bool group) argument 104 auto p = tc->getProcessPtr(); 105 int status = p->getSyscallArg(tc, index); 107 System *sys = tc->getSystemPtr(); 113 exitFutexWake(tc, 223 exitFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 229 exitGroupFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 235 getpagesizeFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 242 brkFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 291 setTidAddressFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 302 closeFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 312 lseekFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 332 _llseekFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 363 munmapFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 375 gethostnameFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 391 getcwdFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 423 readlinkFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 429 readlinkFunc(SyscallDesc *desc, int num, ThreadContext *tc, int index) argument 489 unlinkFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 495 unlinkHelper(SyscallDesc *desc, int num, ThreadContext *tc, int index) argument 510 linkFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 531 symlinkFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 552 mkdirFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 568 renameFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 595 truncateFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 614 ftruncateFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 631 truncate64Func(SyscallDesc *desc, int num, ThreadContext *tc) argument 656 ftruncate64Func(SyscallDesc *desc, int num, ThreadContext *tc) argument 677 umaskFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 688 chownFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 711 fchownFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 739 dupFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 761 dup2Func(SyscallDesc *desc, int num, ThreadContext *tc) argument 792 fcntlFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 837 fcntl64Func(SyscallDesc *desc, int num, ThreadContext *tc) argument 869 pipeImpl(SyscallDesc *desc, int callnum, ThreadContext *tc, bool pseudo_pipe, bool is_pipe2) argument 966 pipePseudoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 972 pipeFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 978 pipe2Func(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 986 getpgrpFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 993 setpgidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1029 getpidPseudoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1042 getuidPseudoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1055 getgidPseudoFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1065 setuidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1075 getpidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1082 gettidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1089 getppidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1096 getuidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1103 geteuidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1110 getgidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1117 getegidFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1124 fallocateFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1150 accessFunc(SyscallDesc *desc, int callnum, ThreadContext *tc, int index) argument 1167 accessFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1173 mknodFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1190 chdirFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1218 rmdirFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1235 getdentsImpl(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1279 getdentsFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1294 getdents64Func(SyscallDesc *desc, int callnum, ThreadContext *tc) argument 1308 shutdownFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1326 bindFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1350 listenFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1368 connectFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1392 recvfromFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1457 sendtoFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1494 recvmsgFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1635 sendmsgFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1705 getsockoptFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1748 getsocknameFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1788 getpeernameFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument 1818 setsockoptFunc(SyscallDesc *desc, int num, ThreadContext *tc) argument [all...] |
/gem5/src/arch/alpha/ |
H A D | utility.hh | 53 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); 56 inUserMode(ThreadContext *tc) argument 58 return (tc->readMiscRegNoEffect(IPR_DTB_CM) & 0x18) != 0; 63 * @param tc The thread context. 66 void zeroRegisters(TC *tc); 70 inline void startupCPU(ThreadContext *tc, int cpuId) argument 71 { tc->activate(); } 98 void initIPRs(ThreadContext *tc, int cpuId); 99 void initCPU(ThreadContext *tc, int cpuId); 105 void skipFunction(ThreadContext *tc); 114 getExecutingAsid(ThreadContext *tc) argument [all...] |
H A D | stacktrace.hh | 47 ThreadContext *tc; member in class:AlphaISA::ProcessInfo 66 ThreadContext *tc; member in class:AlphaISA::StackTrace 75 void trace(ThreadContext *tc, bool is_call); 79 StackTrace(ThreadContext *tc, const StaticInstPtr &inst); 85 tc = 0; 89 bool valid() const { return tc != NULL; } 90 bool trace(ThreadContext *tc, const StaticInstPtr &inst); 114 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) argument 122 trace(tc, !inst->isReturn());
|
H A D | utility.cc | 41 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument 51 return tc->readFloatReg(16 + number); 53 return tc->readIntReg(16 + number); 55 Addr sp = tc->readIntReg(StackPointerReg); 56 PortProxy &vp = tc->getVirtProxy(); 101 skipFunction(ThreadContext *tc) argument 103 PCState newPC = tc->pcState(); 104 newPC.set(tc->readIntReg(ReturnAddressReg)); 105 tc->pcState(newPC);
|
/gem5/src/arch/sparc/ |
H A D | utility.hh | 55 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); 58 inUserMode(ThreadContext *tc) argument 60 PSTATE pstate = tc->readMiscRegNoEffect(MISCREG_PSTATE); 61 HPSTATE hpstate = tc->readMiscRegNoEffect(MISCREG_HPSTATE); 67 * @param tc The thread context. 70 void zeroRegisters(TC *tc); 72 void initCPU(ThreadContext *tc, int cpuId); 75 startupCPU(ThreadContext *tc, int cpuId) argument 79 tc->activate(); 86 void skipFunction(ThreadContext *tc); 95 getExecutingAsid(ThreadContext *tc) argument [all...] |
H A D | vtophys.hh | 43 Addr vtophys(ThreadContext *tc, Addr vaddr);
|
/gem5/src/arch/power/ |
H A D | utility.hh | 54 * @param tc The thread context. 57 void zeroRegisters(TC *tc); 60 startupCPU(ThreadContext *tc, int cpuId) argument 62 tc->activate(); 73 void skipFunction(ThreadContext *tc); 81 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); 84 inUserMode(ThreadContext *tc) argument 90 getExecutingAsid(ThreadContext *tc) argument
|
H A D | process.hh | 53 RegVal getSyscallArg(ThreadContext *tc, int &i); 56 void setSyscallArg(ThreadContext *tc, int i, RegVal val); 57 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
|
H A D | interrupts.hh | 85 checkInterrupts(ThreadContext *tc) const 91 getInterrupt(ThreadContext *tc) argument 93 assert(checkInterrupts(tc)); 98 updateIntrInfo(ThreadContext *tc) argument
|
/gem5/src/arch/alpha/freebsd/ |
H A D | system.cc | 72 FreebsdAlphaSystem::doCalibrateClocks(ThreadContext *tc) argument 77 ppc_vaddr = (Addr)tc->readIntReg(17); 78 timer_vaddr = (Addr)tc->readIntReg(18); 85 FreebsdAlphaSystem::SkipCalibrateClocksEvent::process(ThreadContext *tc) argument 87 SkipFuncEvent::process(tc); 88 ((FreebsdAlphaSystem *)tc->getSystemPtr())->doCalibrateClocks(tc);
|
/gem5/src/arch/arm/ |
H A D | utility.cc | 58 initCPU(ThreadContext *tc, int cpuId) argument 65 reset->invoke(tc); 69 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument 79 if (inAArch64(tc)) { 84 return tc->readIntReg(number); 102 tmp = tc->readIntReg(number++); 103 tmp |= tc->readIntReg(number) << 32; 106 return tc->readIntReg(number); 109 Addr sp = tc->readIntReg(StackPointerReg); 110 PortProxy &vp = tc 131 skipFunction(ThreadContext *tc) argument 196 inSecureState(ThreadContext *tc) argument 205 isSecureBelowEL3(ThreadContext *tc) argument 212 inAArch64(ThreadContext *tc) argument 219 longDescFormatInUse(ThreadContext *tc) argument 226 readMPIDR(ArmSystem *arm_sys, ThreadContext *tc) argument 254 getMPIDR(ArmSystem *arm_sys, ThreadContext *tc) argument 284 ELIs64(ThreadContext *tc, ExceptionLevel el) argument 290 ELIs32(ThreadContext *tc, ExceptionLevel el) argument 299 ELIsInHost(ThreadContext *tc, ExceptionLevel el) argument 310 ELUsingAArch32K(ThreadContext *tc, ExceptionLevel el) argument 355 isBigEndian64(ThreadContext *tc) argument 373 badMode32(ThreadContext *tc, OperatingMode mode) argument 379 badMode(ThreadContext *tc, OperatingMode mode) argument 385 purifyTaggedAddr(Addr addr, ThreadContext *tc, ExceptionLevel el, TTBCR tcr) argument 416 purifyTaggedAddr(Addr addr, ThreadContext *tc, ExceptionLevel el) argument 462 mcrMrc15TrapToHyp(const MiscRegIndex miscReg, ThreadContext *tc, uint32_t iss) argument 819 SPAlignmentCheckEnabled(ThreadContext* tc) argument [all...] |
H A D | faults.cc | 296 ArmFault::getVector(ThreadContext *tc) argument 301 CPSR cpsr = tc->readMiscRegNoEffect(MISCREG_CPSR); 302 assert(ArmSystem::haveSecurity(tc) || cpsr.mode != MODE_MON); 303 assert(ArmSystem::haveVirtualization(tc) || cpsr.mode != MODE_HYP); 308 base = tc->readMiscReg(MISCREG_MVBAR); 311 base = tc->readMiscReg(MISCREG_HVBAR); 314 SCTLR sctlr = tc->readMiscReg(MISCREG_SCTLR); 318 base = ArmSystem::haveSecurity(tc) ? 319 tc->readMiscReg(MISCREG_VBAR) : 0; 324 return base + offset(tc); 328 getVector64(ThreadContext *tc) argument 383 setSyndrome(ThreadContext *tc, MiscRegIndex syndrome_reg) argument 424 update(ThreadContext *tc) argument 474 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 619 invoke64(ThreadContext *tc, const StaticInstPtr &inst) argument 725 getVector(ThreadContext *tc) argument 743 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 771 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 839 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 934 offset(ThreadContext *tc) argument 954 offset64(ThreadContext *tc) argument 993 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 1049 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 1115 setSyndrome(ThreadContext *tc, MiscRegIndex syndrome_reg) argument 1177 abortDisable(ThreadContext *tc) argument 1422 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 1457 abortDisable(ThreadContext *tc) argument 1496 abortDisable(ThreadContext *tc) argument 1506 fiqDisable(ThreadContext *tc) argument 1521 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 1550 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument 1603 invoke(ThreadContext *tc, const StaticInstPtr &inst) argument [all...] |
H A D | stacktrace.hh | 47 ThreadContext *tc; member in class:ArmISA::ProcessInfo 68 ThreadContext *tc; member in class:ArmISA::StackTrace 77 void trace(ThreadContext *tc, bool is_call); 81 StackTrace(ThreadContext *tc, const StaticInstPtr &inst); 86 tc = 0; 90 bool valid() const { return tc != NULL; } 91 bool trace(ThreadContext *tc, const StaticInstPtr &inst); 109 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) argument 117 trace(tc, !inst->isReturn());
|
H A D | vtophys.cc | 68 try_translate(ThreadContext *tc, Addr addr) argument 83 tlb = static_cast<ArmISA::TLB*>(tc->getDTBPtr()); 84 fault = tlb->translateFunctional(req, tc, BaseTLB::Read, TLB::NormalTran); 88 tlb = static_cast<ArmISA::TLB*>(tc->getITBPtr()); 89 fault = tlb->translateFunctional(req, tc, BaseTLB::Read, TLB::NormalTran); 97 ArmISA::vtophys(ThreadContext *tc, Addr addr) argument 99 const std::pair<bool, Addr> translation(try_translate(tc, addr)); 108 ArmISA::virtvalid(ThreadContext *tc, Addr vaddr) argument 110 const std::pair<bool, Addr> translation(try_translate(tc, vaddr));
|
/gem5/src/arch/x86/ |
H A D | utility.hh | 59 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); 62 inUserMode(ThreadContext *tc) argument 67 HandyM5Reg m5reg = tc->readMiscRegNoEffect(MISCREG_M5_REG); 74 * @param tc The thread context. 77 void zeroRegisters(TC *tc); 79 void initCPU(ThreadContext *tc, int cpuId); 81 void startupCPU(ThreadContext *tc, int cpuId); 87 void skipFunction(ThreadContext *tc); 96 getExecutingAsid(ThreadContext *tc) argument 112 * @param tc Threa [all...] |
H A D | stacktrace.hh | 46 ThreadContext *tc; member in class:X86ISA::ProcessInfo 65 ThreadContext *tc; member in class:X86ISA::StackTrace 74 void trace(ThreadContext *tc, bool is_call); 78 StackTrace(ThreadContext *tc, const StaticInstPtr &inst); 83 tc = 0; 87 bool valid() const { return tc != NULL; } 88 bool trace(ThreadContext *tc, const StaticInstPtr &inst); 110 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) argument 118 trace(tc, !inst->isReturn());
|
H A D | vtophys.hh | 51 Addr vtophys(ThreadContext *tc, Addr vaddr);
|
/gem5/src/arch/generic/ |
H A D | tlb.cc | 40 GenericTLB::translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode) argument 45 Process * p = tc->getProcessPtr(); 55 GenericTLB::translateTiming(const RequestPtr &req, ThreadContext *tc, argument 59 translation->finish(translateAtomic(req, tc, mode), req, tc, mode); local 63 GenericTLB::finalizePhysical(const RequestPtr &req, ThreadContext *tc, argument
|
/gem5/src/cpu/ |
H A D | quiesce_event.hh | 43 ThreadContext *tc; member in class:EndQuiesceEvent
|
/gem5/src/kern/linux/ |
H A D | helpers.hh | 55 void dumpDmesg(ThreadContext *tc, std::ostream &os);
|
/gem5/src/kern/ |
H A D | operatingsystem.cc | 38 ThreadContext *tc) 37 openSpecialFile(std::string path, Process *process, ThreadContext *tc) argument
|