RTEMS 6.1-rc2
|
This source file contains the implementation of ARM GICv2 support. More...
#include <dev/irq/arm-gic.h>
#include <dev/irq/arm-gic-arch.h>
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
#include <bsp/start.h>
Macros | |
#define | GIC_CPUIF ((volatile gic_cpuif *) BSP_ARM_GIC_CPUIF_BASE) |
#define | PRIORITY_DEFAULT 127 |
#define | DIST_ICDDCR GIC_DIST_ICDDCR_ENABLE |
#define | CPUIF_ICCICR GIC_CPUIF_ICCICR_ENABLE |
Functions | |
void | bsp_interrupt_dispatch (void) |
Interrupt dispatch. | |
rtems_status_code | bsp_interrupt_is_pending (rtems_vector_number vector, bool *pending) |
Checks if the interrupt is pending. | |
rtems_status_code | bsp_interrupt_raise (rtems_vector_number vector) |
Causes the interrupt vector. | |
rtems_status_code | bsp_interrupt_clear (rtems_vector_number vector) |
Clears the interrupt vector. | |
rtems_status_code | bsp_interrupt_vector_is_enabled (rtems_vector_number vector, bool *enabled) |
Checks if the interrupt is enabled. | |
rtems_status_code | bsp_interrupt_vector_enable (rtems_vector_number vector) |
Enables the interrupt vector. | |
rtems_status_code | bsp_interrupt_vector_disable (rtems_vector_number vector) |
Disables the interrupt vector. | |
void | bsp_interrupt_facility_initialize (void) |
BSP specific initialization. | |
rtems_status_code | arm_gic_irq_set_priority (rtems_vector_number vector, uint8_t priority) |
rtems_status_code | arm_gic_irq_get_priority (rtems_vector_number vector, uint8_t *priority) |
rtems_status_code | arm_gic_irq_set_group (rtems_vector_number vector, gic_group group) |
rtems_status_code | arm_gic_irq_get_group (rtems_vector_number vector, gic_group *group) |
rtems_status_code | bsp_interrupt_set_affinity (rtems_vector_number vector, const Processor_mask *affinity) |
rtems_status_code | bsp_interrupt_get_affinity (rtems_vector_number vector, Processor_mask *affinity) |
void | arm_gic_trigger_sgi (rtems_vector_number vector, uint32_t targets) |
uint32_t | arm_gic_irq_processor_count (void) |
This source file contains the implementation of ARM GICv2 support.
void bsp_interrupt_dispatch | ( | void | ) |
Interrupt dispatch.
Called by OS to determine which interrupt occured. Function passes control to interrupt handler.