diff options
| author | Eduardo Habkost | 2012-09-06 12:05:38 +0200 |
|---|---|---|
| committer | Blue Swirl | 2012-09-30 13:11:25 +0200 |
| commit | 3b671a40cab2404bc63e57db8cd3afa4ec70bfab (patch) | |
| tree | c3510942ac99fefed62e5a75adb14fffcbc2f7eb /scripts | |
| parent | i386: cpu: replace EXT2_FEATURE_MASK with CPUID_EXT2_AMD_ALIASES (diff) | |
| download | qemu-3b671a40cab2404bc63e57db8cd3afa4ec70bfab.tar.gz qemu-3b671a40cab2404bc63e57db8cd3afa4ec70bfab.tar.xz qemu-3b671a40cab2404bc63e57db8cd3afa4ec70bfab.zip | |
i386: cpu: eliminate duplicate feature names
Instead of having duplicate feature names on the ext2_feature array for
the AMD feature bit aliases, we keep the feature names only on the
feature_name[] array, and copy the corresponding bits to
cpuid_ext2_features in case the CPU vendor is AMD.
This will:
- Make sure we don't set the feature bit aliases on Intel CPUs;
- Make it easier to convert feature bits to CPU properties, as now we
have a single bit on the x86_def_t struct for each CPU feature.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
