diff options
author | Kun Qin <kuqin@microsoft.com> | 2024-10-10 15:40:12 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-11 18:21:29 +0000 |
commit | 9d0f3dd35d86fba542d38467ff679fd961e0f6f0 (patch) | |
tree | 77140ab9ca286c10b33ead406f61c941f505babb /MdePkg | |
parent | 77d32b179661739ce9a7e59141338c460da54e47 (diff) | |
download | edk2-9d0f3dd35d86fba542d38467ff679fd961e0f6f0.tar.gz |
ArmPkg: ArmArchTimerLib: Update operations to be 64 bit wide
The existing operation in ArmArchTimerLib is operating on UINT32 or
UINT64 based on the target system. This casting game originates from the
fact that timer frequency is UINTN type.
This change will simply promote all operations to UINT64 based, which
will remove the casting and conditional #if in the code for better
portability and readability.
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>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions