diff options
author | Kun Qin <kuqin@microsoft.com> | 2024-10-10 15:42:26 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-11 18:21:29 +0000 |
commit | 6539b693d1322b27dff78e5b433324cb1690c732 (patch) | |
tree | 2ad91e8816386189a4b8a3fdfbac65f70ba4db3e | |
parent | 9d0f3dd35d86fba542d38467ff679fd961e0f6f0 (diff) | |
download | edk2-6539b693d1322b27dff78e5b433324cb1690c732.tar.gz |
MdePkg: ArmLib: Return UINT32 for ArmCacheWritebackGranule
ArmCacheWritebackGranule should not return value higher than MAX_UINT32.
This change will allow the usage without architecture depenedent return
size.
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Kun Qin <kun.qin@microsoft.com>
-rw-r--r-- | MdePkg/Include/Library/ArmLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/ArmLib.h b/MdePkg/Include/Library/ArmLib.h index 087cddfb76..a5823afdb2 100644 --- a/MdePkg/Include/Library/ArmLib.h +++ b/MdePkg/Include/Library/ArmLib.h @@ -156,7 +156,7 @@ ArmInstructionCacheLineLength ( VOID
);
-UINTN
+UINT32
EFIAPI
ArmCacheWritebackGranule (
VOID
|