]> Git Repo - qemu.git/commit - hw/pc.c
target-i386: Initialize APIC at CPU level
authorIgor Mammedov <[email protected]>
Sat, 13 Oct 2012 20:35:39 +0000 (22:35 +0200)
committerAndreas Färber <[email protected]>
Tue, 30 Oct 2012 21:38:37 +0000 (22:38 +0100)
commitbdeec802170d5dc9f0f8a01235c3488dca3ff83b
tree44a23d266c458c2295cd4f85690163d422efaf03
parentff287bbdda016b37990be7ed52339750aaa8a5e4
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 <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
hw/pc.c
target-i386/cpu.c
This page took 0.026345 seconds and 4 git commands to generate.