diff options
author | Laurent Vivier | 2018-10-30 17:55:54 +0100 |
---|---|---|
committer | Laurent Vivier | 2018-11-01 12:12:24 +0100 |
commit | b9f8e55bf7e994e192ab7360830731580384b813 (patch) | |
tree | f11f0b9556bf80a7fe3132f5202ccab8bdf90855 /target/m68k/cpu.h | |
parent | Merge remote-tracking branch 'remotes/xtensa/tags/20181030-xtensa' into staging (diff) | |
download | qemu-b9f8e55bf7e994e192ab7360830731580384b813.tar.gz qemu-b9f8e55bf7e994e192ab7360830731580384b813.tar.xz qemu-b9f8e55bf7e994e192ab7360830731580384b813.zip |
target/m68k: use EXCP_ILLEGAL instead of EXCP_UNSUPPORTED
Coldfire defines an "Unsupported instruction" exception if execution
of a valid instruction is attempted but the required hardware is not
present in the processor.
We use it with instructions that are in fact undefined or illegal,
and the exception expected in this case by the kernel is the
illegal exception, so this patch fixes that.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20181030165554.5761-1-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r-- | target/m68k/cpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h index c63adf772f..b288a3864e 100644 --- a/target/m68k/cpu.h +++ b/target/m68k/cpu.h @@ -70,7 +70,6 @@ #define EXCP_MMU_CONF 56 /* MMU Configuration Error */ #define EXCP_MMU_ILLEGAL 57 /* MMU Illegal Operation Error */ #define EXCP_MMU_ACCESS 58 /* MMU Access Level Violation Error */ -#define EXCP_UNSUPPORTED 61 #define EXCP_RTE 0x100 #define EXCP_HALT_INSN 0x101 |