Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/gic.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | #ifdef INTRNG | ||||
void * gic_intrhand; | void * gic_intrhand; | ||||
struct gic_irqsrc * gic_irqs; | struct gic_irqsrc * gic_irqs; | ||||
#endif | #endif | ||||
struct resource * gic_res[3]; | struct resource * gic_res[3]; | ||||
bus_space_tag_t gic_c_bst; | bus_space_tag_t gic_c_bst; | ||||
bus_space_tag_t gic_d_bst; | bus_space_tag_t gic_d_bst; | ||||
bus_space_handle_t gic_c_bsh; | bus_space_handle_t gic_c_bsh; | ||||
bus_space_handle_t gic_d_bsh; | bus_space_handle_t gic_d_bsh; | ||||
#ifdef VMM_ARM_VGIC | |||||
bus_space_tag_t gic_h_bst; | |||||
bus_space_handle_t gic_h_bsh; | |||||
#endif | |||||
uint8_t ver; | uint8_t ver; | ||||
struct mtx mutex; | struct mtx mutex; | ||||
uint32_t nirqs; | uint32_t nirqs; | ||||
uint32_t typer; | uint32_t typer; | ||||
#ifdef GIC_DEBUG_SPURIOUS | #ifdef GIC_DEBUG_SPURIOUS | ||||
uint32_t last_irq[MAXCPU]; | uint32_t last_irq[MAXCPU]; | ||||
#endif | #endif | ||||
Show All 20 Lines | |||||
DECLARE_CLASS(arm_gicv2m_driver); | DECLARE_CLASS(arm_gicv2m_driver); | ||||
#endif | #endif | ||||
int arm_gic_attach(device_t); | int arm_gic_attach(device_t); | ||||
int arm_gic_detach(device_t); | int arm_gic_detach(device_t); | ||||
int arm_gicv2m_attach(device_t); | int arm_gicv2m_attach(device_t); | ||||
int arm_gic_intr(void *); | int arm_gic_intr(void *); | ||||
struct arm_gic_softc *get_arm_gic_sc(void); | |||||
#endif /* _ARM_GIC_H_ */ | #endif /* _ARM_GIC_H_ */ |