aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-01 18:33:54 -0700
committerLaurent Vivier <laurent@vivier.eu>2022-06-02 09:35:02 +0200
commitaeeb90afcec3e18254bc6ac9c511f3b0a1a3796c (patch)
treea882af4d8e88ed8d9e25d3d8f06b2522a3ad71ba /target/m68k/cpu.h
parenta1aedd6cbdec67c1d47d961144285f4b95af5fc0 (diff)
downloadqemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.zip
qemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.tar.gz
qemu-aeeb90afcec3e18254bc6ac9c511f3b0a1a3796c.tar.bz2
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 558c3c6..4d8f48e 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)