changeset c79d72abdbe5 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=c79d72abdbe5
description:
        o3: get rid of unused physmem pointer

diffstat:

3 files changed, 7 deletions(-)
src/cpu/o3/cpu.cc            |    1 -
src/cpu/o3/cpu.hh            |    3 ---
src/cpu/o3/thread_context.hh |    3 ---

diffs (37 lines):

diff -r 9c3577d9704a -r c79d72abdbe5 src/cpu/o3/cpu.cc
--- a/src/cpu/o3/cpu.cc Wed Nov 04 14:23:24 2009 -0800
+++ b/src/cpu/o3/cpu.cc Wed Nov 04 14:23:25 2009 -0800
@@ -200,7 +200,6 @@
       globalSeqNum(1),
 #if FULL_SYSTEM
       system(params->system),
-      physmem(system->physmem),
 #endif // FULL_SYSTEM
       drainCount(0),
       deferRegistration(params->defer_registration)
diff -r 9c3577d9704a -r c79d72abdbe5 src/cpu/o3/cpu.hh
--- a/src/cpu/o3/cpu.hh Wed Nov 04 14:23:24 2009 -0800
+++ b/src/cpu/o3/cpu.hh Wed Nov 04 14:23:25 2009 -0800
@@ -669,9 +669,6 @@
 #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. */
diff -r 9c3577d9704a -r c79d72abdbe5 src/cpu/o3/thread_context.hh
--- a/src/cpu/o3/thread_context.hh      Wed Nov 04 14:23:24 2009 -0800
+++ b/src/cpu/o3/thread_context.hh      Wed Nov 04 14:23:25 2009 -0800
@@ -91,9 +91,6 @@
     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; }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to