sim-se: Add prlimit system call
[gem5.git] / src / sim / vptr.hh
index eee575b6b6a2a0af39fc846dcb72d89dac1f1155..6eefd59373c1f04ba5de87d53e8f354e08a440e4 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef __ARCH_ALPHA_VPTR_HH__
 #define __ARCH_ALPHA_VPTR_HH__
 
-#include "arch/isa_traits.hh"
-#include "arch/vtophys.hh"
 #include "mem/fs_translating_port_proxy.hh"
 
 class ThreadContext;
@@ -71,8 +69,8 @@ class VPtr
         if (!ptr)
             return;
 
-        FSTranslatingPortProxyproxy = tc->getVirtProxy();
-        proxy->readBlob(ptr, buffer, sizeof(T));
+        FSTranslatingPortProxy &proxy = tc->getVirtProxy();
+        proxy.readBlob(ptr, buffer, sizeof(T));
     }
 
     bool