summaryrefslogtreecommitdiff
path: root/dev/simple_disk.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/simple_disk.hh')
-rw-r--r--dev/simple_disk.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev/simple_disk.hh b/dev/simple_disk.hh
index 3031cdb8b..633acba0d 100644
--- a/dev/simple_disk.hh
+++ b/dev/simple_disk.hh
@@ -30,13 +30,14 @@
* Simple disk interface for the system console
*/
-#ifndef __SIMPLE_DISK_HH__
-#define __SIMPLE_DISK_HH__
+#ifndef __DEV_SIMPLE_DISK_HH__
+#define __DEV_SIMPLE_DISK_HH__
-#include "mem/functional_mem/physical_memory.hh"
#include "sim/sim_object.hh"
+#include "targetarch/isa_traits.hh"
class DiskImage;
+class PhysicalMemory;
/*
* Trivial interface to a disk image used by the System Console
@@ -57,4 +58,5 @@ public:
void read(Addr addr, baddr_t block, int count) const;
void write(Addr addr, baddr_t block, int count);
};
-#endif // __SIMPLE_DISK_HH__
+
+#endif // __DEV_SIMPLE_DISK_HH__