qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4624] Fix typo.
Date: Fri, 30 May 2008 17:54:15 +0000	[thread overview]
Message-ID: <E1K28nv-0001CR-TE@cvs.savannah.gnu.org> (raw)

Revision: 4624
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4624
Author:   pbrook
Date:     2008-05-30 17:54:15 +0000 (Fri, 30 May 2008)

Log Message:
-----------
Fix typo.

Modified Paths:
--------------
    trunk/target-alpha/cpu.h
    trunk/target-arm/cpu.h
    trunk/target-cris/cpu.h
    trunk/target-i386/cpu.h
    trunk/target-m68k/cpu.h
    trunk/target-mips/cpu.h
    trunk/target-ppc/cpu.h
    trunk/target-sh4/cpu.h
    trunk/target-sparc/cpu.h

Modified: trunk/target-alpha/cpu.h
===================================================================
--- trunk/target-alpha/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-alpha/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -314,7 +314,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->ir[30] = newsp;
     /* FIXME: Zero syscall return value.  */
 }

Modified: trunk/target-arm/cpu.h
===================================================================
--- trunk/target-arm/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-arm/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -411,7 +411,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->regs[13] = newsp;
     env->regs[0] = 0;
 }

Modified: trunk/target-cris/cpu.h
===================================================================
--- trunk/target-cris/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-cris/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -221,7 +221,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->regs[14] = newsp;
     env->regs[10] = 0;
 }

Modified: trunk/target-i386/cpu.h
===================================================================
--- trunk/target-i386/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-i386/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -737,7 +737,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->regs[R_ESP] = newsp;
     env->regs[R_EAX] = 0;
 }

Modified: trunk/target-m68k/cpu.h
===================================================================
--- trunk/target-m68k/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-m68k/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -229,7 +229,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->aregs[7] = newsp;
     env->dregs[0] = 0;
 }

Modified: trunk/target-mips/cpu.h
===================================================================
--- trunk/target-mips/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-mips/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -503,7 +503,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->gpr[env->current_tc][29] = newsp;
     env->gpr[env->current_tc][7] = 0;
     env->gpr[env->current_tc][2] = 0;

Modified: trunk/target-ppc/cpu.h
===================================================================
--- trunk/target-ppc/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-ppc/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -826,7 +826,7 @@
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
     int i;
-    if (!newsp)
+    if (newsp)
         env->gpr[1] = newsp;
     for (i = 7; i < 32; i++)
         env->gpr[i] = 0;

Modified: trunk/target-sh4/cpu.h
===================================================================
--- trunk/target-sh4/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-sh4/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -146,7 +146,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->gregs[15] = newsp;
     env->gregs[0] = 0;
 }

Modified: trunk/target-sparc/cpu.h
===================================================================
--- trunk/target-sparc/cpu.h	2008-05-30 17:22:15 UTC (rev 4623)
+++ trunk/target-sparc/cpu.h	2008-05-30 17:54:15 UTC (rev 4624)
@@ -406,7 +406,7 @@
 #if defined(CONFIG_USER_ONLY)
 static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 {
-    if (!newsp)
+    if (newsp)
         env->regwptr[22] = newsp;
     env->regwptr[0] = 0;
     /* FIXME: Do we also need to clear CF?  */

                 reply	other threads:[~2008-05-30 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1K28nv-0001CR-TE@cvs.savannah.gnu.org \
    --to=paul@nowt.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).