diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2013-04-22 16:00:12 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 23:21:02 +0200 |
commit | 90e4b0c3de2b3927e71f23d95c3c27d60e5c89cc (patch) | |
tree | 4c504a3f02624a077cd7f6607bd51f9e613776b7 /target-i386/cpu.h | |
parent | c649983b582687bbdb4019e308f015913e31065e (diff) | |
download | hqemu-90e4b0c3de2b3927e71f23d95c3c27d60e5c89cc.zip hqemu-90e4b0c3de2b3927e71f23d95c3c27d60e5c89cc.tar.gz |
target-i386: Group together level, xlevel, xlevel2 fields
Consolidate level, xlevel, xlevel2 fields in x86_def_t and CPUX86State.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index f193752..5d16428 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -836,19 +836,19 @@ typedef struct CPUX86State { /* processor features (e.g. for CPUID insn) */ uint32_t cpuid_level; + uint32_t cpuid_xlevel; + uint32_t cpuid_xlevel2; uint32_t cpuid_vendor1; uint32_t cpuid_vendor2; uint32_t cpuid_vendor3; uint32_t cpuid_version; uint32_t cpuid_features; uint32_t cpuid_ext_features; - uint32_t cpuid_xlevel; uint32_t cpuid_model[12]; uint32_t cpuid_ext2_features; uint32_t cpuid_ext3_features; uint32_t cpuid_apic_id; /* Store the results of Centaur's CPUID instructions */ - uint32_t cpuid_xlevel2; uint32_t cpuid_ext4_features; /* Flags from CPUID[EAX=7,ECX=0].EBX */ uint32_t cpuid_7_0_ebx_features; |