mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 11:31:00 +00:00
target/i386: Renumber EXCP_SYSCALL
We are not short of numbers for EXCP_*. There is no need to confuse things by having EXCP_VMEXIT and EXCP_SYSCALL overlap, even though the former is only used for system mode and the latter is only used for user mode. Backports commit 628460891dd46c25e33eec01757ac655679ea198 from qemu
This commit is contained in:
parent
f8891928eb
commit
5ac51ff092
|
@ -947,9 +947,8 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
|
|||
#define EXCP11_ALGN 17
|
||||
#define EXCP12_MCHK 18
|
||||
|
||||
#define EXCP_SYSCALL 0x100 /* only happens in user only emulation
|
||||
for syscall instruction */
|
||||
#define EXCP_VMEXIT 0x100
|
||||
#define EXCP_VMEXIT 0x100 /* only for system emulation */
|
||||
#define EXCP_SYSCALL 0x101 /* only for user emulation */
|
||||
|
||||
/* i386-specific interrupt pending bits. */
|
||||
#define CPU_INTERRUPT_POLL CPU_INTERRUPT_TGT_EXT_1
|
||||
|
|
Loading…
Reference in a new issue