audk/EmbeddedPkg/Include/Library
Pete Batard bbb8a81858 EmbeddedPkg/TimeBaseLib: Add macros to get build year/month/day
These can be used, for instance, to automate the population of an SMBIOS
Type 0 BIOS Release Date when building a UEFI firmware (which is how we
plan to use these macros for the Raspberry Pi platform).

These macros should work for any compiler that follows ISO/IEC 9899, but
we add a check for the compiler we have tested to be on the safe side.

Note that we decided against adding a #error or #warn for compilers that
haven't been validated, as we don't want to introduce breakage for people
who may already be using the header with something else than gcc, MSVC or
Clang. Instead, we expect those to send a patch that adds their compiler
to the list, once they have tested the macros there.

Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2020-08-03 11:58:15 +00:00
..
AcpiLib.h EmbeddedPkg/AcpiLib: add GICC table init macro for ACPI 6.3 2020-03-30 14:48:59 +00:00
AndroidBootImgLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
DebugAgentTimerLib.h EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
DmaLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
DtPlatformDtbLoaderLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
EfiFileLib.h EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
EfiResetSystemLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
FdtLoadLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
GdbSerialLib.h EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
HalRuntimeServicesLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
NorFlashInfoLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
PrePiHobListPointerLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
PrePiLib.h EmbeddedPkg: Fix various typos 2019-07-04 12:21:04 +01:00
RealTimeClockLib.h EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
TimeBaseLib.h EmbeddedPkg/TimeBaseLib: Add macros to get build year/month/day 2020-08-03 11:58:15 +00:00