audk/EmbeddedPkg
Ard Biesheuvel 517cf87794 EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core
RealTimeClockRuntimeDxe defers the hardware/platform specific handling
of reading/setting the hardware clock to RealTimeClockLib, but for
unknown reasons, it also defers common functionality such as input
validation and recording the timezone and DST settings (which are
informational only and not managed by hardware)

This has led to a lot of duplication in implementations of RealTimeClockLib
as well as TimeBaseLib, to the point where each library implementation
has its own set of UEFI variables to record the timezone and DST settings.
This makes little sense, and so let's update RealTimeClockRuntimeDxe now
to allow future implementations to rely on the core driver to take care of
these things.

Note that reading the timezone and DST settings occurs before calling into
the library, so we can phase out this behavior gradually from library
implementations in EDK2, edk2-platforms or out of tree.

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:26 +00:00
..
Application EmbeddedPkg/AndroidBoot: boot android kernel from storage 2017-08-20 12:36:34 +01:00
Drivers Drivers/SataSiI3132Dxe: Allow 64-bit DMA transfer 2017-10-27 13:53:35 +01:00
Ebl EmbeddedPkg/Ebl: eliminate deprecated string function calls 2016-10-28 15:53:59 +01:00
EblExternCmd ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
EmbeddedMonotonicCounter ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
GdbStub EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
Include EmbeddedPkg: Implement NorFlashInfoLib 2017-11-07 15:26:41 +00:00
Library EmbeddedPkg: Implement NorFlashInfoLib 2017-11-07 15:26:41 +00:00
MetronomeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RealTimeClockRuntimeDxe EmbeddedPkg/RealTimeClockRuntimeDxe: move common functionality into core 2017-11-13 13:33:26 +00:00
ResetRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Scripts/LauterbachT32 EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00
SimpleTextInOutSerial ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TemplateSec ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Universal/MmcDxe SD : Updated CMD 6 implememtation. 2017-09-07 17:06:44 +01:00
EmbeddedPkg.dec EmbeddedPkg: Implement NorFlashInfoLib 2017-11-07 15:26:41 +00:00
EmbeddedPkg.dsc EmbeddedPkg: implement NonCoherentDmaLib based on ArmDmaLib 2017-08-30 14:13:30 +01:00
EmbeddedPkg.fdf ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00