]> git.proxmox.com Git - mirror_edk2.git/commit
EmbeddedPkg/RealTimeClockRuntimeDxe: Improve GetWakeupTime
authorMarcin Wojtas <mw@semihalf.com>
Mon, 24 May 2021 03:54:41 +0000 (05:54 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 2 Jun 2021 07:16:28 +0000 (07:16 +0000)
commitb233eb1849ac01bdd5b24ea84460a2e481a4c5a9
tree5ddd72bdd0f349323d6779889f22c17c271e4a21
parentfdf3666f01a2dd02d83a808f609b9c744a74c652
EmbeddedPkg/RealTimeClockRuntimeDxe: Improve GetWakeupTime

GetWakeupTime should return full time information, including
the daylight/timezone. Make use of the existing non-volatile
variables for that purpose. Moreover add an error checking
of possibly invalid parameters.
This partially fixes FWTS and SCT Set/GetWakeupTime tests on
Marvell platforms.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c