o3: get rid of unused physmem pointer
This commit is contained in:
@@ -200,7 +200,6 @@ FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params)
|
||||
globalSeqNum(1),
|
||||
#if FULL_SYSTEM
|
||||
system(params->system),
|
||||
physmem(system->physmem),
|
||||
#endif // FULL_SYSTEM
|
||||
drainCount(0),
|
||||
deferRegistration(params->defer_registration)
|
||||
|
||||
@@ -669,9 +669,6 @@ class FullO3CPU : public BaseO3CPU
|
||||
#if FULL_SYSTEM
|
||||
/** Pointer to the system. */
|
||||
System *system;
|
||||
|
||||
/** Pointer to physical memory. */
|
||||
PhysicalMemory *physmem;
|
||||
#endif
|
||||
|
||||
/** Event to call process() on once draining has completed. */
|
||||
|
||||
@@ -91,9 +91,6 @@ class O3ThreadContext : public ThreadContext
|
||||
virtual System *getSystemPtr() { return cpu->system; }
|
||||
|
||||
#if FULL_SYSTEM
|
||||
/** Returns a pointer to physical memory. */
|
||||
virtual PhysicalMemory *getPhysMemPtr() { return cpu->physmem; }
|
||||
|
||||
/** Returns a pointer to this thread's kernel statistics. */
|
||||
virtual TheISA::Kernel::Statistics *getKernelStats()
|
||||
{ return thread->kernelStats; }
|
||||
|
||||
Reference in New Issue
Block a user