[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [qom-cpu PATCH 1/7] target-i386: Move cpuid_xlevel, cpu
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [qom-cpu PATCH 1/7] target-i386: Move cpuid_xlevel, cpuid_xlevel2 fields in X86CPU |
Date: |
Tue, 16 Apr 2013 16:17:49 +0200 |
On Mon, 15 Apr 2013 16:25:34 -0300
Eduardo Habkost <address@hidden> wrote:
> As the cpuid_*_features fields will be replaced by an array, put the
> level/xlevel/xlevel2 fields together in the struct, as they won't be
> close to the corresponding cpuid_*_features fields anymore.
>
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
> target-i386/cpu.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target-i386/cpu.h b/target-i386/cpu.h
> index cf1b05c..500fe93 100644
> --- a/target-i386/cpu.h
> +++ b/target-i386/cpu.h
> @@ -835,19 +835,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;
Reviewed-By: Igor Mammedov <address@hidden>
- Re: [Qemu-devel] [qom-cpu PATCH 3/7] target-i386: Move xlevel/xlevel2 in struct x86_def_t, (continued)
- [Qemu-devel] [qom-cpu PATCH 2/7] target-i386/kvm.c: Code formatting changes, Eduardo Habkost, 2013/04/15
- [Qemu-devel] [qom-cpu PATCH 4/7] target-i386/cpu.c: Break lines on kvm_cpu_fill_host(), Eduardo Habkost, 2013/04/15
- [Qemu-devel] [qom-cpu PATCH 5/7] target-i386/cpu.c: Break lines on kvm_check_features_against_host(), Eduardo Habkost, 2013/04/15
- [Qemu-devel] [qom-cpu PATCH 1/7] target-i386: Move cpuid_xlevel, cpuid_xlevel2 fields in X86CPU, Eduardo Habkost, 2013/04/15
- Re: [Qemu-devel] [qom-cpu PATCH 1/7] target-i386: Move cpuid_xlevel, cpuid_xlevel2 fields in X86CPU,
Igor Mammedov <=
- [Qemu-devel] [qom-cpu PATCH 6/7] target-i386/cpu.c: Break lines on builtin_x86_defs array, Eduardo Habkost, 2013/04/15
- [Qemu-devel] [qom-cpu PATCH 7/7] target-i386: Replace cpuid_*features fields with a feature word array, Eduardo Habkost, 2013/04/15
- Re: [Qemu-devel] [qom-cpu PATCH 0/7] replace cpuid_*features fields with a featue word array (v8), Eduardo Habkost, 2013/04/16