audk/ArmPlatformPkg
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
..
ArmJunoPkg ArmPlatformPkg: Add PCD for SBSA Watchdog Count 2017-10-06 15:15:22 +01:00
ArmVExpressPkg ArmPlatformPkg: convert VExpress ResetSystemLib to ResetSystemLib 2017-07-05 16:28:35 +01:00
Documentation ArmPlatformPkg: Rectify file modes 2016-02-02 11:42:31 +00:00
Drivers ArmPlatformPkg: Support different PL011 reg offset 2017-07-17 17:27:27 +01:00
FileSystem/BootMonFs ArmPlatformPkg/BootMonFs: eliminate deprecated string functions 2016-10-28 15:56:13 +01:00
Include ArmPlatformPkg: Support different PL011 reg offset 2017-07-17 17:27:27 +01:00
Library ArmPlatformPkg/PL031RealTimeClockLib: ignore DST setting when timezone is set 2017-11-13 13:33:42 +00:00
MemoryInitPei ArmPlatformPkg: remove EFI_MEMORY_UC attribute from normal memory 2016-09-08 10:35:33 +01:00
PlatformPei ArmPlatformPkg/PlatformPeim: allow PlatformPeiLib to set the boot mode 2017-11-05 16:19:00 +00:00
PrePeiCore ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core 2017-11-09 21:08:07 +00:00
PrePi ArmPlatformPkg: Store initial timer value 2017-10-10 17:30:39 +01:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg: Add PCD for SBSA Watchdog Count 2017-10-06 15:15:22 +01:00