audk/ArmPlatformPkg/Library
Ard Biesheuvel 207bc6a38c ArmPlatformPkg/PL031RealTimeClockLib: ignore DST setting when timezone is set
According to the UEFI spec, the timezone setting which the platform needs
to record in addition to the actual date and time already reflects the
current DST setting. In other words, moving the clock from standard time
to daylight saving time also involves adding or subtracting 60 minutes
from the timezone setting, as well as flicking the EFI_TIME_IN_DAYLIGHT
bit in the DST setting.

This means we need to disregard the DST setting if the timezone is
specified, and only add or subtract the additional hour if we are on
local time.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-11-13 13:33:42 +00:00
..
ArmPlatformLibNull ArmPlatformPkg/ArmPlatformLibNull: switch to ASM_FUNC() asm macro 2016-08-11 13:25:05 +02:00
ArmPlatformSecLibNull ArmPlatformPkg: Increase more ARM address Pcd entries to 64-bit. 2014-11-11 00:43:03 +00:00
ArmPlatformStackLib ArmPlatformPkg/ArmPlatformStackLib: use callee preserved registers 2017-02-22 13:22:41 +00:00
ArmPlatformSysConfigLibNull ArmPlatformPkg: Introduced ArmPlatformSysConfigLib NULL library 2014-09-18 21:15:29 +00:00
ArmShellCmdRunAxf ArmPlatformPkg/ArmShellCmdRunAxf: remove BdsLib dependency 2017-04-05 14:54:35 +01:00
ArmTrustedMonitorLibNull ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
DebugSecExtraActionLib ArmPkg ArmPlatformPkg ArmVirtPkg: ARM GICv2/v3 Base Address width fix-up 2016-09-08 09:16:01 +01:00
EblCmdLib ArmPlatformPkg/EblCmdLib: remove dependency on deprecated ARM BdsLib 2017-04-11 10:32:57 +01:00
L2X0CacheLibNull ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
PL011SerialPortLib ArmPlatformPkg: Remove UINTN cast when setting BaudRate. 2016-10-11 14:23:46 +01:00
PL031RealTimeClockLib ArmPlatformPkg/PL031RealTimeClockLib: ignore DST setting when timezone is set 2017-11-13 13:33:42 +00:00
PlatformIntelBdsLib ArmPlatformPkg/PlatformIntelBdsLib: don't clobber ConSplitter handle 2017-03-03 21:42:38 +00:00
PrePiHobListPointerLib ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
SP804TimerLib ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00