aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-26 21:03:37 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-26 21:03:37 +0000
commita876e289510fdbe260e04aa507df1efe39241804 (patch)
tree59a8058f861ba39e0418a428ea58c47fe32cbab7 /target-i386
parente87231d4262e472628e866394f85320829fe4fc5 (diff)
downloadqemu-a876e289510fdbe260e04aa507df1efe39241804.zip
qemu-a876e289510fdbe260e04aa507df1efe39241804.tar.gz
qemu-a876e289510fdbe260e04aa507df1efe39241804.tar.bz2
Fix definition of EMX bit in cpuid (Jens Axboe).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5330 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 7faf706..fc0012b 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -344,7 +344,7 @@
#define CPUID_VENDOR_AMD_3 0x444d4163 /* "cAMD" */
#define CPUID_MWAIT_IBE (1 << 1) /* Interrupts can exit capability */
-#define CPUID_MWAIT_EMX (0 << 1) /* enumeration supported */
+#define CPUID_MWAIT_EMX (1 << 0) /* enumeration supported */
#define EXCP00_DIVZ 0
#define EXCP01_SSTP 1