root / hw / apic.h @ 96051119
History | View | Annotate | Download (532 Bytes)
1 |
#ifndef APIC_H
|
---|---|
2 |
#define APIC_H
|
3 |
|
4 |
void apic_deliver_irq(uint8_t dest, uint8_t dest_mode,
|
5 |
uint8_t delivery_mode, |
6 |
uint8_t vector_num, uint8_t polarity, |
7 |
uint8_t trigger_mode); |
8 |
int apic_init(CPUState *env);
|
9 |
int apic_accept_pic_intr(CPUState *env);
|
10 |
void apic_deliver_pic_intr(CPUState *env, int level); |
11 |
int apic_get_interrupt(CPUState *env);
|
12 |
void apic_reset_irq_delivered(void); |
13 |
int apic_get_irq_delivered(void); |
14 |
|
15 |
int cpu_is_bsp(CPUState *env);
|
16 |
|
17 |
#endif
|