summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-01-16 15:51:27 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-17 18:37:27 +0000
commitaad4dd9aac345e3e971c6b1bd548ac6e09a4183f (patch)
treeb4bbdae4d3f3060601df3d3cf1964b096eac66d1
parentec5bb8f95334de73c872a4d071a9800d688efb83 (diff)
downloadedk2-aad4dd9aac345e3e971c6b1bd548ac6e09a4183f.tar.gz
ArmPkg/ArmGic: Remove ArmGicSendSgiTo () API
ArmGicSendSgiTo () is never used, and is fundamentally tied to multi-CPU operation which is no longer supported. So drop the implementation. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
-rw-r--r--ArmPkg/Drivers/ArmGic/ArmGicLib.c17
-rw-r--r--ArmPkg/Include/Library/ArmGicLib.h9
2 files changed, 0 insertions, 26 deletions
diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c b/ArmPkg/Drivers/ArmGic/ArmGicLib.c
index 206ad2e581..5f07d0562c 100644
--- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c
+++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c
@@ -139,23 +139,6 @@ ArmGicGetMaxNumInterrupts (
VOID
EFIAPI
-ArmGicSendSgiTo (
- IN UINTN GicDistributorBase,
- IN UINT8 TargetListFilter,
- IN UINT8 CPUTargetList,
- IN UINT8 SgiId
- )
-{
- MmioWrite32 (
- GicDistributorBase + ARM_GIC_ICDSGIR,
- ((TargetListFilter & 0x3) << 24) |
- ((CPUTargetList & 0xFF) << 16) |
- (SgiId & 0xF)
- );
-}
-
-VOID
-EFIAPI
ArmGicEndOfInterrupt (
IN UINTN GicInterruptInterfaceBase,
IN UINTN Source
diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h
index 32807c213b..70c80cfb05 100644
--- a/ArmPkg/Include/Library/ArmGicLib.h
+++ b/ArmPkg/Include/Library/ArmGicLib.h
@@ -153,15 +153,6 @@ ArmGicGetMaxNumInterrupts (
VOID
EFIAPI
-ArmGicSendSgiTo (
- IN UINTN GicDistributorBase,
- IN UINT8 TargetListFilter,
- IN UINT8 CPUTargetList,
- IN UINT8 SgiId
- );
-
-VOID
-EFIAPI
ArmGicEndOfInterrupt (
IN UINTN GicInterruptInterfaceBase,
IN UINTN Source