Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (24 sloc) 0.893 kB
68396ea @rmustacc Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm
rmustacc authored
1 #ifndef APIC_H
2 #define APIC_H
3
4 #include "qemu-common.h"
5
6 /* apic.c */
7 void apic_deliver_irq(uint8_t dest, uint8_t dest_mode,
8 uint8_t delivery_mode,
9 uint8_t vector_num, uint8_t polarity,
10 uint8_t trigger_mode);
11 int apic_accept_pic_intr(DeviceState *s);
12 void apic_deliver_pic_intr(DeviceState *s, int level);
13 int apic_get_interrupt(DeviceState *s);
14 void apic_reset_irq_delivered(void);
15 int apic_get_irq_delivered(void);
16 void apic_set_irq_delivered(void);
17 void cpu_set_apic_base(DeviceState *s, uint64_t val);
18 uint64_t cpu_get_apic_base(DeviceState *s);
19 void cpu_set_apic_tpr(DeviceState *s, uint8_t val);
20 uint8_t cpu_get_apic_tpr(DeviceState *s);
21 void apic_init_reset(DeviceState *s);
22 void apic_sipi(DeviceState *s);
23
24 /* pc.c */
25 int cpu_is_bsp(CPUState *env);
26 DeviceState *cpu_get_current_apic(void);
27
28 #endif
Something went wrong with that request. Please try again.