aboutsummaryrefslogtreecommitdiff
path: root/hw/apic.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:44:07 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:44:07 +0000
commit8546b09965392da55fc1ce797ef774cb6e298468 (patch)
treea56bbfafce6dddf883789f2cd6ece7dc9ae9a9fa /hw/apic.h
parent0e26b7b892e1369d66da63b748acbfb6b3819a59 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apic.h b/hw/apic.h
index fb4a9cf185..77078caa03 100644
--- a/hw/apic.h
+++ b/hw/apic.h
@@ -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);