diff options
author | Karel Kočí <cynerd@email.cz> | 2017-12-12 21:19:08 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-12-12 21:19:26 +0100 |
commit | ee64b00aa89f1ab4963607468dd42d77d7ef3f76 (patch) | |
tree | 02bffd21edc305355a97afa83552bd2ddbc4ceef /qtmips_machine/qtmipsexception.h | |
parent | 1972096df3d235d525bcf761ecb460ba952c0ba9 (diff) | |
download | qtmips-ee64b00aa89f1ab4963607468dd42d77d7ef3f76.tar.gz qtmips-ee64b00aa89f1ab4963607468dd42d77d7ef3f76.tar.bz2 qtmips-ee64b00aa89f1ab4963607468dd42d77d7ef3f76.zip |
Add missing exception definition
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 { |