From 58fe2f10f0e9ddd63bc6004776ef6e874101e9c5 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 16 Feb 2004 22:11:32 +0000 Subject: experimental code copy support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@623 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-i386/helper.c') diff --git a/target-i386/helper.c b/target-i386/helper.c index 9a980bd9d5..31168573ed 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -869,7 +869,7 @@ void do_interrupt(int intno, int is_int, int error_code, { extern FILE *stdout; static int count; - if (env->cr[0] & CR0_PE_MASK) { + if (env->cr[0] & CR0_PE_MASK) { fprintf(stdout, "%d: v=%02x e=%04x i=%d CPL=%d CS:EIP=%04x:%08x SS:ESP=%04x:%08x", count, intno, error_code, is_int, env->hflags & HF_CPL_MASK, @@ -2489,7 +2489,7 @@ void tlb_fill(unsigned long addr, int is_write, int is_user, void *retaddr) if (tb) { /* the PC is inside the translated code. It means that we have a virtual CPU fault */ - cpu_restore_state(tb, env, pc); + cpu_restore_state(tb, env, pc, NULL); } } raise_exception_err(EXCP0E_PAGE, env->error_code); -- cgit v1.2.3