Searched refs:threadContexts (Results 1 - 25 of 26) sorted by relevance

12

/gem5/src/cpu/
H A Dintr_control.cc53 std::vector<ThreadContext *> &tcvec = sys->threadContexts;
62 std::vector<ThreadContext *> &tcvec = sys->threadContexts;
H A Dbase.cc443 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 Dbase.hh267 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 Dsystem.cc140 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 Dsystem.cc252 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 Dsystem.hh200 std::vector<ThreadContext *> threadContexts; member in class:System
205 return threadContexts[tid];
208 unsigned numContexts() const { return threadContexts.size(); }
H A Dsyscall_emul.cc119 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 Dprocess.cc253 for (auto &it : system->threadContexts) {
H A Dpseudo_inst.cc297 ThreadContext *other_tc = sys->threadContexts[cpuid];
/gem5/src/dev/mips/
H A Dmalta_cchip.cc108 uint64_t size = sys->threadContexts.size();
123 uint64_t size = sys->threadContexts.size();
/gem5/src/arch/x86/linux/
H A Dsystem.cc134 threadContexts[0]->setIntReg(INTREG_RSI, realModeData);
/gem5/src/arch/arm/linux/
H A Dsystem.cc211 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 Dsystem.cc159 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 Dbase.cc107 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 Datomic.cc72 int cid = threadContexts[0]->contextId();
156 assert(!threadContexts.empty());
642 ContextID cid = threadContexts[curThread]->contextId();
H A Dtiming.cc130 assert(!threadContexts.empty());
/gem5/src/dev/alpha/
H A Dtsunami_cchip.cc381 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 Diob.cc63 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 Dcpu.cc363 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 Dua2005.cc294 for (x = tc->contextId() & ~3; x < sys->threadContexts.size(); x++) {
295 switch (sys->threadContexts[x]->status()) {
H A Dtlb.cc1287 tc->getSystemPtr()->threadContexts[bits(data,12,8)]->getCpuPtr()->
/gem5/src/cpu/checker/
H A Dcpu.cc115 threadContexts.push_back(tc);
/gem5/src/cpu/minor/
H A Dcpu.cc70 threadContexts.push_back(tc);
/gem5/src/arch/x86/
H A Dsystem.cc117 ThreadContext *tc = threadContexts[0];
/gem5/src/cpu/kvm/
H A Dbase.cc98 threadContexts.push_back(tc);
495 assert(threadContexts.size() == 1);

Completed in 36 milliseconds

12