Get rid of the unused get(Data|Inst)Asid and (inst|data)Asid functions.
This commit is contained in:
@@ -207,12 +207,12 @@ InOrderCPU::InOrderCPU(Params *params)
|
||||
DPRINTF(InOrderCPU, "Workload[%i] process is %#x\n",
|
||||
tid, this->thread[tid]);
|
||||
this->thread[tid] =
|
||||
new Thread(this, tid, params->workload[tid], tid);
|
||||
new Thread(this, tid, params->workload[tid]);
|
||||
} else {
|
||||
//Allocate Empty thread so M5 can use later
|
||||
//when scheduling threads to CPU
|
||||
Process* dummy_proc = params->workload[0];
|
||||
this->thread[tid] = new Thread(this, tid, dummy_proc, tid);
|
||||
this->thread[tid] = new Thread(this, tid, dummy_proc);
|
||||
}
|
||||
|
||||
// Setup the TC that will serve as the interface to the threads/CPU.
|
||||
|
||||
@@ -395,14 +395,6 @@ class InOrderCPU : public BaseCPU
|
||||
return cpuEventNum++;
|
||||
}
|
||||
|
||||
/** Get instruction asid. */
|
||||
int getInstAsid(ThreadID tid)
|
||||
{ return thread[tid]->getInstAsid(); }
|
||||
|
||||
/** Get data asid. */
|
||||
int getDataAsid(ThreadID tid)
|
||||
{ return thread[tid]->getDataAsid(); }
|
||||
|
||||
/** Register file accessors */
|
||||
uint64_t readIntReg(int reg_idx, ThreadID tid);
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@ class InOrderThreadState : public ThreadState {
|
||||
|
||||
|
||||
InOrderThreadState(InOrderCPU *_cpu, ThreadID _thread_num,
|
||||
Process *_process, int _asid)
|
||||
Process *_process)
|
||||
: ThreadState(reinterpret_cast<BaseCPU*>(_cpu), 0/*_thread_num*/,
|
||||
_process, 0/*_asid*/),
|
||||
_process),
|
||||
cpu(_cpu), inSyscall(0), trapPending(0)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user