RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Functions | Variables
eirq.c File Reference

This source file contains the implementation of the interrupt controller support. More...

#include <bsp/irq-generic.h>
#include <bsp/irqimpl.h>
#include <rtems/score/processormaskimpl.h>

Functions

void leon3_ext_irq_init (irqamp *regs)
 Initializes the interrupt controller for the boot processor.
 
bool bsp_interrupt_is_valid_vector (rtems_vector_number vector)
 
void bsp_interrupt_facility_initialize (void)
 BSP specific initialization.
 
rtems_status_code bsp_interrupt_get_attributes (rtems_vector_number vector, rtems_interrupt_attributes *attributes)
 Gets the attributes of the interrupt vector.
 
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.
 
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.
 

Variables

uint32_t LEON3_IrqCtrl_EIrq
 This object provides the interrupt number used to multiplex extended interrupts or is zero if no extended interrupts are available.
 
rtems_interrupt_lock LEON3_IrqCtrl_Lock
 This lock serializes the interrupt controller access.
 

Detailed Description

This source file contains the implementation of the interrupt controller support.