aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/cpu.c
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.c
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.c')
-rw-r--r--target/m68k/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c
index 5671067..5bbefda 100644
--- a/target/m68k/cpu.c
+++ b/target/m68k/cpu.c
@@ -158,6 +158,7 @@ static void m68020_cpu_initfn(Object *obj)
m68k_set_feature(env, M68K_FEATURE_CHK2);
m68k_set_feature(env, M68K_FEATURE_MSP);
m68k_set_feature(env, M68K_FEATURE_UNALIGNED_DATA);
+ m68k_set_feature(env, M68K_FEATURE_TRAPCC);
}
/*