diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 13:45:21 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 13:45:21 -0700 |
commit | ec9d3aad71ec75b3f7b5ea96dd41f067a9261392 (patch) | |
tree | ace8a36db527092dc6bcde234aad5d85c1e20c17 /src/arch/x86/intmessage.hh | |
parent | 876f4845f258ed09d348135d8af8cf4a17de1b8a (diff) | |
download | gem5-ec9d3aad71ec75b3f7b5ea96dd41f067a9261392.tar.xz |
X86: Make the local APIC process interrupts and send them to the CPU.
Diffstat (limited to 'src/arch/x86/intmessage.hh')
-rw-r--r-- | src/arch/x86/intmessage.hh | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/arch/x86/intmessage.hh b/src/arch/x86/intmessage.hh index a018a997b..6a5b3aa30 100644 --- a/src/arch/x86/intmessage.hh +++ b/src/arch/x86/intmessage.hh @@ -66,22 +66,9 @@ namespace X86ISA }; static inline bool - isUnmaskable(int mode) - { - return (mode == SMI || mode == NMI || - mode == INIT || mode == ExtInt); - } - - static inline bool - isMaskable(int mode) - { - return (mode == Fixed || mode == LowestPriority); - } - - static inline bool isReserved(int mode) { - return !(isMaskable(mode) || isUnmaskable(mode)); + return mode == 3 || mode == 6; } } |