RTEMS 6.1-rc7
Loading...
Searching...
No Matches
irq.h
Go to the documentation of this file.
1
17#ifndef LIBBSP_GENERIC_OR1K_IRQ_H
18#define LIBBSP_GENERIC_OR1K_IRQ_H
19
20#ifndef ASM
21
22#include <rtems.h>
23#include <rtems/irq.h>
24#include <rtems/irq-extension.h>
25
26#include <bsp/irq-default.h>
27
28/* Interrupt Identification Register */
29#define OR1K_BSP_UART_REG_INT_ID_MSI (0x00)
30#define OR1K_BSP_UART_REG_INT_ID_NO_INT (0x01)
31#define OR1K_BSP_UART_REG_INT_ID_THRI (0x02)
32#define OR1K_BSP_UART_REG_INT_ID_RDI (0x04)
33#define OR1K_BSP_UART_REG_INT_ID_ID (0x06)
34#define OR1K_BSP_UART_REG_INT_ID_RLSI (0x06)
35#define OR1K_BSP_UART_REG_INT_ID_TOI (0x0c)
36
37/* Interrupt Enable Register */
38#define OR1K_BSP_UART_REG_INT_ENABLE_RDI (0x01)
39#define OR1K_BSP_UART_REG_INT_ENABLE_THRI (0x02)
40#define OR1K_BSP_UART_REG_INT_ENABLE_RLSI (0x04)
41#define OR1K_BSP_UART_REG_INT_ENABLE_MSI (0x08)
42
43#endif /* ASM */
44#endif /* LIBBSP_GENERIC_OR1K_IRQ_H */
This header file is provided for backward compatiblility.
This header file defines the RTEMS Classic API.