Remove function that should have been deleted.
authorKevin Lim <ktlim@umich.edu>
Thu, 2 Nov 2006 18:12:36 +0000 (13:12 -0500)
committerKevin Lim <ktlim@umich.edu>
Thu, 2 Nov 2006 18:12:36 +0000 (13:12 -0500)
src/cpu/simple_thread.cc:
    This function should have been deleted from an earlier push.
src/cpu/simple_thread.hh:
    Delete this function; it's now in thread_state.hh/.cc.

--HG--
extra : convert_revision : f78dcf9c2b388418030d48d0ea4911c8b8b1f5ff

src/cpu/simple_thread.cc
src/cpu/simple_thread.hh

index c89a13eef30445ff8529ccd2b5cb3f41839e12b1..28d8bdf62b789cabde38e6392016cd0ecaee7a1e 100644 (file)
@@ -323,25 +323,5 @@ SimpleThread::delVirtPort(VirtualPort *vp)
     }
 }
 
-#else
-TranslatingPort *
-SimpleThread::getMemPort()
-{
-    if (port != NULL)
-        return port;
-
-    /* Use this port to for syscall emulation writes to memory. */
-    Port *dcache_port;
-    port = new TranslatingPort(csprintf("%s-%d-funcport",
-                                        cpu->name(), tid),
-                               process->pTable, false);
-    dcache_port = cpu->getPort("dcache_port");
-    assert(dcache_port != NULL);
-    dcache_port = dcache_port->getPeer();
-//    mem_port->setPeer(port);
-    port->setPeer(dcache_port);
-    return port;
-}
-
 #endif
 
index f002cbdceb33caa07f991d6306db796f66ae861c..20001063a7d3ec36264fddcaeb79a760932bed30 100644 (file)
@@ -173,8 +173,6 @@ class SimpleThread : public ThreadState
 
     bool simPalCheck(int palFunc);
 #else
-    // Override this function.
-    TranslatingPort *getMemPort();
 
     Fault translateInstReq(RequestPtr &req)
     {