aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2010-12-19 17:22:41 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-12-20 21:03:19 +0000
commitac6c41204fd33116b8943682bffe47e113c1cc6b (patch)
treeaae24176f9e2580b560cb162d3e50d5ad1153b28 /target-i386/cpu.h
parentc910cf96dc8a2a1d3ee0a695979770d13538806f (diff)
downloadqemu-ac6c41204fd33116b8943682bffe47e113c1cc6b.zip
qemu-ac6c41204fd33116b8943682bffe47e113c1cc6b.tar.gz
qemu-ac6c41204fd33116b8943682bffe47e113c1cc6b.tar.bz2
target-i386: Fix accidental use of SoftFloat uint64 type
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. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Acked-by: Huang Ying <ying.huang@intel.com> Acked-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h8
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;