aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/qtmipsmachine.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-12 16:18:58 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-12 16:18:58 +0100
commitdf292aade4d174a7a5824f463b3a1dccf20e6c54 (patch)
tree85d26d5a0d5101f5caae6dcde20b515f98bcbb06 /qtmips_machine/qtmipsmachine.h
parentfc27072b451dd8385401fadf198db69b0e87c72c (diff)
downloadqtmips-df292aade4d174a7a5824f463b3a1dccf20e6c54.tar.gz
qtmips-df292aade4d174a7a5824f463b3a1dccf20e6c54.tar.bz2
qtmips-df292aade4d174a7a5824f463b3a1dccf20e6c54.zip
Make memory and program listing editable.
Instruction parsing is rough and does not support branch offset computation. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/qtmipsmachine.h')
-rw-r--r--qtmips_machine/qtmipsmachine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsmachine.h b/qtmips_machine/qtmipsmachine.h
index 22ba0f9..4ad39c5 100644
--- a/qtmips_machine/qtmipsmachine.h
+++ b/qtmips_machine/qtmipsmachine.h
@@ -61,8 +61,10 @@ public:
const Registers *registers();
const Memory *memory();
+ Memory *memory_rw();
const Cache *cache_program();
const Cache *cache_data();
+ Cache *cache_data_rw();
const Core *core();
const CoreSingle *core_singe();
const CorePipelined *core_pipelined();