summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000/m68kcpu.h
diff options
context:
space:
mode:
author Sven Schnelle <svens@stackframe.org>2018-10-07 11:04:10 +0200
committer Sven Schnelle <svens@stackframe.org>2018-10-07 11:04:46 +0200
commitd027ffafd6c25e07e6c222f7ec511bdbfabdd8dd (patch)
treeba3cd0721c06adc25be0fb81400a5f7d99e60474 /src/devices/cpu/m68000/m68kcpu.h
parentbe699d51979f6c280804323958ee412e3645d80d (diff)
m68k: throw mmu configuration exception if SRP/CRP is invalid
Diffstat (limited to 'src/devices/cpu/m68000/m68kcpu.h')
-rw-r--r--src/devices/cpu/m68000/m68kcpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.h b/src/devices/cpu/m68000/m68kcpu.h
index adb45a04c78..9759294f8f6 100644
--- a/src/devices/cpu/m68000/m68kcpu.h
+++ b/src/devices/cpu/m68000/m68kcpu.h
@@ -55,6 +55,7 @@ static constexpr int EXCEPTION_UNINITIALIZED_INTERRUPT = 15;
static constexpr int EXCEPTION_SPURIOUS_INTERRUPT = 24;
static constexpr int EXCEPTION_INTERRUPT_AUTOVECTOR = 24;
static constexpr int EXCEPTION_TRAP_BASE = 32;
+static constexpr int EXCEPTION_MMU_CONFIGURATION = 56; // only on 020/030
/* Function codes set by CPU during data/address bus activity */
static constexpr int FUNCTION_CODE_USER_DATA = 1;