4 typedef struct IOAPICState IOAPICState
;
5 void apic_deliver_irq(uint8_t dest
, uint8_t dest_mode
,
7 uint8_t vector_num
, uint8_t polarity
,
9 int apic_init(CPUState
*env
);
10 int apic_accept_pic_intr(CPUState
*env
);
11 void apic_deliver_pic_intr(CPUState
*env
, int level
);
12 int apic_get_interrupt(CPUState
*env
);
13 qemu_irq
*ioapic_init(void);
14 void ioapic_set_irq(void *opaque
, int vector
, int level
);
15 void apic_reset_irq_delivered(void);
16 int apic_get_irq_delivered(void);
18 int cpu_is_bsp(CPUState
*env
);