include/bsp/irq-generic.h File Reference

Header file for generic BSP interrupt support. More...

#include <bsp/irq-config.h>
#include <rtems.h>
#include <rtems/irq.h>

Include dependency graph for irq-generic.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  struct_bsp_interrupt_handler_entry

Defines

#define BSP_INTERRUPT_VECTOR_NUMBER
#define BSP_INTERRUPT_HANDLER_TABLE_SIZE

Typedefs

typedef struct
struct_bsp_interrupt_handler_entry 
bsp_interrupt_handler_entry

Functions

static
rtems_vector_number 
bsp_interrupt_handler_index (rtems_vector_number vector)
void bsp_interrupt_handler_empty ()
static int bsp_interrupt_is_empty_handler_entry (bsp_interrupt_handler_entry *e)
static int bsp_interrupt_is_valid_vector (rtems_vector_number vector)
 Returns non-zero if the interrupt vector with number vector is valid.
void bsp_interrupt_handler_default (rtems_vector_number vector)
 Default interrupt handler.
rtems_status_code bsp_interrupt_initialize ()
 Initialize BSP interrupt support.
rtems_status_code bsp_interrupt_facility_initialize ()
 BSP specific initialization.
rtems_status_code bsp_interrupt_vector_enable (rtems_vector_number vector)
 Enables the interrupt vector with number vector.
rtems_status_code bsp_interrupt_vector_disable (rtems_vector_number vector)
 Disables the interrupt vector with number vector.
static void bsp_interrupt_handler_dispatch (rtems_vector_number vector)
 Sequencially calls all interrupt handlers for the vector number vector.

Variables

bsp_interrupt_handler_entry bsp_interrupt_handler_table []


Detailed Description

Header file for generic BSP interrupt support.

Definition in file irq-generic.h.


Define Documentation

#define BSP_INTERRUPT_HANDLER_TABLE_SIZE

Definition at line 49 of file irq-generic.h.

#define BSP_INTERRUPT_VECTOR_NUMBER

Definition at line 46 of file irq-generic.h.


Typedef Documentation

typedef struct struct_bsp_interrupt_handler_entry bsp_interrupt_handler_entry

Definition at line 62 of file irq-generic.h.


Function Documentation

void bsp_interrupt_handler_empty (  ) 

Definition at line 62 of file irq-generic.c.

static rtems_vector_number bsp_interrupt_handler_index ( rtems_vector_number  vector  )  [inline, static]

Definition at line 70 of file irq-generic.h.

References BSP_INTERRUPT_VECTOR_MIN.

Referenced by bsp_interrupt_handler_dispatch(), bsp_interrupt_handler_install(), and bsp_interrupt_handler_remove().

static int bsp_interrupt_is_empty_handler_entry ( bsp_interrupt_handler_entry e  )  [inline, static]

Definition at line 81 of file irq-generic.h.

References bsp_interrupt_handler_empty(), and struct_bsp_interrupt_handler_entry::handler.

Referenced by bsp_interrupt_allocate_handler_index(), bsp_interrupt_handler_dispatch(), and bsp_interrupt_handler_install().


Variable Documentation

bsp_interrupt_handler_entry bsp_interrupt_handler_table[]

Definition at line 27 of file irq-generic.c.


Generated on Mon May 19 15:42:10 2008 for RTEMS by  doxygen 1.5.3