diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h b/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h new file mode 100644 index 0000000000..c0e931b1b2 --- /dev/null +++ b/c/src/lib/libbsp/sparc/erc32/include/bsp/irq.h @@ -0,0 +1,20 @@ +/* ERC32 generic shared IRQ setup + * + * Based on libbsp/shared/include/irq.h. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef LIBBSP_ERC32_IRQ_CONFIG_H +#define LIBBSP_ERC32_IRQ_CONFIG_H + +#define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */ +#define BSP_INTERRUPT_VECTOR_MIN 0 +#define BSP_INTERRUPT_VECTOR_MAX BSP_INTERRUPT_VECTOR_MAX_STD + +/* No extra check is needed */ +#undef BSP_INTERRUPT_CUSTOM_VALID_VECTOR + +#endif /* LIBBSP_ERC32_IRQ_CONFIG_H */ |