summaryrefslogtreecommitdiffstats
path: root/hw/apic.h
Commit message (Collapse)AuthorAgeFilesLines
* apic: qdev conversion cleanupBlue Swirl2010-06-191-12/+12
| | | | | | | | | Make APICState completely private to apic.c by using DeviceState in external APIs. Move apic_init() to pc.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* apic: convert to qdevBlue Swirl2010-06-191-1/+1
| | | | | | | | | Convert to qdev. Use an opaque CPUState pointer because of missing VMState implementation for CPUState. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* apic: avoid using CPUState internalsBlue Swirl2010-06-191-1/+9
| | | | | | | | | | | 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>
* apic: avoid passing CPUState from devicesBlue Swirl2010-06-191-3/+5
| | | | | | Pass only APICState from pc.c. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* ioapic: convert to qdevBlue Swirl2010-06-191-2/+0
| | | | | | Convert to qdev. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* ioapic: unexport ioapic_set_irqBlue Swirl2010-06-171-1/+0
| | | | | | | There's no need to use ioapic_set_irq() outside of ioapic.c, so make it static. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Move x86 specific PC declarations to a separate fileBlue Swirl2010-03-211-0/+20
x86 definitions (especially CPUState uses) prevent many files from being compiled within libhw. Move x86 specific declarations (APIC stuff) to a separate file. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud