RTEMS  5.0.0
Macros | Functions
irq.h File Reference

This include file describe the data structure and the functions implemented by RTEMS to write interrupt handlers. More...

#include <rtems/irq.h>
#include <bsp/irq_supp.h>

Go to the source code of this file.

Macros

#define BSP_SHARED_HANDLER_SUPPORT   1
 
#define BSP_EXT_IRQ_NUMBER   (16)
 
#define BSP_CORE_IRQ_NUMBER   (32)
 
#define BSP_PCI_IRQ_NUMBER   (BSP_EXT_IRQ_NUMBER + BSP_CORE_IRQ_NUMBER)
 
#define BSP_PCI_IRQ_LOWEST_OFFSET   (0)
 
#define BSP_PCI_IRQ_MAX_OFFSET   (BSP_PCI_IRQ_LOWEST_OFFSET + BSP_PCI_IRQ_NUMBER - 1)
 
#define BSP_CORE_IRQ_LOWEST_OFFSET   (BSP_PCI_IRQ_LOWEST_OFFSET + BSP_EXT_IRQ_NUMBER)
 
#define BSP_CORE_IRQ_MAX_OFFSET   (BSP_CORE_IRQ_LOWEST_OFFSET + BSP_CORE_IRQ_NUMBER - 1)
 
#define BSP_PROCESSOR_IRQ_NUMBER   (1)
 
#define BSP_PROCESSOR_IRQ_LOWEST_OFFSET   (BSP_CORE_IRQ_MAX_OFFSET + 1)
 
#define BSP_PROCESSOR_IRQ_MAX_OFFSET   (BSP_PROCESSOR_IRQ_LOWEST_OFFSET + BSP_PROCESSOR_IRQ_NUMBER - 1)
 
#define BSP_MISC_IRQ_NUMBER   (8)
 
#define BSP_MISC_IRQ_LOWEST_OFFSET   (BSP_PROCESSOR_IRQ_MAX_OFFSET + 1)
 
#define BSP_MISC_IRQ_MAX_OFFSET   (BSP_MISC_IRQ_LOWEST_OFFSET + BSP_MISC_IRQ_NUMBER - 1)
 
#define BSP_IRQ_NUMBER   (BSP_MISC_IRQ_MAX_OFFSET + 1)
 
#define BSP_LOWEST_OFFSET   (BSP_PCI_IRQ_LOWEST_OFFSET)
 
#define BSP_MAX_OFFSET   (BSP_MISC_IRQ_MAX_OFFSET)
 
#define BSP_PCI_IRQ0   (BSP_PCI_IRQ_LOWEST_OFFSET)
 
#define BSP_VME0_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 0)
 
#define BSP_VME1_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 1)
 
#define BSP_VME2_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 2)
 
#define BSP_VME3_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 3)
 
#define BSP_ABORT_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 8)
 
#define BSP_TEMP_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 9)
 
#define BSP_PHY_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 10)
 
#define BSP_RTC_IRQ   (BSP_PCI_IRQ_LOWEST_OFFSET + 11)
 
#define BSP_UART_COM1_IRQ   (BSP_CORE_IRQ_LOWEST_OFFSET + 26)
 
#define BSP_UART_COM2_IRQ   (BSP_CORE_IRQ_LOWEST_OFFSET + 26)
 
#define BSP_I2C_IRQ   (BSP_CORE_IRQ_LOWEST_OFFSET + 27)
 
#define BSP_CORE_IRQ_FEC   (BSP_CORE_IRQ_LOWEST_OFFSET + 25)
 
#define BSP_CORE_IRQ_I2C   (BSP_CORE_IRQ_LOWEST_OFFSET + 27)
 
#define BSP_DECREMENTER   (BSP_PROCESSOR_IRQ_LOWEST_OFFSET)
 

Functions

void BSP_rtems_irq_mng_init (unsigned cpuId)
 

Detailed Description

This include file describe the data structure and the functions implemented by RTEMS to write interrupt handlers.