From ec9d3aad71ec75b3f7b5ea96dd41f067a9261392 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 12 Oct 2008 13:45:21 -0700 Subject: X86: Make the local APIC process interrupts and send them to the CPU. --- src/arch/x86/intmessage.hh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/arch/x86/intmessage.hh') 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 @@ -65,23 +65,10 @@ namespace X86ISA "NMI", "INIT", "Reserved", "ExtInt" }; - 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; } } -- cgit v1.2.3