diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2021-05-26 18:24:55 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-01 15:52:01 +0000 |
commit | 937fbe48780478ace3de8499de038e9b60179563 (patch) | |
tree | 8f1c3598eb6d40fd3cda23dac769e8f763cde3b9 /ArmPkg | |
parent | ed132ef8aea6a8202cf4ee96a542b3d7be72b5d9 (diff) | |
download | edk2-937fbe48780478ace3de8499de038e9b60179563.tar.gz edk2-937fbe48780478ace3de8499de038e9b60179563.tar.bz2 edk2-937fbe48780478ace3de8499de038e9b60179563.zip |
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>
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Drivers/ArmGic/ArmGicLib.c | 2 | ||||
-rw-r--r-- | ArmPkg/Include/Library/ArmGicLib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c b/ArmPkg/Drivers/ArmGic/ArmGicLib.c index eca4ddb7d3..eefe6350eb 100644 --- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c +++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c @@ -111,7 +111,7 @@ GicGetCpuRedistributorBase ( @retval CPU Interface Identification information.
**/
-UINTN
+UINT32
EFIAPI
ArmGicGetInterfaceIdentification (
IN UINTN GicInterruptInterfaceBase
diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h index cede7a24b7..93ce8aeb19 100644 --- a/ArmPkg/Include/Library/ArmGicLib.h +++ b/ArmPkg/Include/Library/ArmGicLib.h @@ -110,7 +110,7 @@ // Bit Mask for
#define ARM_GIC_ICCIAR_ACKINTID 0x3FF
-UINTN
+UINT32
EFIAPI
ArmGicGetInterfaceIdentification (
IN UINTN GicInterruptInterfaceBase
|