summaryrefslogtreecommitdiff
path: root/src/mem/se_translating_port_proxy.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/se_translating_port_proxy.hh')
-rw-r--r--src/mem/se_translating_port_proxy.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/se_translating_port_proxy.hh b/src/mem/se_translating_port_proxy.hh
index bb823a75b..5ac6b5286 100644
--- a/src/mem/se_translating_port_proxy.hh
+++ b/src/mem/se_translating_port_proxy.hh
@@ -83,6 +83,8 @@ class SETranslatingPortProxy : public PortProxy
SETranslatingPortProxy(MasterPort& port, Process* p, AllocType alloc);
virtual ~SETranslatingPortProxy();
+ void setPageTable(PageTableBase *p) { pTable = p; }
+ void setProcess(Process *p) { process = p; }
bool tryReadBlob(Addr addr, uint8_t *p, int size) const;
bool tryWriteBlob(Addr addr, const uint8_t *p, int size) const;
bool tryMemsetBlob(Addr addr, uint8_t val, int size) const;