diff options
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r-- | src/arch/x86/isa/insts/romutil.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/x86/isa/insts/romutil.py b/src/arch/x86/isa/insts/romutil.py index e47259eb3..17034fd49 100644 --- a/src/arch/x86/isa/insts/romutil.py +++ b/src/arch/x86/isa/insts/romutil.py @@ -209,4 +209,15 @@ def rom panic "Legacy mode interrupts not implemented (in microcode)" eret }; + +def rom +{ + extern initIntHalt: + rflags t1 + limm t2, "~IFBit" + and t1, t1, t2 + wrflags t1, t0 + halt + eret +}; ''' |