Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/apicvar.h
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | |||||
#define APIC_IPI_DEST_OTHERS -3 | #define APIC_IPI_DEST_OTHERS -3 | ||||
#define APIC_BUS_UNKNOWN -1 | #define APIC_BUS_UNKNOWN -1 | ||||
#define APIC_BUS_ISA 0 | #define APIC_BUS_ISA 0 | ||||
#define APIC_BUS_EISA 1 | #define APIC_BUS_EISA 1 | ||||
#define APIC_BUS_PCI 2 | #define APIC_BUS_PCI 2 | ||||
#define APIC_BUS_MAX APIC_BUS_PCI | #define APIC_BUS_MAX APIC_BUS_PCI | ||||
#define IRQ_EXTINT (NUM_IO_INTS + 1) | |||||
#define IRQ_NMI (NUM_IO_INTS + 2) | |||||
#define IRQ_SMI (NUM_IO_INTS + 3) | |||||
#define IRQ_DISABLED (NUM_IO_INTS + 4) | |||||
/* | /* | ||||
* An APIC enumerator is a psuedo bus driver that enumerates APIC's including | * An APIC enumerator is a psuedo bus driver that enumerates APIC's including | ||||
* CPU's and I/O APIC's. | * CPU's and I/O APIC's. | ||||
*/ | */ | ||||
struct apic_enumerator { | struct apic_enumerator { | ||||
const char *apic_name; | const char *apic_name; | ||||
int (*apic_probe)(void); | int (*apic_probe)(void); | ||||
int (*apic_probe_cpus)(void); | int (*apic_probe_cpus)(void); | ||||
▲ Show 20 Lines • Show All 280 Lines • Show Last 20 Lines |