o3: get rid of unused physmem pointer
authorSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 4 Nov 2009 22:23:25 +0000 (14:23 -0800)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 4 Nov 2009 22:23:25 +0000 (14:23 -0800)
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/o3/thread_context.hh

index de1e242019b81fb3f75561d7369693ecac9dde0f..2a4e0176a62c58614e8115c5af02fcf55453eae9 100644 (file)
@@ -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)
index 65170d8b2f82792fef348f55c33b91124c96805a..2ea91898343b991e0c6160f3ef2b098f7b9e2d88 100644 (file)
@@ -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. */
index 695b3b91a600a1e9d95f529b7e2755f64d20c34d..78b2660146c99b2309496d34187bf6584948af49 100755 (executable)
@@ -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; }