]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg: use UINT32 epoch second counter
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 13 Jun 2019 15:44:27 +0000 (16:44 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 17 Jun 2019 11:02:59 +0000 (12:02 +0100)
commit7c974d6b6e8119372d9e51b8b686d31d8665ab91
treee815fa0a2471df504653837367f5ec838a38197b
parent2378ea55151eef8284b4cf35e95b058b0e591ea0
ArmPlatformPkg: use UINT32 epoch second counter

The comments describes the device as being 32-bit:
"the maximum time span is just over 136 years"
then uses a UINTN to hold the value.

Change to UINT32 so we don't get different behaviour for different architectures.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c