diff options
author | Blue Swirl | 2010-06-19 09:44:07 +0200 |
---|---|---|
committer | Blue Swirl | 2010-06-19 09:44:07 +0200 |
commit | 8546b09965392da55fc1ce797ef774cb6e298468 (patch) | |
tree | a56bbfafce6dddf883789f2cd6ece7dc9ae9a9fa /hw/apic.h | |
parent | apic: avoid using CPUState internals (diff) | |
download | qemu-8546b09965392da55fc1ce797ef774cb6e298468.tar.gz qemu-8546b09965392da55fc1ce797ef774cb6e298468.tar.xz qemu-8546b09965392da55fc1ce797ef774cb6e298468.zip |
apic: convert to qdev
Convert to qdev.
Use an opaque CPUState pointer because of missing VMState
implementation for CPUState.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/apic.h')
-rw-r--r-- | hw/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ void apic_deliver_irq(uint8_t dest, uint8_t dest_mode, uint8_t delivery_mode, uint8_t vector_num, uint8_t polarity, uint8_t trigger_mode); -APICState *apic_init(CPUState *env, uint32_t apic_id); +APICState *apic_init(void *env, uint8_t apic_id); int apic_accept_pic_intr(APICState *s); void apic_deliver_pic_intr(APICState *s, int level); int apic_get_interrupt(APICState *s); |