X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsim%2Fvptr.hh;h=eee575b6b6a2a0af39fc846dcb72d89dac1f1155;hb=0ed3c84c7b05d7d3c9d5f0e3f1c05c20afef93b9;hp=09aa2d2139f2c208f28e10d7b74bf1402bcf2a78;hpb=a4a7a09e9622d6ad1ca91a4df253b9768c73de90;p=gem5.git diff --git a/src/sim/vptr.hh b/src/sim/vptr.hh index 09aa2d213..eee575b6b 100644 --- a/src/sim/vptr.hh +++ b/src/sim/vptr.hh @@ -31,9 +31,9 @@ #ifndef __ARCH_ALPHA_VPTR_HH__ #define __ARCH_ALPHA_VPTR_HH__ -#include "arch/vtophys.hh" #include "arch/isa_traits.hh" -#include "mem/vport.hh" +#include "arch/vtophys.hh" +#include "mem/fs_translating_port_proxy.hh" class ThreadContext; @@ -71,8 +71,8 @@ class VPtr if (!ptr) return; - VirtualPort *port = tc->getVirtPort(); - port->readBlob(ptr, buffer, sizeof(T)); + FSTranslatingPortProxy* proxy = tc->getVirtProxy(); + proxy->readBlob(ptr, buffer, sizeof(T)); } bool