Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/intr.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | enum intr_map_data_type { | ||||
INTR_MAP_DATA_PLAT_5, | INTR_MAP_DATA_PLAT_5, | ||||
}; | }; | ||||
struct intr_map_data { | struct intr_map_data { | ||||
size_t len; | size_t len; | ||||
enum intr_map_data_type type; | enum intr_map_data_type type; | ||||
}; | }; | ||||
struct intr_map_data_acpi { | |||||
struct intr_map_data hdr; | |||||
u_int irq; | |||||
u_int pol; | |||||
u_int trig; | |||||
}; | |||||
skra: This definition should be in some ACPI specific header as INTRNG does not need to know anything… | |||||
struct intr_map_data_msi { | struct intr_map_data_msi { | ||||
struct intr_map_data hdr; | struct intr_map_data hdr; | ||||
struct intr_irqsrc *isrc; | struct intr_irqsrc *isrc; | ||||
}; | }; | ||||
#ifdef notyet | #ifdef notyet | ||||
#define INTR_SOLO INTR_MD1 | #define INTR_SOLO INTR_MD1 | ||||
typedef int intr_irq_filter_t(void *arg, struct trapframe *tf); | typedef int intr_irq_filter_t(void *arg, struct trapframe *tf); | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |
This definition should be in some ACPI specific header as INTRNG does not need to know anything about ACPI.