Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bkoppelmann committed Jun 21, 2023
1 parent 4e3377b commit 3b5d136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/tricore/translate.c
Expand Up @@ -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);
Expand Down

0 comments on commit 3b5d136

Please sign in to comment.