RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros | Functions

This source file contains the implementation of the generic GICv2 support. More...

#include <dev/irq/arm-gic.h>
#include <dev/irq/arm-gic-arch.h>
#include <bsp/irq-generic.h>
#include <bsp/start.h>
#include <rtems/score/assert.h>
#include <rtems/score/processormaskimpl.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 bsp_interrupt_set_priority (rtems_vector_number vector, uint32_t priority)
 Sets the priority of the interrupt vector.
 
rtems_status_code bsp_interrupt_get_priority (rtems_vector_number vector, uint32_t *priority)
 Gets the priority of the interrupt vector.
 
void arm_gic_trigger_sgi (rtems_vector_number vector, uint32_t targets)
 

Detailed Description

This source file contains the implementation of the generic GICv2 support.

Function Documentation

◆ bsp_interrupt_dispatch()

void bsp_interrupt_dispatch ( void  )

Interrupt dispatch.

Called by OS to determine which interrupt occured. Function passes control to interrupt handler.

Returns
Void