diff options
author | Richard Henderson <rth@twiddle.net> | 2011-05-04 13:34:30 -0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-05-08 16:55:23 +0000 |
commit | 00a152b48b0b7d9d77842511afcf59b5f25ec554 (patch) | |
tree | e625c6703bbdb3b23e64acb58b189d34280fc32c /target-i386 | |
parent | 403946c009cc7fd8a8aa719236801ed12121f8fd (diff) | |
download | qemu-00a152b48b0b7d9d77842511afcf59b5f25ec554.zip qemu-00a152b48b0b7d9d77842511afcf59b5f25ec554.tar.gz qemu-00a152b48b0b7d9d77842511afcf59b5f25ec554.tar.bz2 |
target-i386: Privatize some i386-specific interrupt names.
SMI, VIRQ, INIT, SIPI, and MCE are all only used by the i386 port.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index c7047d5..1fc421f 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -466,6 +466,14 @@ #define EXCP_SYSCALL 0x100 /* only happens in user only emulation for syscall instruction */ +/* i386-specific interrupt pending bits. */ +#define CPU_INTERRUPT_SMI CPU_INTERRUPT_TGT_EXT_2 +#define CPU_INTERRUPT_MCE CPU_INTERRUPT_TGT_EXT_4 +#define CPU_INTERRUPT_VIRQ CPU_INTERRUPT_TGT_INT_0 +#define CPU_INTERRUPT_INIT CPU_INTERRUPT_TGT_INT_1 +#define CPU_INTERRUPT_SIPI CPU_INTERRUPT_TGT_INT_2 + + enum { CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */ CC_OP_EFLAGS, /* all cc are explicitly computed, CC_SRC = flags */ |