RTEMS
5.1
bsps
arm
xilinx-zynqmp
include
bsp
irq.h
Go to the documentation of this file.
1
7
/*
8
* SPDX-License-Identifier: BSD-2-Clause
9
*
10
* Copyright (C) 2013 embedded brains GmbH
11
*
12
* Copyright (C) 2019 DornerWorks
13
*
14
* Written by Jeff Kubascik <jeff.kubascik@dornerworks.com>
15
* and Josh Whitehead <josh.whitehead@dornerworks.com>
16
*
17
* Redistribution and use in source and binary forms, with or without
18
* modification, are permitted provided that the following conditions
19
* are met:
20
* 1. Redistributions of source code must retain the above copyright
21
* notice, this list of conditions and the following disclaimer.
22
* 2. Redistributions in binary form must reproduce the above copyright
23
* notice, this list of conditions and the following disclaimer in the
24
* documentation and/or other materials provided with the distribution.
25
*
26
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
30
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36
* POSSIBILITY OF SUCH DAMAGE.
37
*/
38
39
#ifndef LIBBSP_ARM_XILINX_ZYNQMP_IRQ_H
40
#define LIBBSP_ARM_XILINX_ZYNQMP_IRQ_H
41
42
#ifndef ASM
43
44
#include <
rtems/irq.h
>
45
#include <
rtems/irq-extension.h
>
46
47
#include <
bsp/arm-gic-irq.h
>
48
49
#ifdef __cplusplus
50
extern
"C"
{
51
#endif
/* __cplusplus */
52
60
/* PPIs */
61
#define ZYNQMP_IRQ_HYP_TIMER 26
62
#define ZYNQMP_IRQ_VIRT_TIMER 27
63
#define ZYNQMP_IRQ_S_PHYS_TIMER 29
64
#define ZYNQMP_IRQ_NS_PHYS_TIMER 30
65
66
/* SPIs */
67
#define ZYNQMP_IRQ_UART_0 53
68
#define ZYNQMP_IRQ_UART_1 54
69
70
#define BSP_INTERRUPT_VECTOR_MIN 0
71
#define BSP_INTERRUPT_VECTOR_MAX 187
72
75
#ifdef __cplusplus
76
}
77
#endif
/* __cplusplus */
78
79
#endif
/* ASM */
80
81
#endif
/* LIBBSP_ARM_XILINX_ZYNQMP_IRQ_H */
arm-gic-irq.h
ARM GIC IRQ.
irq-extension.h
Header file for the Interrupt Manager Extension.
irq.h
Generated by
1.8.15