mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
target/m68k: Perform the semihosting test during translate
Replace EXCP_HALT_INSN by EXCP_SEMIHOSTING. Perform the pre- and post-insn tests during translate, leaving only the actual semihosting operation for the exception. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5fae5110ee
commit
f161e723fd
3 changed files with 44 additions and 17 deletions
|
@ -66,7 +66,7 @@
|
|||
#define EXCP_MMU_ACCESS 58 /* MMU Access Level Violation Error */
|
||||
|
||||
#define EXCP_RTE 0x100
|
||||
#define EXCP_HALT_INSN 0x101
|
||||
#define EXCP_SEMIHOSTING 0x101
|
||||
|
||||
#define M68K_DTTR0 0
|
||||
#define M68K_DTTR1 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue