summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/sitecustomize.py
diff options
context:
space:
mode:
authorCeping Sun <cepingx.sun@intel.com>2024-09-27 13:52:07 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-03-20 02:37:31 +0000
commitfb56dc78efb9e49aa387f22bede1dd2ca2458da5 (patch)
tree984fa1dd8ac51925b70c63764362d31b4633c92d /BaseTools/Source/Python/sitecustomize.py
parentbe529ef3c9d617209fb6b17206e35b656edc68cf (diff)
downloadedk2-fb56dc78efb9e49aa387f22bede1dd2ca2458da5.zip
edk2-fb56dc78efb9e49aa387f22bede1dd2ca2458da5.tar.gz
edk2-fb56dc78efb9e49aa387f22bede1dd2ca2458da5.tar.bz2
OvmfPkg/QemuFwCfgLib: Support Cache FwCfg with optional measurement
OVMF uses FW_CFG_SELECTOR(0x510) and FW_CFG_IO_DATA(0x511) to get configuration information from QEMU. From the security perspective these information shall be measured before they're consumed. This patch reads the FwCfg items and caches them in a GuidHob. In the meanwhile these FwCfg items are measured as well. This is to avoid changing the order when reading the FwCfg process, which depends on multiple factors(depex, order in the Firmware volume). Cc: Erdem Aktas <erdemaktas@google.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Elena Reshetova <elena.reshetova@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions