mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/mips: Use an exception for semihosting
Within do_interrupt, we hold the iothread lock, which is required for Chardev access for the console, and for the round trip for use_gdb_syscalls(). Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a638af09b6
commit
8ec7e3c53d
10 changed files with 19 additions and 21 deletions
|
@ -1252,8 +1252,9 @@ enum {
|
|||
EXCP_MSAFPE,
|
||||
EXCP_TLBXI,
|
||||
EXCP_TLBRI,
|
||||
EXCP_SEMIHOST,
|
||||
|
||||
EXCP_LAST = EXCP_TLBRI,
|
||||
EXCP_LAST = EXCP_SEMIHOST,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue