summaryrefslogtreecommitdiff
path: root/src/arch/x86/intmessage.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-12 13:45:21 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-12 13:45:21 -0700
commitec9d3aad71ec75b3f7b5ea96dd41f067a9261392 (patch)
treeace8a36db527092dc6bcde234aad5d85c1e20c17 /src/arch/x86/intmessage.hh
parent876f4845f258ed09d348135d8af8cf4a17de1b8a (diff)
downloadgem5-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.hh15
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;
}
}