bsps: Move ARM GICv2 driver to bsps/shared

This moves the ARM GICv2 driver to bsps/shared to be usable by AArch64
code.
This commit is contained in:
Kinsey Moore
2020-10-29 13:40:54 -05:00
committed by Joel Sherrill
parent f0859573f9
commit a151ee167e
18 changed files with 33 additions and 32 deletions

View File

@@ -134,7 +134,7 @@
#define ARM_GIC_REDIST ((volatile gic_redist *) BSP_ARM_GIC_REDIST_BASE)
#define ARM_GIC_SGI_PPI (((volatile gic_sgi_ppi *) ((char*)BSP_ARM_GIC_REDIST_BASE + (1 << 16))))
void gicv3_interrupt_dispatch(void)
void gicvx_interrupt_dispatch(void)
{
uint32_t icciar = READ_SR(ICC_IAR1);
rtems_vector_number vector = GIC_CPUIF_ICCIAR_ACKINTID_GET(icciar);