summaryrefslogtreecommitdiff
path: root/src/arch/x86/intmessage.hh
diff options
context:
space:
mode:
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;
}
}