audk/EmbeddedPkg/Include/Guid
Laszlo Ersek 7ab26d5180 EmbeddedPkg: introduce NvVarStoreFormattedLib
Some platforms don't format a variable store template at build time;
instead they format the non-volatile varstore flash chip during boot,
dynamically. Introduce NvVarStoreFormattedLib to enable such platforms to
delay the "variable read" service drivers until the platform specific
module(s) report that the variable store has been formatted.

The platform-specific module that performs the formatting during startup
is usually an FVB or MM FVB driver. Under the proposed scheme, it becomes
responsible for installing gEdkiiNvVarStoreFormattedGuid with a NULL
interface in the protocol database. In turn, the platform DSC will hook
NvVarStoreFormattedLib into the variable service driver, to make the
latter wait for the FVB driver. Platforms that need not delay the variable
service driver like this may still use the same FVB driver;
gEdkiiNvVarStoreFormattedGuid will simply be ignored.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Steve Capper <steve.capper@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-04-12 21:24:30 +02:00
..
ConsolePrefFormSet.h EmbeddedPkg: add driver to set graphical/serial console preference 2017-10-23 12:14:00 +01:00
DtPlatformDefaultDtbFile.h EmbeddedPkg: add DT platform driver to select between DT and ACPI 2017-03-28 18:58:15 +01:00
DtPlatformFormSet.h EmbeddedPkg: add DT platform driver to select between DT and ACPI 2017-03-28 18:58:15 +01:00
ExtractSection.h ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Fdt.h EmbeddedPkg : Add FdtPlatformDxe driver 2015-02-25 19:20:57 +00:00
FdtHob.h ArmVirtualizationPkg: use a HOB to store device tree blob 2015-02-28 20:26:00 +00:00
NvVarStoreFormatted.h EmbeddedPkg: introduce NvVarStoreFormattedLib 2018-04-12 21:24:30 +02:00
PlatformHasDeviceTree.h EmbeddedPkg: introduce EDKII Platform Has Device Tree GUID 2017-03-28 14:10:46 +02:00