diff options
Diffstat (limited to 'qtmips_machine/qtmipsexception.h')
-rw-r--r-- | qtmips_machine/qtmipsexception.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtmips_machine/qtmipsexception.h b/qtmips_machine/qtmipsexception.h index b81f748..cfab81a 100644 --- a/qtmips_machine/qtmipsexception.h +++ b/qtmips_machine/qtmipsexception.h @@ -59,6 +59,14 @@ public: QtMipsExceptionUnalignedJump(QTMIPS_ARGS_COMMON); }; +// Used unknown MemoryAccess control value (write_ctl or read_ctl) +// This can be raised by invalid instruction but in such case we shoul raise UnknownInstruction instead +// So this should signal jsut some QtMips bug. +class QtMipsExceptionUnknownMemoryControl : public QtMipsExceptionRuntime { +public: + QtMipsExceptionUnknownMemoryControl(QTMIPS_ARGS_COMMON); +}; + // Trying to access address outside of the memory // As we are simulating whole 32bit memory address space then this is most probably QtMips bug if raised not program. class QtMipsExceptionOutOfMemoryAccess : public QtMipsExceptionRuntime { |