hw/hppa/Kconfig: Fix building with "configure --without-default-devices"
[qemu/ar7.git] / include / hw / arm / bsa.h
blob8eaab603c03ac5f5febbc759dfea19588122a7d6
1 /*
2 * Common definitions for Arm Base System Architecture (BSA) platforms.
4 * Copyright (c) 2015 Linaro Limited
5 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2 or later, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef QEMU_ARM_BSA_H
22 #define QEMU_ARM_BSA_H
24 /* These are architectural INTID values */
25 #define VIRTUAL_PMU_IRQ 23
26 #define ARCH_GIC_MAINT_IRQ 25
27 #define ARCH_TIMER_NS_EL2_IRQ 26
28 #define ARCH_TIMER_VIRT_IRQ 27
29 #define ARCH_TIMER_NS_EL2_VIRT_IRQ 28
30 #define ARCH_TIMER_S_EL1_IRQ 29
31 #define ARCH_TIMER_NS_EL1_IRQ 30
33 #define INTID_TO_PPI(irq) ((irq) - 16)
35 #endif /* QEMU_ARM_BSA_H */