qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 5/8] target-i386: x87 exception pointers using TC


From: Jaume Marti Farriol
Subject: [Qemu-devel] [PATCH v2 5/8] target-i386: x87 exception pointers using TCG.
Date: Thu, 28 Aug 2014 22:44:37 +0200

Hello,

This patch just removes an unnecessary parameter.

Best regards,
Jaume

 signal.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

signed-off: address@hidden
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1141054..73f8f6b 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -865,7 +865,7 @@ static void setup_sigcontext(struct target_sigcontext *sc,
     __put_user(env->regs[R_ESP], &sc->esp_at_signal);
     __put_user(env->segs[R_SS].selector, (unsigned int *)&sc->ss);
 
-        cpu_x86_fsave(env, fpstate_addr, 1);
+        cpu_x86_fsave(env, fpstate_addr);
         fpstate->status = fpstate->sw;
         magic = 0xffff;
     __put_user(magic, &fpstate->magic);
@@ -1068,7 +1068,7 @@ restore_sigcontext(CPUX86State *env, struct 
target_sigcontext *sc, int *peax)
                 if (!access_ok(VERIFY_READ, fpstate_addr, 
                                sizeof(struct target_fpstate)))
                         goto badframe;
-                cpu_x86_frstor(env, fpstate_addr, 1);
+                cpu_x86_frstor(env, fpstate_addr);
    }
 
         *peax = tswapl(sc->eax);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]