aboutsummaryrefslogtreecommitdiff
path: root/op-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'op-i386.c')
-rw-r--r--op-i386.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-i386.c b/op-i386.c
index 833b1f9d38..7b0c3917ac 100644
--- a/op-i386.c
+++ b/op-i386.c
@@ -457,6 +457,16 @@ void OPPROTO op_sti(void)
env->eflags |= IF_MASK;
}
+void OPPROTO op_set_inhibit_irq(void)
+{
+ env->hflags |= HF_INHIBIT_IRQ_MASK;
+}
+
+void OPPROTO op_reset_inhibit_irq(void)
+{
+ env->hflags &= ~HF_INHIBIT_IRQ_MASK;
+}
+
#if 0
/* vm86plus instructions */
void OPPROTO op_cli_vm(void)