ArmPkg: Fix return type for ArmGicGetInterfaceIdentification

The CPU Interface Identification Register (GICC_IIDR) is a 32-bit
register. Since ArmGicGetInterfaceIdentification () returns the value
read from the GICC_IIDR register, update the return type for this
function to UINT32.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Sami Mujawar 2021-05-26 18:24:55 +01:00 committed by mergify[bot]
parent ed132ef8ae
commit 937fbe4878
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ GicGetCpuRedistributorBase (
@retval CPU Interface Identification information. @retval CPU Interface Identification information.
**/ **/
UINTN UINT32
EFIAPI EFIAPI
ArmGicGetInterfaceIdentification ( ArmGicGetInterfaceIdentification (
IN UINTN GicInterruptInterfaceBase IN UINTN GicInterruptInterfaceBase

View File

@ -110,7 +110,7 @@
// Bit Mask for // Bit Mask for
#define ARM_GIC_ICCIAR_ACKINTID 0x3FF #define ARM_GIC_ICCIAR_ACKINTID 0x3FF
UINTN UINT32
EFIAPI EFIAPI
ArmGicGetInterfaceIdentification ( ArmGicGetInterfaceIdentification (
IN UINTN GicInterruptInterfaceBase IN UINTN GicInterruptInterfaceBase