Searched refs:threadContexts (Results 1 - 25 of 26) sorted by relevance
12
/gem5/src/cpu/ |
H A D | intr_control.cc | 53 std::vector<ThreadContext *> &tcvec = sys->threadContexts; 62 std::vector<ThreadContext *> &tcvec = sys->threadContexts;
|
H A D | base.cc | 443 int size = threadContexts.size(); 448 threadContexts[i]->regStats(namestr.str()); 451 threadContexts[0]->regStats(name()); 473 ThreadID size = threadContexts.size(); 475 ThreadContext *tc = threadContexts[tid]; 499 for (auto tc : threadContexts) { 516 ThreadID size = threadContexts.size(); 518 if (tc == threadContexts[tid]) 540 for (auto t : threadContexts) { 591 assert(threadContexts [all...] |
H A D | base.hh | 267 std::vector<ThreadContext *> threadContexts; variable 298 virtual ThreadContext *getContext(int tn) { return threadContexts[tn]; } 302 return static_cast<unsigned>(threadContexts.size()); 307 { return static_cast<ThreadID>(cid - threadContexts[0]->contextId()); } 541 * ProbePoint that signals transitions of threadContexts sets. 546 * remaining threadContexts are disabled.
|
/gem5/src/arch/arm/freebsd/ |
H A D | system.cc | 140 for (int i = 0; i < threadContexts.size(); i++) { 141 threadContexts[i]->setIntReg(0, 0); 142 threadContexts[i]->setIntReg(1, params()->machine_type); 143 threadContexts[i]->setIntReg(2, params()->atags_addr + loadAddrOffset);
|
/gem5/src/sim/ |
H A D | system.cc | 252 while (id < threadContexts.size() && threadContexts[id]) 256 if (threadContexts.size() <= id) 257 threadContexts.resize(id + 1); 259 fatal_if(threadContexts[id], 262 threadContexts[id] = tc; 294 threadContexts.cbegin(), 295 threadContexts.cend(), 307 for (int i = 0; i < threadContexts.size(); i++) 308 TheISA::startupCPU(threadContexts[ [all...] |
H A D | system.hh | 200 std::vector<ThreadContext *> threadContexts; member in class:System 205 return threadContexts[tid]; 208 unsigned numContexts() const { return threadContexts.size(); }
|
H A D | syscall_emul.cc | 119 if (!(walk = sys->threadContexts[i]->getProcessPtr())) 131 if ((sys->threadContexts[i]->status() != ThreadContext::Halted) && 132 (sys->threadContexts[i]->status() != ThreadContext::Halting) && 154 sys->threadContexts[i]->halt(); 1013 if (sysh->threadContexts[i]->status() != ThreadContext::Halted) { 1014 Process *temp_h = sysh->threadContexts[i]->getProcessPtr();
|
H A D | process.cc | 253 for (auto &it : system->threadContexts) {
|
H A D | pseudo_inst.cc | 297 ThreadContext *other_tc = sys->threadContexts[cpuid];
|
/gem5/src/dev/mips/ |
H A D | malta_cchip.cc | 108 uint64_t size = sys->threadContexts.size(); 123 uint64_t size = sys->threadContexts.size();
|
/gem5/src/arch/x86/linux/ |
H A D | system.cc | 134 threadContexts[0]->setIntReg(INTREG_RSI, realModeData);
|
/gem5/src/arch/arm/linux/ |
H A D | system.cc | 211 for (int i = 0; i < threadContexts.size(); i++) { 212 threadContexts[i]->setIntReg(0, 0); 213 threadContexts[i]->setIntReg(1, params()->machine_type); 214 threadContexts[i]->setIntReg(2, params()->atags_addr + loadAddrOffset); 253 for (const auto tc : threadContexts) {
|
/gem5/src/arch/arm/ |
H A D | system.cc | 159 for (int i = 0; i < threadContexts.size(); i++) { 161 threadContexts[i]->setIntReg(3, (kernelEntry & loadAddrMask) + 164 threadContexts[i]->setIntReg(4, params()->gic_cpu_addr); 165 threadContexts[i]->setIntReg(5, params()->flags_addr); 172 threadContexts[0]->pcState((kernelEntry & loadAddrMask) +
|
/gem5/src/cpu/simple/ |
H A D | base.cc | 107 threadContexts.push_back(tc); 118 ThreadContext *cpu_tc = threadContexts[0]; 119 threadContexts[0] = new CheckerThreadContext<ThreadContext>(cpu_tc, this->checker); 130 for (auto tc : threadContexts) { 147 system->pcEventQueue.service(threadContexts[curThread]); 434 return vtophys(threadContexts[curThread], addr); 587 TheISA::PCState pc = threadContexts[curThread]->pcState(); 590 bool usermode = TheISA::inUserMode(threadContexts[curThread]); 592 ProfileNode *node = thread->profile->consume(threadContexts[curThread], 608 CPA::cpa()->swAutoBegin(threadContexts[curThrea [all...] |
H A D | atomic.cc | 72 int cid = threadContexts[0]->contextId(); 156 assert(!threadContexts.empty()); 642 ContextID cid = threadContexts[curThread]->contextId();
|
H A D | timing.cc | 130 assert(!threadContexts.empty());
|
/gem5/src/dev/alpha/ |
H A D | tsunami_cchip.cc | 381 int numcpus = sys->threadContexts.size(); 407 int numcpus = sys->threadContexts.size(); 427 int numcpus = sys->threadContexts.size(); 454 int size = sys->threadContexts.size(); 472 uint64_t size = sys->threadContexts.size(); 490 uint64_t size = sys->threadContexts.size();
|
/gem5/src/dev/sparc/ |
H A D | iob.cc | 63 assert (params()->system->threadContexts.size() <= MaxNiagaraProcs); 294 por->invoke(sys->threadContexts[cpu_id]); 295 sys->threadContexts[cpu_id]->activate(); 299 sys->threadContexts[cpu_id]->halt(); 303 sys->threadContexts[cpu_id]->activate();
|
/gem5/src/cpu/o3/ |
H A D | cpu.cc | 363 this->threadContexts.push_back(tc); 604 ThreadContext *src_tc = threadContexts[tid]; 622 isa[tid]->startup(threadContexts[tid]); 779 src_tc = system->threadContexts[tid]; 890 return this->interrupts[0]->getInterrupt(this->threadContexts[0]); 904 this->interrupts[0]->updateIntrInfo(this->threadContexts[0]); 916 fault->invoke(this->threadContexts[tid], inst); 978 for (auto t : threadContexts) { 1729 this->threadContexts[tid]->activate();
|
/gem5/src/arch/sparc/ |
H A D | ua2005.cc | 294 for (x = tc->contextId() & ~3; x < sys->threadContexts.size(); x++) { 295 switch (sys->threadContexts[x]->status()) {
|
H A D | tlb.cc | 1287 tc->getSystemPtr()->threadContexts[bits(data,12,8)]->getCpuPtr()->
|
/gem5/src/cpu/checker/ |
H A D | cpu.cc | 115 threadContexts.push_back(tc);
|
/gem5/src/cpu/minor/ |
H A D | cpu.cc | 70 threadContexts.push_back(tc);
|
/gem5/src/arch/x86/ |
H A D | system.cc | 117 ThreadContext *tc = threadContexts[0];
|
/gem5/src/cpu/kvm/ |
H A D | base.cc | 98 threadContexts.push_back(tc); 495 assert(threadContexts.size() == 1);
|
Completed in 36 milliseconds
12