source: rtems/c/src/lib/libbsp/sparc/leon2/include/bsp/irq.h @ 95518e59

4.11
Last change on this file since 95518e59 was 95518e59, checked in by Daniel Hellstrom <daniel@…>, on Apr 6, 2012 at 10:05:07 AM

SPARC BSPs: implemented shared-irq using libbsp/shared layer

The implementation use IRQ number instead of vector number since
some IRQs does not have a unique vector, for example the extended
interrupts all enter the same trap vector entry.

Added support for the LEON3 extended interrupt controller when using
the shared IRQ layer.

ERC32 patches untested.

Signed-off-by: Daniel Hellstrom <daniel@…>

Regenerate

  • Property mode set to 100644
File size: 591 bytes
Line 
1/* LEON2 generic shared IRQ setup
2 *
3 * Based on libbsp/shared/include/irq.h.
4 *
5 * The license and distribution terms for this file may be
6 * found in the file LICENSE in this distribution or at
7 * http://www.rtems.com/license/LICENSE.
8 */
9
10#ifndef LIBBSP_LEON2_IRQ_CONFIG_H
11#define LIBBSP_LEON2_IRQ_CONFIG_H
12
13#define BSP_INTERRUPT_VECTOR_MAX_STD 15 /* Standard IRQ controller */
14#define BSP_INTERRUPT_VECTOR_MIN 0
15#define BSP_INTERRUPT_VECTOR_MAX BSP_INTERRUPT_VECTOR_MAX_STD
16
17/* No extra check is needed */
18#undef BSP_INTERRUPT_CUSTOM_VALID_VECTOR
19
20#endif /* LIBBSP_LEON2_IRQ_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.