Skip to contentSkip to conversation

[5330] Fix definition of EMX bit in cpuid (Jens Axboe).

Qemu-devel Andrzej Zaborowski 1 participant 1 message Sep 26, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5330

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5330
Author:   balrog
Date:     2008-09-26 21:03:37 +0000 (Fri, 26 Sep 2008)

Log Message:
-----------
Fix definition of EMX bit in cpuid (Jens Axboe).

Modified Paths:
--------------

    trunk/target-i386/cpu.h

Modified: trunk/target-i386/cpu.h
===================================================================

target-i386/cpu.h +1 -1
@@ -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