audk/EmbeddedPkg/Library
Rebecca Cran 94fa95c874 EmbeddedPkg: Only print LibGetTime message about compile time epoch once
The message "LibGetTime: RtcEpochSeconds non volatile variable was not
found - Using compilation time epoch." can be printed a very large
number of times, causing log files to become excessively large. This is
because the RtcEpochSeconds variable only gets set if LibSetTime is
called, for example by running 'time 12:00' in the UEFI Shell.

Avoid this by setting RtcEpochSeconds to BUILD_EPOCH (EpochSeconds)
after printing the message. It's set to a volatile variable so the
message will be displayed on future boots and not hidden.

Commit 44ae214591 reduced the verbosity of
the message to DEBUG_VERBOSE. Revert it back to DEBUG_INFO so it's more
prominent now that it doesn't get printed so frequently.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2021-03-08 12:28:20 +00:00
..
AcpiLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
AndroidBootImgLib EmbeddedPkg: fix gcc build errors in AndroidBootImgLib 2020-07-23 12:05:44 +00:00
CoherentDmaLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
DebugAgentTimerLibNull EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
DxeDtPlatformDtbLoaderLibDefault EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
FdtLib EmbeddedPkg: delete outdated FdtLib README.txt 2019-10-04 11:18:22 +01:00
GdbSerialDebugPortLib EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
GdbSerialLib EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
NonCoherentDmaLib EmbeddedPkg/NonCoherentDmaLib: avoid dereferencing bogus buffer address 2020-06-17 18:28:29 +00:00
NorFlashInfoLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
NvVarStoreFormattedLib EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS 2019-04-29 15:34:16 +02:00
PlatformHasAcpiLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
PrePiExtractGuidedSectionLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
PrePiHobLib EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
PrePiLib EmbeddedPkg: list module-internal header files in INF [Sources] 2019-07-23 00:20:34 +02:00
PrePiMemoryAllocationLib EmbeddedPkg/PrePiMemoryAllocationLib: use correct size for pool hob 2021-01-08 13:37:57 +00:00
TemplateRealTimeClockLib EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
TemplateResetSystemLib EmbeddedPkg: add missing newline at end of TemplateResetSystemLib.inf 2019-10-04 11:18:22 +01:00
TimeBaseLib EmbeddedPkg/TimeBaseLib: Add function to check Timezone and Daylight 2021-01-07 16:43:48 +00:00
VirtualRealTimeClockLib EmbeddedPkg: Only print LibGetTime message about compile time epoch once 2021-03-08 12:28:20 +00:00