root / hw / apic.h @ 0cdd3d14
History | View | Annotate | Download (939 Bytes)
1 | aa28b9bf | Blue Swirl | #ifndef APIC_H
|
---|---|---|---|
2 | aa28b9bf | Blue Swirl | #define APIC_H
|
3 | aa28b9bf | Blue Swirl | |
4 | 92a16d7a | Blue Swirl | #include "qemu-common.h" |
5 | 92a16d7a | Blue Swirl | |
6 | cf6d64bf | Blue Swirl | /* apic.c */
|
7 | 1f6f408c | Jan Kiszka | void apic_deliver_irq(uint8_t dest, uint8_t dest_mode, uint8_t delivery_mode,
|
8 | 1f6f408c | Jan Kiszka | uint8_t vector_num, uint8_t trigger_mode); |
9 | 92a16d7a | Blue Swirl | int apic_accept_pic_intr(DeviceState *s);
|
10 | 92a16d7a | Blue Swirl | void apic_deliver_pic_intr(DeviceState *s, int level); |
11 | 02c09195 | Jan Kiszka | void apic_deliver_nmi(DeviceState *d);
|
12 | 92a16d7a | Blue Swirl | int apic_get_interrupt(DeviceState *s);
|
13 | aa28b9bf | Blue Swirl | void apic_reset_irq_delivered(void); |
14 | aa28b9bf | Blue Swirl | int apic_get_irq_delivered(void); |
15 | 92a16d7a | Blue Swirl | void cpu_set_apic_base(DeviceState *s, uint64_t val);
|
16 | 92a16d7a | Blue Swirl | uint64_t cpu_get_apic_base(DeviceState *s); |
17 | 92a16d7a | Blue Swirl | void cpu_set_apic_tpr(DeviceState *s, uint8_t val);
|
18 | 92a16d7a | Blue Swirl | uint8_t cpu_get_apic_tpr(DeviceState *s); |
19 | 92a16d7a | Blue Swirl | void apic_init_reset(DeviceState *s);
|
20 | 92a16d7a | Blue Swirl | void apic_sipi(DeviceState *s);
|
21 | d362e757 | Jan Kiszka | void apic_handle_tpr_access_report(DeviceState *d, target_ulong ip,
|
22 | d362e757 | Jan Kiszka | TPRAccess access); |
23 | aa28b9bf | Blue Swirl | |
24 | 0e26b7b8 | Blue Swirl | /* pc.c */
|
25 | 4a8fa5dc | Andreas Färber | int cpu_is_bsp(CPUX86State *env);
|
26 | 92a16d7a | Blue Swirl | DeviceState *cpu_get_current_apic(void);
|
27 | aa28b9bf | Blue Swirl | |
28 | aa28b9bf | Blue Swirl | #endif |