qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, "Andreas Färber" <andreas.faerber@web.de>,
	"Huang Ying" <ying.huang@intel.com>
Subject: [Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type
Date: Sun, 19 Dec 2010 17:22:41 +0100	[thread overview]
Message-ID: <1292775761-6061-4-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1292775761-6061-3-git-send-email-andreas.faerber@web.de>

softfloat.h's uint64 type has least-width semantics.
Use uint64_t instead since that is used in helpers.

v4:
* Summary change.

v3:
* Split off.

Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Acked-by: Juan Quintela <quintela@redhat.com>
---
 target-i386/cpu.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 06e40f3..f0c07cd 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -737,10 +737,10 @@ typedef struct CPUX86State {
        user */
     struct DeviceState *apic_state;
 
-    uint64 mcg_cap;
-    uint64 mcg_status;
-    uint64 mcg_ctl;
-    uint64 mce_banks[MCE_BANKS_DEF*4];
+    uint64_t mcg_cap;
+    uint64_t mcg_status;
+    uint64_t mcg_ctl;
+    uint64_t mce_banks[MCE_BANKS_DEF*4];
 
     uint64_t tsc_aux;
 
-- 
1.7.3.4

  reply	other threads:[~2010-12-19 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-19 16:22 [Qemu-devel] [PULL 0/3] Prepare removal of SoftFloat integer types Andreas Färber
2010-12-19 16:22 ` [Qemu-devel] [PATCH v4 1/3] apic: Fix accidental use of SoftFloat uint32 type Andreas Färber
2010-12-19 16:22   ` [Qemu-devel] [PATCH v4 2/3] wdt_ib700: Fix accidental use of SoftFloat int64 type Andreas Färber
2010-12-19 16:22     ` Andreas Färber [this message]
2010-12-20  6:42       ` [Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type Andreas Färber
2010-12-20 21:04 ` [Qemu-devel] Re: [PULL 0/3] Prepare removal of SoftFloat integer types Blue Swirl

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=1292775761-6061-4-git-send-email-andreas.faerber@web.de \
    --to=andreas.faerber@web.de \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ying.huang@intel.com \
    /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).