Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup RTEMSBSPsARMCycVIRQ |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef LIBBSP_ARM_ALTERA_CYCLONE_V_IRQ_H |
---|
16 | #define LIBBSP_ARM_ALTERA_CYCLONE_V_IRQ_H |
---|
17 | |
---|
18 | #ifndef ASM |
---|
19 | |
---|
20 | #include <rtems/irq.h> |
---|
21 | #include <rtems/irq-extension.h> |
---|
22 | |
---|
23 | #include <bsp/arm-a9mpcore-irq.h> |
---|
24 | #include <dev/irq/arm-gic-irq.h> |
---|
25 | #include <bsp/alt_interrupt_common.h> |
---|
26 | |
---|
27 | #ifdef __cplusplus |
---|
28 | extern "C" { |
---|
29 | #endif /* __cplusplus */ |
---|
30 | |
---|
31 | /** |
---|
32 | * @defgroup RTEMSBSPsARMCycVIRQ Interrupt Support |
---|
33 | * |
---|
34 | * @ingroup RTEMSBSPsARMCycV |
---|
35 | * |
---|
36 | * @ingroup bsp_interrupt |
---|
37 | * |
---|
38 | * @brief Intel Cyclone V Interrupt Support. |
---|
39 | * |
---|
40 | * @{ |
---|
41 | */ |
---|
42 | |
---|
43 | /* Use interrupt IDs as defined in alt_interrupt_common.h */ |
---|
44 | #define BSP_INTERRUPT_VECTOR_COUNT \ |
---|
45 | (ALT_INT_INTERRUPT_RAM_ECC_UNCORRECTED_IRQ + 1) |
---|
46 | |
---|
47 | /** @} */ |
---|
48 | |
---|
49 | #ifdef __cplusplus |
---|
50 | } |
---|
51 | #endif /* __cplusplus */ |
---|
52 | |
---|
53 | #endif /* ASM */ |
---|
54 | |
---|
55 | #endif /* LIBBSP_ARM_ALTERA_CYCLONE_V_IRQ_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.