summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2021-01-06 23:09:02 +0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-07 16:43:48 +0000
commite31dc4717c75d8e771dfa5c9b1648fa20d88ab0d (patch)
treebdbf235236e0f97c791ad02de8b94d2e7a3b81a9 /EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
parentad16388d69c653333275fcb266617d7fa0c24ff4 (diff)
downloadedk2-e31dc4717c75d8e771dfa5c9b1648fa20d88ab0d.tar.gz
edk2-e31dc4717c75d8e771dfa5c9b1648fa20d88ab0d.tar.bz2
edk2-e31dc4717c75d8e771dfa5c9b1648fa20d88ab0d.zip
EmbeddedPkg/TimeBaseLib: Add function to check Timezone and Daylight
This adds two functions IsValidTimeZone() and IsValidDaylight() to check the time zone and daylight value from EFI time. These functions are retrieved from the RealTimeClockRuntimeDxe module as they reduce duplicated code in RTC modules. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf')
0 files changed, 0 insertions, 0 deletions