You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
Build SMM HOBs for universal payload
UEFI payload built from open sourced EDK2 supports SMM variable now. So build the required HOBs to work with EDK2. This patch just changed the common SBL code, so there is no platform change required. This patch also added a PCD PcdBuildSmmHobs for old SMM HOBs and new SMM HOBs. Late old SMM HOBs might be dropped. Signed-off-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
@@ -149,6 +149,15 @@
|
||||
# 0x0002 - RSA_PSS.<BR>
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdCompSignSchemeSupportedMask | 0x03| UINT8 | 0x20000704
|
||||
|
||||
## This PCD indicates which SMM HOBs to build
|
||||
# BIT0 - If it set it would support SMM variable related HOBs using old format.<BR>
|
||||
# Old HOB format refer these file headers: SmmInformationGuid.h, LoaderPlatformInfoGuid.h
|
||||
# FlashMapInfoGuid.h, DeviceTableHobGuid.h
|
||||
# BIT1 - If it set it would support SMM variable related HOBs using new format.<BR>
|
||||
# New HOB format refer these file headers: SmmS3CommunicationInfoGuid.h, SpiFlashInfoGuid.h
|
||||
# SmmRegisterInfoGuid.h and NvVariableInfoGuid.h
|
||||
gPlatformCommonLibTokenSpaceGuid.PcdBuildSmmHobs | 0x03| UINT8 | 0x20000705
|
||||
|
||||
[PcdsFixedAtBuild, PcdsPatchableInModule]
|
||||
# For patchable PCDs, try to set the default as none-zero
|
||||
# It is to prevent it from being put into BSS section, thus cause patching issue
|
||||
|
||||
Reference in New Issue
Block a user