mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
x86: Rework local IRQ delivery for APICs
(Jan Kiszka) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4207 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e2eb9d3e91
commit
a5b38b5171
3 changed files with 57 additions and 24 deletions
3
hw/pc.h
3
hw/pc.h
|
@ -39,8 +39,11 @@ void irq_info(void);
|
|||
/* APIC */
|
||||
typedef struct IOAPICState IOAPICState;
|
||||
|
||||
#define APIC_LINT0 3
|
||||
|
||||
int apic_init(CPUState *env);
|
||||
int apic_accept_pic_intr(CPUState *env);
|
||||
void apic_local_deliver(CPUState *env, int vector);
|
||||
int apic_get_interrupt(CPUState *env);
|
||||
IOAPICState *ioapic_init(void);
|
||||
void ioapic_set_irq(void *opaque, int vector, int level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue