From 298d8c436a24d386c2f8ff2c117a755abe90ee6d Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 16 Jan 2025 16:46:20 +0100 Subject: [PATCH] ArmPkg/ArmGic: Drop declarations for non-existent functions Drop some ArmGicLib declarations that don't actually exist in the code. Signed-off-by: Ard Biesheuvel --- ArmPkg/Include/Library/ArmGicLib.h | 32 ------------------------------ 1 file changed, 32 deletions(-) diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h index 24fd323f2e..bb2e415e69 100644 --- a/ArmPkg/Include/Library/ArmGicLib.h +++ b/ArmPkg/Include/Library/ArmGicLib.h @@ -116,23 +116,6 @@ ArmGicGetInterfaceIdentification ( IN UINTN GicInterruptInterfaceBase ); -// GIC Secure interfaces -VOID -EFIAPI -ArmGicSetupNonSecure ( - IN UINTN MpId, - IN UINTN GicDistributorBase, - IN UINTN GicInterruptInterfaceBase - ); - -VOID -EFIAPI -ArmGicSetSecureInterrupts ( - IN UINTN GicDistributorBase, - IN UINTN *GicSecureInterruptMask, - IN UINTN GicSecureInterruptMaskSize - ); - VOID EFIAPI ArmGicDisableDistributor ( @@ -145,13 +128,6 @@ ArmGicGetMaxNumInterrupts ( IN UINTN GicDistributorBase ); -UINTN -EFIAPI -ArmGicSetPriorityMask ( - IN UINTN GicInterruptInterfaceBase, - IN INTN PriorityMask - ); - // GIC revision 2 specific declarations // Interrupts from 1020 to 1023 are considered as special interrupts @@ -159,14 +135,6 @@ ArmGicSetPriorityMask ( #define ARM_GIC_IS_SPECIAL_INTERRUPTS(Interrupt) \ (((Interrupt) >= 1020) && ((Interrupt) <= 1023)) -VOID -EFIAPI -ArmGicV2SetupNonSecure ( - IN UINTN MpId, - IN UINTN GicDistributorBase, - IN UINTN GicInterruptInterfaceBase - ); - VOID EFIAPI ArmGicV2EnableInterruptInterface (