summaryrefslogtreecommitdiff
path: root/src/arch/x86/regs/misc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/regs/misc.hh')
-rw-r--r--src/arch/x86/regs/misc.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/regs/misc.hh b/src/arch/x86/regs/misc.hh
index 24420e8d5..bb69d8007 100644
--- a/src/arch/x86/regs/misc.hh
+++ b/src/arch/x86/regs/misc.hh
@@ -64,6 +64,9 @@ namespace X86ISA
OFBit = 1 << 11
};
+ const uint32_t cfofMask = CFBit | OFBit;
+ const uint32_t ccFlagMask = PFBit | AFBit | ZFBit | SFBit | DFBit;
+
enum RFLAGBit {
TFBit = 1 << 8,
IFBit = 1 << 9,