summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
diff options
context:
space:
mode:
authorZhiguang Liu <zhiguang.liu@intel.com>2021-05-07 08:34:20 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-06-24 12:16:22 +0300
commit82f727c4af3289e7765b36e9c55c57cc61de4065 (patch)
tree2c89c48a1d49b933bb34a338ef55de8d4465763c /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
parent12e34cd2f7900578ee83cb01b8f1696a7bb7511b (diff)
downloadedk2-82f727c4af3289e7765b36e9c55c57cc61de4065.tar.xz
UefiPayloadPkg: Add HobLib for UniversalPayload
For payload entry, use PayloadEntryHobLib as HobLib and payload entry should initialize hob base. For DxeCore, use new added DxeHobLib as HobLib, and DxeCore will initialize hob base. For Dxe Driver, use new added DxeHobLib as HobLib, and use DxeHobListLib to initialize hob base. Adding a new library DxeHobLib + DxeHobListLib instead of using the DxeHobLib.inf in MdePkg is because the constructor needed be separated from DxeHobLib. If not, when building UefiPayloadPkg, the dependency chain is as below: DebugLib -> SerialPortLib -> PlatformHookLib -> HobLib -> DebugLib Each library has a constructor, and this becomes a constructor circle. To break the circle, separate the constructor from the HobLib as a new DxeHobListLib, which won't depend on DebugLib. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com> Signed-off-by: Ray Ni <ray.ni@intel.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions