]> Git Repo - qemu.git/commitdiff
target-i386: bugfix of Intel MPX
authorLiu, Jinsong <[email protected]>
Mon, 3 Mar 2014 05:24:14 +0000 (05:24 +0000)
committerPaolo Bonzini <[email protected]>
Tue, 11 Mar 2014 10:49:00 +0000 (11:49 +0100)
The correct size of cpuid 0x0d sub-leaf 4 is 0x40, not 0x10.
This is confirmed by Anvin H Peter and Mallick Asit K.

Signed-off-by: Liu Jinsong <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Asit K Mallick <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Liu, Jinsong <[email protected]>
target-i386/cpu.c

index 0e8812a11d1e983c7423196d97418d9898bb66b5..9f69d7e192daa7a6f04d43641f875ef5707f5705 100644 (file)
@@ -339,7 +339,7 @@ static const ExtSaveArea ext_save_areas[] = {
     [3] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
             .offset = 0x3c0, .size = 0x40  },
     [4] = { .feature = FEAT_7_0_EBX, .bits = CPUID_7_0_EBX_MPX,
-            .offset = 0x400, .size = 0x10  },
+            .offset = 0x400, .size = 0x40  },
 };
 
 const char *get_register_name_32(unsigned int reg)
This page took 0.024151 seconds and 4 git commands to generate.