]> Git Repo - qemu.git/blobdiff - target-i386/cc_helper.c
target-i386: Perform set/reset_inhibit_irq inline
[qemu.git] / target-i386 / cc_helper.c
index ecbf0ec09c166a677a021f12ff66773ad4f00024..83af223c9f7f13c5bd5a6eea21e2a989ef957d4b 100644 (file)
@@ -17,6 +17,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/helper-proto.h"
 
@@ -378,17 +379,7 @@ void helper_sti_vm(CPUX86State *env)
 {
     env->eflags |= VIF_MASK;
     if (env->eflags & VIP_MASK) {
-        raise_exception(env, EXCP0D_GPF);
+        raise_exception_ra(env, EXCP0D_GPF, GETPC());
     }
 }
 #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;
-}
This page took 0.021008 seconds and 4 git commands to generate.