summaryrefslogtreecommitdiffstats
path: root/target/m68k/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2022-06-02 03:33:54 +0200
committerLaurent Vivier2022-06-02 09:35:02 +0200
commitaeeb90afcec3e18254bc6ac9c511f3b0a1a3796c (patch)
treea882af4d8e88ed8d9e25d3d8f06b2522a3ad71ba /target/m68k/cpu.h
parenttarget/m68k: Fix stack frame for EXCP_ILLEGAL (diff)
downloadqemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.tar.gz
qemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.tar.xz
qemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.zip
target/m68k: Implement TRAPcc
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/754 Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220602013401.303699-11-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r--target/m68k/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h
index 558c3c67d6..4d8f48e8c7 100644
--- a/target/m68k/cpu.h
+++ b/target/m68k/cpu.h
@@ -534,6 +534,8 @@ enum m68k_features {
M68K_FEATURE_MOVEC,
/* Unaligned data accesses (680[2346]0) */
M68K_FEATURE_UNALIGNED_DATA,
+ /* TRAPcc insn. (680[2346]0, and CPU32) */
+ M68K_FEATURE_TRAPCC,
};
static inline int m68k_feature(CPUM68KState *env, int feature)