3 * Copyright (c) 2013-2014, ARM Limited. All rights reserved.
5 * SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include <Library/ArmGicLib.h>
10 #include <Library/IoLib.h>
14 ArmGicV2AcknowledgeInterrupt (
15 IN UINTN GicInterruptInterfaceBase
18 // Read the Interrupt Acknowledge Register
19 return MmioRead32 (GicInterruptInterfaceBase
+ ARM_GIC_ICCIAR
);
24 ArmGicV2EndOfInterrupt (
25 IN UINTN GicInterruptInterfaceBase
,
29 MmioWrite32 (GicInterruptInterfaceBase
+ ARM_GIC_ICCEIOR
, Source
);