summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/or1ksim/include/irq.h
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-04-18 17:25:51 +0100
committerGedare Bloom <gedare@rtems.org>2015-04-19 06:26:36 -0400
commit3d597c04ed42d61fcd22a42f1d68c4b1621334fe (patch)
treeff0951ca63f0ff5c8cd432fa63aafffd677ca078 /c/src/lib/libbsp/or1k/or1ksim/include/irq.h
parentsp13: Document message buffer usage and adjust configuration (diff)
downloadrtems-3d597c04ed42d61fcd22a42f1d68c4b1621334fe.tar.bz2
Rename or1ksim BSP to generic_or1k
or1ksim BSP was initially named after or1ksim simulator, and it was intented to only run there. But now it can also run on QEMU, jor1k and real FPGA boards without modifications. It makes more sense to give it a new generic name like generic_or1k.
Diffstat (limited to 'c/src/lib/libbsp/or1k/or1ksim/include/irq.h')
-rw-r--r--c/src/lib/libbsp/or1k/or1ksim/include/irq.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/c/src/lib/libbsp/or1k/or1ksim/include/irq.h b/c/src/lib/libbsp/or1k/or1ksim/include/irq.h
deleted file mode 100644
index be669d84a0..0000000000
--- a/c/src/lib/libbsp/or1k/or1ksim/include/irq.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * @file
- *
- * @ingroup or1ksim_interrupt
- *
- * @brief Interrupt definitions.
- */
-
-/**
- * COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE
- */
-
-#ifndef LIBBSP_OR1K_OR1KSIM_IRQ_H
-#define LIBBSP_OR1K_OR1KSIM_IRQ_H
-
-#ifndef ASM
-
-#include <rtems.h>
-#include <rtems/irq.h>
-#include <rtems/irq-extension.h>
-
-#define BSP_INTERRUPT_VECTOR_MIN 0x100
-#define BSP_INTERRUPT_VECTOR_MAX 0x1F00
-
-/* Interrupt Identification Register */
-#define OR1KSIM_BSP_UART_REG_INT_ID_MSI (0x00)
-#define OR1KSIM_BSP_UART_REG_INT_ID_NO_INT (0x01)
-#define OR1KSIM_BSP_UART_REG_INT_ID_THRI (0x02)
-#define OR1KSIM_BSP_UART_REG_INT_ID_RDI (0x04)
-#define OR1KSIM_BSP_UART_REG_INT_ID_ID (0x06)
-#define OR1KSIM_BSP_UART_REG_INT_ID_RLSI (0x06)
-#define OR1KSIM_BSP_UART_REG_INT_ID_TOI (0x0c)
-
-/* Interrupt Enable Register */
-#define OR1KSIM_BSP_UART_REG_INT_ENABLE_RDI (0x01)
-#define OR1KSIM_BSP_UART_REG_INT_ENABLE_THRI (0x02)
-#define OR1KSIM_BSP_UART_REG_INT_ENABLE_RLSI (0x04)
-#define OR1KSIM_BSP_UART_REG_INT_ENABLE_MSI (0x08)
-
-#endif /* ASM */
-#endif /* LIBBSP_OR1K_OR1KSIM_IRQ_H */