RTEMS 6.1-rc1
|
i8259 Chip Support More...
Files | |
file | i8259.h |
Data structure and functions used to control i8259 chip. | |
Type definition for RTEMS managed interrupts | |
typedef unsigned short | rtems_i8259_masks |
volatile rtems_i8259_masks | i8259s_cache |
Function Prototypes | |
void | BSP_i8259s_init (void) |
int | BSP_irq_disable_at_i8259s (const rtems_irq_number irqLine) |
function to disable a particular irq at 8259 level. More... | |
int | BSP_irq_enable_at_i8259s (const rtems_irq_number irqLine) |
function to enable a particular irq at 8259 level. More... | |
int | BSP_irq_ack_at_i8259s (const rtems_irq_number irqLine) |
function to acknowledge a particular irq at 8259 level. More... | |
int | BSP_irq_enabled_at_i8259s (const rtems_irq_number irqLine) |
function to check if a particular irq is enabled at 8259 level. | |
int | BSP_i8259s_int_process (void) |
void | BSP_rtems_irq_mng_init (unsigned cpuId) |
i8259 Chip Support
int BSP_irq_ack_at_i8259s | ( | const rtems_irq_number | irqLine | ) |
function to acknowledge a particular irq at 8259 level.
After calling this function, if a device asserts an enabled interrupt line it will be propagated further to the processor. Mainly useful for people writing raw handlers as this is automagically done for RTEMS managed handlers.
int BSP_irq_disable_at_i8259s | ( | const rtems_irq_number | irqLine | ) |
function to disable a particular irq at 8259 level.
After calling this function, even if the device asserts the interrupt line it will not be propagated further to the processor.
1 | the interrupt was enabled originally |
0 | the interrupt was disabled originally |
<0 | error |
int BSP_irq_enable_at_i8259s | ( | const rtems_irq_number | irqLine | ) |
function to enable a particular irq at 8259 level.
After calling this function, if the device asserts the interrupt line it will be propagated further to the processor.