summaryrefslogtreecommitdiff
path: root/base/loader/object_file.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/loader/object_file.hh')
-rw-r--r--base/loader/object_file.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/loader/object_file.hh b/base/loader/object_file.hh
index 091e5493c..1d750e341 100644
--- a/base/loader/object_file.hh
+++ b/base/loader/object_file.hh
@@ -31,7 +31,7 @@
#include "targetarch/isa_traits.hh" // for Addr
-class Memory;
+class TranslatingPort;
class SymbolTable;
class ObjectFile
@@ -67,7 +67,7 @@ class ObjectFile
void close();
- virtual bool loadSections(Memory *mem, bool loadPhys = false) = 0;
+ virtual bool loadSections(TranslatingPort *memPort, bool loadPhys = false) = 0;
virtual bool loadGlobalSymbols(SymbolTable *symtab) = 0;
virtual bool loadLocalSymbols(SymbolTable *symtab) = 0;