]> git.proxmox.com Git - mirror_qemu.git/commit
target/mips: Create report_fault for semihosting
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 28 Jun 2022 11:16:54 +0000 (16:46 +0530)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 12 Jul 2022 20:31:42 +0000 (22:31 +0200)
commitd53a3ed44605f7f070add30729e93bc7971ff6b1
treea5d735af84e42eedbc924b9dccd27b8c0bf8339e
parent9a6046a655626b146b619baec5b39cb3d6e28221
target/mips: Create report_fault for semihosting

The UHI specification does not have an EFAULT value,
and further specifies that "undefined UHI operations
should not return control to the target".

So, log the error and abort.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220628111701.677216-2-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/mips/tcg/sysemu/mips-semi.c