RTEMS 7.0-rc1
Loading...
Searching...
No Matches
irq.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-2-Clause */
2
36#ifndef LIBBSP_GENERIC_OR1K_IRQ_H
37#define LIBBSP_GENERIC_OR1K_IRQ_H
38
39#ifndef ASM
40
41#include <rtems.h>
42#include <rtems/irq.h>
43#include <rtems/irq-extension.h>
44
45#include <bsp/irq-default.h>
46
47/* Interrupt Identification Register */
48#define OR1K_BSP_UART_REG_INT_ID_MSI (0x00)
49#define OR1K_BSP_UART_REG_INT_ID_NO_INT (0x01)
50#define OR1K_BSP_UART_REG_INT_ID_THRI (0x02)
51#define OR1K_BSP_UART_REG_INT_ID_RDI (0x04)
52#define OR1K_BSP_UART_REG_INT_ID_ID (0x06)
53#define OR1K_BSP_UART_REG_INT_ID_RLSI (0x06)
54#define OR1K_BSP_UART_REG_INT_ID_TOI (0x0c)
55
56/* Interrupt Enable Register */
57#define OR1K_BSP_UART_REG_INT_ENABLE_RDI (0x01)
58#define OR1K_BSP_UART_REG_INT_ENABLE_THRI (0x02)
59#define OR1K_BSP_UART_REG_INT_ENABLE_RLSI (0x04)
60#define OR1K_BSP_UART_REG_INT_ENABLE_MSI (0x08)
61
62#endif /* ASM */
63#endif /* LIBBSP_GENERIC_OR1K_IRQ_H */
Interrupt Handler Support.
This header file is provided for backward compatiblility.
This header file defines the RTEMS Classic API.