qemu-e2k/target-i386
Eduardo Habkost 9c235e83f1 target-i386: Set APIC ID using cpu_index on CONFIG_USER
The PC CPU initialization code already sets apic-id based on the CPU
topology, and CONFIG_USER doesn't need the topology-based APIC ID
calculation code.

Make CONFIG_USER set apic-id before realizing the CPU (just like PC
already does), so we can simplify x86_cpu_initfn later. As there is no
CPU topology configuration in CONFIG_USER, just use cpu_index as the
APIC ID.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2015-02-25 15:00:07 -03:00
..
arch_dump.c x86: Fuse g_malloc(); memset() into g_malloc0() 2014-12-15 12:21:02 +01:00
arch_memory_mapping.c
cc_helper_template.h
cc_helper.c
cpu-qom.h target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id 2015-02-25 15:00:07 -03:00
cpu.c target-i386: Set APIC ID using cpu_index on CONFIG_USER 2015-02-25 15:00:07 -03:00
cpu.h target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id 2015-02-25 15:00:07 -03:00
excp_helper.c
fpu_helper.c target-i386: fbld instruction doesn't set minus sign 2014-12-14 16:34:29 -06:00
gdbstub.c target-i386: update fp status fix 2014-09-18 17:06:12 +02:00
helper.c qemu-log: add log category for MMU info 2014-12-16 18:43:19 +00:00
helper.h
int_helper.c
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id 2015-02-25 15:00:07 -03:00
machine.c target-i386: make xmm_regs 512-bit wide 2015-01-26 12:22:44 +01:00
Makefile.objs
mem_helper.c
misc_helper.c
ops_sse_header.h
ops_sse.h target-i386: simplify AES emulation 2014-12-15 12:21:01 +01:00
seg_helper.c cpu_ldst.h: Use inline functions for usermode cpu_ld/st accessors 2015-01-20 15:19:34 +00:00
shift_helper_template.h
smm_helper.c
svm_helper.c
svm.h
TODO
translate.c tcg: Introduce tcg_op_buf_count and tcg_op_buf_full 2015-02-12 21:21:38 -08:00