mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
ArmPkg/ArmGic: Remove ArmGicEndOfInterrupt () API
ArmGicEndOfInterrupt () is never used: the v2 and v3 versions of the driver call respective specific versions directly, and so this API can be removed. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
aad4dd9aac
commit
a4928a0cfc
@ -137,25 +137,6 @@ ArmGicGetMaxNumInterrupts (
|
|||||||
return (ItLines == 0x1f) ? 1020 : 32 * (ItLines + 1);
|
return (ItLines == 0x1f) ? 1020 : 32 * (ItLines + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
|
||||||
EFIAPI
|
|
||||||
ArmGicEndOfInterrupt (
|
|
||||||
IN UINTN GicInterruptInterfaceBase,
|
|
||||||
IN UINTN Source
|
|
||||||
)
|
|
||||||
{
|
|
||||||
ARM_GIC_ARCH_REVISION Revision;
|
|
||||||
|
|
||||||
Revision = ArmGicGetSupportedArchRevision ();
|
|
||||||
if (Revision == ARM_GIC_ARCH_REVISION_2) {
|
|
||||||
ArmGicV2EndOfInterrupt (GicInterruptInterfaceBase, Source);
|
|
||||||
} else if (Revision == ARM_GIC_ARCH_REVISION_3) {
|
|
||||||
ArmGicV3EndOfInterrupt (Source);
|
|
||||||
} else {
|
|
||||||
ASSERT_EFI_ERROR (EFI_UNSUPPORTED);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ArmGicSetInterruptPriority (
|
ArmGicSetInterruptPriority (
|
||||||
|
@ -151,13 +151,6 @@ ArmGicGetMaxNumInterrupts (
|
|||||||
IN UINTN GicDistributorBase
|
IN UINTN GicDistributorBase
|
||||||
);
|
);
|
||||||
|
|
||||||
VOID
|
|
||||||
EFIAPI
|
|
||||||
ArmGicEndOfInterrupt (
|
|
||||||
IN UINTN GicInterruptInterfaceBase,
|
|
||||||
IN UINTN Source
|
|
||||||
);
|
|
||||||
|
|
||||||
UINTN
|
UINTN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ArmGicSetPriorityMask (
|
ArmGicSetPriorityMask (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user