File indexing completed on 2025-05-11 08:23:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef LIBBSP_GENERIC_OR1K_IRQ_H
0018 #define LIBBSP_GENERIC_OR1K_IRQ_H
0019
0020 #ifndef ASM
0021
0022 #include <rtems.h>
0023 #include <rtems/irq.h>
0024 #include <rtems/irq-extension.h>
0025
0026 #include <bsp/irq-default.h>
0027
0028
0029 #define OR1K_BSP_UART_REG_INT_ID_MSI (0x00)
0030 #define OR1K_BSP_UART_REG_INT_ID_NO_INT (0x01)
0031 #define OR1K_BSP_UART_REG_INT_ID_THRI (0x02)
0032 #define OR1K_BSP_UART_REG_INT_ID_RDI (0x04)
0033 #define OR1K_BSP_UART_REG_INT_ID_ID (0x06)
0034 #define OR1K_BSP_UART_REG_INT_ID_RLSI (0x06)
0035 #define OR1K_BSP_UART_REG_INT_ID_TOI (0x0c)
0036
0037
0038 #define OR1K_BSP_UART_REG_INT_ENABLE_RDI (0x01)
0039 #define OR1K_BSP_UART_REG_INT_ENABLE_THRI (0x02)
0040 #define OR1K_BSP_UART_REG_INT_ENABLE_RLSI (0x04)
0041 #define OR1K_BSP_UART_REG_INT_ENABLE_MSI (0x08)
0042
0043 #endif
0044 #endif