summaryrefslogtreecommitdiffstats
path: root/target-i386/cc_helper.c
diff options
context:
space:
mode:
authorRichard Henderson2015-07-06 18:29:59 +0200
committerRichard Henderson2016-02-12 21:59:59 +0100
commit7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea (patch)
tree4829f9a06ec132c626a6f119288d1d39d83d5afd /target-i386/cc_helper.c
parenttarget-i386: Enable control registers for MPX (diff)
downloadqemu-7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea.tar.gz
qemu-7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea.tar.xz
qemu-7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea.zip
target-i386: Perform set/reset_inhibit_irq inline
With helpers that can be reused for other things. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cc_helper.c')
-rw-r--r--target-i386/cc_helper.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/target-i386/cc_helper.c b/target-i386/cc_helper.c
index 99a3b5496b..83af223c9f 100644
--- a/target-i386/cc_helper.c
+++ b/target-i386/cc_helper.c
@@ -383,13 +383,3 @@ void helper_sti_vm(CPUX86State *env)
}
}
#endif
-
-void helper_set_inhibit_irq(CPUX86State *env)
-{
- env->hflags |= HF_INHIBIT_IRQ_MASK;
-}
-
-void helper_reset_inhibit_irq(CPUX86State *env)
-{
- env->hflags &= ~HF_INHIBIT_IRQ_MASK;
-}