]> git.proxmox.com Git - mirror_qemu.git/commit
include/hw/arm: move BSA definitions to bsa.h
authorLeif Lindholm <quic_llindhol@quicinc.com>
Tue, 19 Sep 2023 09:02:28 +0000 (10:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Oct 2023 13:32:13 +0000 (14:32 +0100)
commit2419ce83fce2300e61b5e6df256caddaa07a2ae0
tree20e46f2916819da8613a5dc05b85fe4dd72d7cb5
parent9036e917f8357f4e5965ebfecdab5964d40e6a40
include/hw/arm: move BSA definitions to bsa.h

virt.h defines a number of IRQs that are ultimately described by Arm's
Base System Architecture specification. Move these to a dedicated header
so that they can be reused by other platforms that do the same.
Include that header from virt.h to minimise churn.

While we're moving the definitions, sort them into numerical order,
and add the ARCH_TIMER_NS_EL2_VIRT_IRQ definition used by sbsa-ref
and which will eventually be needed by virt also.

Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Message-id: 20230919090229.188092-3-quic_llindhol@quicinc.com
[PMM: Remove unused PPI_TO_INTID macro; sort numerically;
 add ARCH_TIMER_NS_EL2_VIRT_IRQ]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/arm/bsa.h [new file with mode: 0644]
include/hw/arm/virt.h