summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/EmbeddedPkg.dsc
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2019-02-04 12:47:36 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2019-02-15 11:07:08 +0100
commit64a17fadcb79e2ce40524abb88a6863f47cbc0c7 (patch)
treeedc9eea555b8f24087179c982fbe4d96ff3ca021 /EmbeddedPkg/EmbeddedPkg.dsc
parent1b261a705f947a4abb9024eca307a7c52cc5e6d5 (diff)
downloadedk2-64a17fadcb79e2ce40524abb88a6863f47cbc0c7.tar.gz
edk2-64a17fadcb79e2ce40524abb88a6863f47cbc0c7.tar.bz2
edk2-64a17fadcb79e2ce40524abb88a6863f47cbc0c7.zip
EmbeddedPkg/Library: Add VirtualRealTimeClockLib
This is designed to be used on platforms where a a real RTC is not available and relies on an RtcEpochSeconds variable having been set or, if that is not the case, falls back to using the epoch embedded at compilation time. Note that, in order to keep things simple for the setting of the compilation time variable, only GCC environments with UNIX-like shells and where a 'date' command is available are meant to be supported for now. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'EmbeddedPkg/EmbeddedPkg.dsc')
-rw-r--r--EmbeddedPkg/EmbeddedPkg.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc
index 4d9e6399d5..dc5040e611 100644
--- a/EmbeddedPkg/EmbeddedPkg.dsc
+++ b/EmbeddedPkg/EmbeddedPkg.dsc
@@ -218,6 +218,7 @@
EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
+ EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf