audk/OvmfPkg/Library/PeilessStartupLib
Min M Xu ee91d9ef24 OvmfPkg: Reserve and init EmuVariableNvStore in Pei-less Startup
EmuVariableNvStore is reserved and init with below 2 functions defined in
PlatformInitLib:
 - PlatformReserveEmuVariableNvStore
 - PlatformInitEmuVariableNvStore

PlatformInitEmuVariableNvStore works when secure boot feature is enabled.
This is because secure boot needs the EFI variables (PK/KEK/DB/DBX, etc)
and EmuVariableNvStore is cleared when OVMF is launched with -bios
parameter.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2022-09-06 07:21:42 +00:00
..
X64 OvmfPkg: Remove duplicated words 2022-09-05 13:52:51 +00:00
DxeLoad.c
Hob.c OvmfPkg: Search EFI_RESOURCE_MEMORY_UNACCEPTED for Fw hoblist 2022-06-02 09:10:00 +00:00
IntelTdx.c OvmfPkg/PeilessStartupLib: Delete TdxValidateCfv 2022-09-06 07:21:42 +00:00
PeilessStartup.c OvmfPkg: Reserve and init EmuVariableNvStore in Pei-less Startup 2022-09-06 07:21:42 +00:00
PeilessStartupInternal.h OvmfPkg/PeilessStartupLib: Delete TdxValidateCfv 2022-09-06 07:21:42 +00:00
PeilessStartupLib.inf OvmfPkg: Implement MeasureHobList/MeasureFvImage 2022-06-07 11:05:53 +00:00