mirror of https://github.com/xemu-project/xemu.git
target/tricore: Implement SYCSCALL insn
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1452 Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <20230614100039.1337971-8-kbastian@mail.uni-paderborn.de>
This commit is contained in:
parent
4e3377bb5a
commit
3b5d136db6
|
@ -5236,7 +5236,7 @@ static void decode_rc_serviceroutine(DisasContext *ctx)
|
|||
gen_helper_1arg(bisr, const9);
|
||||
break;
|
||||
case OPC2_32_RC_SYSCALL:
|
||||
/* TODO: Add exception generation */
|
||||
generate_trap(ctx, TRAPC_SYSCALL, const9 & 0xff);
|
||||
break;
|
||||
default:
|
||||
generate_trap(ctx, TRAPC_INSN_ERR, TIN2_IOPC);
|
||||
|
|
Loading…
Reference in New Issue