aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-06 14:42:49 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-06 14:42:49 +0100
commit608eed5c16366cae251f5d12ad1ed0b988b3ce46 (patch)
treebc338c8bee507c2a29b215b3c5f172c86f790933 /qtmips_machine/qtmipsmachine.h
parentc27a1e6354c04904345855e1d28b0e711efa1575 (diff)
downloadqtmips-608eed5c16366cae251f5d12ad1ed0b988b3ce46.tar.gz
qtmips-608eed5c16366cae251f5d12ad1ed0b988b3ce46.tar.bz2
qtmips-608eed5c16366cae251f5d12ad1ed0b988b3ce46.zip
Implement simple address-space ranges registration and example peripheral.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r--qtmips_machine/qtmipsmachine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h
index a3ecea7..fd7dadf 100644
--- a/qtmips_machine/qtmipsmachine.h
+++ b/qtmips_machine/qtmipsmachine.h
@@ -45,6 +45,8 @@
#include <memory.h>
#include <core.h>
#include <cache.h>
+#include <physaddrspace.h>
+#include <peripheral.h>
namespace machine {
@@ -92,6 +94,7 @@ private:
Registers *regs;
Memory *mem, *mem_program_only;
+ PhysAddrSpace *physaddrspace;
Cache *cch_program, *cch_data;
Core *cr;