summary refs log tree commit diff stats
path: root/hw/apic_common.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-10-13 22:35:39 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-30 22:38:37 +0100
commitbdeec802170d5dc9f0f8a01235c3488dca3ff83b (patch)
tree44a23d266c458c2295cd4f85690163d422efaf03 /hw/apic_common.c
parentff287bbdda016b37990be7ed52339750aaa8a5e4 (diff)
downloadfocaccia-qemu-bdeec802170d5dc9f0f8a01235c3488dca3ff83b.tar.gz
focaccia-qemu-bdeec802170d5dc9f0f8a01235c3488dca3ff83b.zip
target-i386: Initialize APIC at CPU level
(L)APIC is a part of cpu [1] so move APIC initialization inside of
x86_cpu object. Since cpu_model and override flags currently specify
whether APIC should be created or not, APIC creation&initialization is
moved into x86_cpu_apic_init() which is called from x86_cpu_realize().

[1] - all x86 cpus have integrated APIC if we overlook existence of i486,
and it's more convenient to model after majority of them.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/apic_common.c')
0 files changed, 0 insertions, 0 deletions