diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-06-19 07:44:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-19 07:44:07 +0000 |
commit | 8546b09965392da55fc1ce797ef774cb6e298468 (patch) | |
tree | a56bbfafce6dddf883789f2cd6ece7dc9ae9a9fa /hw/apic.h | |
parent | 0e26b7b892e1369d66da63b748acbfb6b3819a59 (diff) |
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); |