summaryrefslogtreecommitdiff
path: root/target-i386/op_helper.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-05-10 22:30:53 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-22 10:50:37 -0500
commita23978077ba006c8afdd842a448d5ac7106827ff (patch)
treef535e1e5be7d94f50ed623ce64a38213ad3f5a65 /target-i386/op_helper.c
parent37cb6fc37b21671a2e4fb9aad9ac3c3d8f92769b (diff)
x86: Add support for resume flag
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'target-i386/op_helper.c')
-rw-r--r--target-i386/op_helper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index f4cea083eb..bd1769c528 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -4688,6 +4688,11 @@ void helper_debug(void)
cpu_loop_exit();
}
+void helper_reset_rf(void)
+{
+ env->eflags &= ~RF_MASK;
+}
+
void helper_raise_interrupt(int intno, int next_eip_addend)
{
raise_interrupt(intno, 1, 0, next_eip_addend);