]> git.proxmox.com Git - mirror_edk2.git/commit
UefiPayloadPkg: Add a common FVB SMM module
authorGuo Dong <guo.dong@intel.com>
Wed, 22 Sep 2021 21:42:50 +0000 (14:42 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 25 Oct 2021 17:28:21 +0000 (17:28 +0000)
commitae8acce8ae515545f6b206561e0ebf2a66a1d8f6
treeafdef6afdc281915e22b505e7e24827053e269f3
parent04714cef461cf9a8924839682292b0df9789b42d
UefiPayloadPkg: Add a common FVB SMM module

This FVB module is used to initialize NV variable region
and provide SMM FVB protocol to read/write SPI variable region.

This module consume HOB gNvVariableInfoGuid and depends on
FlashDeviceLib for the actual SPI device operate.

During FVB initialization, it will initialize the variable region
if the variable region is not valid. And it support to write initial
variable data from FFS file if it is found.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Benjamin You <benjamin.you@intel.com>
UefiPayloadPkg/FvbRuntimeDxe/FvbInfo.c [new file with mode: 0644]
UefiPayloadPkg/FvbRuntimeDxe/FvbService.c [new file with mode: 0644]
UefiPayloadPkg/FvbRuntimeDxe/FvbService.h [new file with mode: 0644]
UefiPayloadPkg/FvbRuntimeDxe/FvbServiceSmm.c [new file with mode: 0644]
UefiPayloadPkg/FvbRuntimeDxe/FvbSmm.inf [new file with mode: 0644]
UefiPayloadPkg/FvbRuntimeDxe/FvbSmmCommon.h [new file with mode: 0644]
UefiPayloadPkg/Include/Guid/NvVariableInfoGuid.h [new file with mode: 0644]
UefiPayloadPkg/UefiPayloadPkg.dec