audk/UefiPayloadPkg
Zhiguang Liu 82f727c4af 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>
2021-06-24 09:16:22 +00:00
..
BlSupportDxe UefiPayloadPkg: Create gUniversalPayloadAcpiTableGuid Hob 2021-06-16 05:20:19 +00:00
GraphicsOutputDxe UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader 2019-04-15 12:30:05 -07:00
Include UefiPayloadPkg: Add HobLib for UniversalPayload 2021-06-24 09:16:22 +00:00
Library UefiPayloadPkg: Add HobLib for UniversalPayload 2021-06-24 09:16:22 +00:00
PayloadLoaderPeim UefiPayloadPkg: Add PayloadLoaderPeim which can load ELF payload 2021-06-16 07:51:00 +00:00
UefiPayloadEntry UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA 2021-06-22 19:03:48 +00:00
BuildAndIntegrationInstructions.txt UefiPayloadPkg: Remove PEI phase from Payload 2020-12-02 23:10:22 +00:00
UefiPayloadPkg.dec UefiPayloadPkg: Get platform specific logic via protocol for BDS 2021-06-16 05:20:19 +00:00
UefiPayloadPkg.dsc UefiPayloadPkg: Add HobLib for UniversalPayload 2021-06-24 09:16:22 +00:00
UefiPayloadPkg.fdf UefiPayloadPkg: Create gUniversalPayloadAcpiTableGuid Hob 2021-06-16 05:20:19 +00:00