qemu-e2k/linux-user
Eduardo Habkost 0514ef2fbb target-i386: Replace cpuid_*features fields with a feature word array
This replaces the feature-bit fields on both X86CPU and x86_def_t
structs with an array.

With this, we will be able to simplify code that simply does the same
operation on all feature words (e.g. kvm_check_features_against_host(),
filter_features_for_kvm(), add_flagname_to_bitmaps(), CPU feature-bit
property lookup/registration, and the proposed "feature-words" property)

The following field replacements were made on X86CPU and x86_def_t:

  (cpuid_)features         -> features[FEAT_1_EDX]
  (cpuid_)ext_features     -> features[FEAT_1_ECX]
  (cpuid_)ext2_features    -> features[FEAT_8000_0001_EDX]
  (cpuid_)ext3_features    -> features[FEAT_8000_0001_ECX]
  (cpuid_)ext4_features    -> features[FEAT_C000_0001_EDX]
  (cpuid_)kvm_features     -> features[FEAT_KVM]
  (cpuid_)svm_features     -> features[FEAT_SVM]
  (cpuid_)7_0_ebx_features -> features[FEAT_7_0_EBX]

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-05-02 00:27:55 +02:00
..
alpha alpha-linux-user: Fix sigaltstack structure definition 2012-10-12 14:01:04 +03:00
arm fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
cris janitor: add guards to headers 2012-12-19 08:31:31 +01:00
i386 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
m68k
microblaze janitor: add guards to headers 2012-12-19 08:31:31 +01:00
mips
mips64 mipsn32-linux-user: Configure the architecture properly 2013-03-05 15:04:20 +01:00
openrisc
ppc
s390x target-s390: Reorg exception handling 2013-01-05 12:00:28 -08:00
sh4
sparc linux-user: Add more sparc syscall numbers 2013-03-11 13:05:14 +02:00
sparc64
unicore32 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
x86_64
cpu-uname.c
cpu-uname.h
elfload.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c linux-user: If loading fails, print error as string, not number 2012-10-12 14:25:56 +03:00
m68k-sim.c
main.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
Makefile.objs
mmap.c
qemu.h linux-user: Restore cast to target type in get_user() 2013-02-06 16:37:39 -06:00
signal.c mips-linux-user: Save and restore fpu and dsp from sigcontext 2013-03-05 11:58:48 +01:00
socket.h linux-user: Add Alpha socket constants 2013-03-11 13:04:44 +02:00
strace.c linux-user: Don't omit comma for strace of rt_sigaction() 2013-04-05 14:40:54 +02:00
strace.list linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
syscall_defs.h alpha-linux-user: Translate fcntl l_type 2013-01-16 08:13:17 -08:00
syscall_types.h
syscall.c linux-user: fix compile error due to stray colon at end of #ifdef line 2013-04-26 11:52:29 +02:00
target_flat.h
uaccess.c
vm86.c