]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
apic: avoid using CPUState internals
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 19 Jun 2010 07:42:34 +0000 (10:42 +0300)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 Jun 2010 07:42:34 +0000 (10:42 +0300)
commit0e26b7b892e1369d66da63b748acbfb6b3819a59
tree4a67dca5b6529bebac524e757f99eb987dd0c653
parent4a942ceac7e38c259116960e45ba9619611d1df9
apic: avoid using CPUState internals

Move the actual CPUState contents handling to cpu.h and cpuid.c.

Handle CPU reset and set env->halted in pc.c.

Add a function to get the local APIC state of the current
CPU for the MMIO.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/apic.c
hw/apic.h
hw/pc.c
target-i386/cpu.h
target-i386/cpuid.c