Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 82f727c4af3289e7765b36e9c55c57cc61de4065 https://github.com/tianocore/edk2/commit/82f727c4af3289e7765b36e9c55c57cc61de4065 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021)
Changed paths: A UefiPayloadPkg/Include/Library/DxeHobListLib.h A UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf A UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.uni A UefiPayloadPkg/Library/DxeHobLib/HobLib.c A UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.c A UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf A UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.c A UefiPayloadPkg/Library/DxeHobListLibNull/DxeHobListLibNull.inf R UefiPayloadPkg/Library/HobLib/Hob.c R UefiPayloadPkg/Library/HobLib/HobLib.inf A UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c A UefiPayloadPkg/Library/PayloadEntryHobLib/HobLib.inf M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- 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...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Ray Ni <ray...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: ea0bd5f6a70ca72a7090222bf7c7e88d0050e007 https://github.com/tianocore/edk2/commit/ea0bd5f6a70ca72a7090222bf7c7e88d0050e007 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: A MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h M MdeModulePkg/MdeModulePkg.dec Log Message: ----------- MdeModulePkg: Add new structure for the Universal Payload Serial Port Info Add Universal Payload Serial Port Info definition header file according to Universal Payload's documentation as below: https://universalpayload.github.io/documentation/ Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Hao A Wu <hao.a...@intel.com> Cc: Ray Ni <ray...@intel.com> Reviewed-by: Hao A Wu <hao.a...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: a75c029f601cceb21999fcb8c676b14d26a9906d https://github.com/tianocore/edk2/commit/a75c029f601cceb21999fcb8c676b14d26a9906d Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: A UefiPayloadPkg/Library/UniversalPayloadPlatformHookLib/PlatformHookLib.c A UefiPayloadPkg/Library/UniversalPayloadPlatformHookLib/PlatformHookLib.inf Log Message: ----------- UefiPayloadPkg: Add a separate PlatformHookLib for Universal Payload Add a new separate PlatformHookLib for Universal Payload to consume Guid Hob gUniversalPayloadSerialPortInfoGuid to get serial port information Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: d63595c3c91624f258f291adee329724edeac12e https://github.com/tianocore/edk2/commit/d63595c3c91624f258f291adee329724edeac12e Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h Log Message: ----------- UefiPayloadPkg: Update the function definition of HobConstructor Update the function defination of HobConstructor to align the Phit Hob structure. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 0ff6de93583652b09f450148b71d4c2def66bd38 https://github.com/tianocore/edk2/commit/0ff6de93583652b09f450148b71d4c2def66bd38 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: A UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c A UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf Log Message: ----------- UefiPayloadPkg: Create separate Payload Entry for UniversalPayload This patch create the UniversalPayload Entry based on the UefiPayload Entry. It implements the logic to find a proper memory range to create the new Hob and migrate the Hobs from Bootloader. To make the change history clear, the logic to get the DxeCore will be in the next patch. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: b208d37c73a71be20e007ca4917b3a25c732b605 https://github.com/tianocore/edk2/commit/b208d37c73a71be20e007ca4917b3a25c732b605 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadEntry/LoadDxeCore.c M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h M UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c M UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf M UefiPayloadPkg/UefiPayloadEntry/X64/DxeLoadFunc.c Log Message: ----------- UefiPayloadPkg: Get and enter DxeCore for Universal Payload From gUniversalPayloadExtraDataGuid Guid Hob, get the Dxe FV information, and get the Dxe Core from the FV. Also, make sure if there are muliple FV hob, the FV hob pointing to this FV will be the first in the hob list. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 27cb64fffc8669ce1992c6dd24909e14bc24ee16 https://github.com/tianocore/edk2/commit/27cb64fffc8669ce1992c6dd24909e14bc24ee16 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadEntry/LoadDxeCore.c M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h M UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c M UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf M UefiPayloadPkg/UefiPayloadPkg.dec M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- UefiPayloadPkg: Fix up UPL Pcd database Edk2 bootloader will pass the pei pcd database, and UPL also contain a PCD database. Dxe PCD driver has the assumption that the two PCD database can be catenated and the local token number should be successive。 This patch will manually fix up the UPL PCD database to meet that assumption. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 6b69f73b5924530ffe0d1e3dc11e5f7284c66851 https://github.com/tianocore/edk2/commit/6b69f73b5924530ffe0d1e3dc11e5f7284c66851 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadPkg.dsc M UefiPayloadPkg/UefiPayloadPkg.fdf Log Message: ----------- UefiPayloadPkg: Include UniversalPayLoad modules in UefiPayloadPkg.dsc Add a new macro "UNIVERSAL_PAYLOAD" to build Universal Payload. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 86e6948cfbbe802aced7b7f3c6190ac0726c8725 https://github.com/tianocore/edk2/commit/86e6948cfbbe802aced7b7f3c6190ac0726c8725 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c Log Message: ----------- UefiPayloadPkg: Remove assert when reserve MMIO/IO resource for devices Some boot loader may already reserve MMIO/IO resource for IOAPIC and HPET, so remove the assert when reserve MMIO/IO resource for IOAPIC and HPET Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 2db0ed93ffcc004ddfee15cda7a9720970d44ce5 https://github.com/tianocore/edk2/commit/2db0ed93ffcc004ddfee15cda7a9720970d44ce5 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadPkg.dsc M UefiPayloadPkg/UefiPayloadPkg.fdf Log Message: ----------- UefiPayloadPkg: Add macro to enable and disable some drivers Add macro EMU_VARIABLE_ENABLE and DISABLE_RESET_SYSTEM to include or exclude some drivers from Payload Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 3eb72b308a9b6c4f63b0a432857a4497b251b00f https://github.com/tianocore/edk2/commit/3eb72b308a9b6c4f63b0a432857a4497b251b00f Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- UefiPayloadPkg: Add PcdInstallAcpiSdtProtocol feature in UefiPayloadPkg To install ACPI SDT protocol, define PcdInstallAcpiSdtProtocol as TRUE. Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: caa139fe170c2db734514bf9bb2cd0cc86511484 https://github.com/tianocore/edk2/commit/caa139fe170c2db734514bf9bb2cd0cc86511484 Author: Zhiguang Liu <zhiguang....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- UefiPayloadPkg: Add PcdResetOnMemoryTypeInformationChange in UefiPayloadPkg This PCD will be consumed by Universal Payload Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: Zhiguang Liu <zhiguang....@intel.com> Commit: 8efd912baf94c8b6f63910e9a56180b6959cf8e9 https://github.com/tianocore/edk2/commit/8efd912baf94c8b6f63910e9a56180b6959cf8e9 Author: duntan <dun....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: A UefiPayloadPkg/Include/Guid/BootManagerMenu.h M UefiPayloadPkg/UefiPayloadPkg.dec Log Message: ----------- UefiPayloadPkg: Add new structure for BootManagerMenuFile HOB Add new structure for BootManagerMenuFile HOB in UefiPayloadPkg Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: DunTan <dun....@intel.com> Commit: 19a541d70e0748af69d3b09d55a1415762c8d749 https://github.com/tianocore/edk2/commit/19a541d70e0748af69d3b09d55a1415762c8d749 Author: duntan <dun....@intel.com> Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c M UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- UefiPayloadPkg: consume the BootManagerMenuFile HOB Consume the BootManagerMenuFile HOB in PlatformBootManagerLib This Lib is in UefiPayloadPkg Cc: Maurice Ma <maurice...@intel.com> Cc: Guo Dong <guo.d...@intel.com> Cc: Benjamin You <benjamin....@intel.com> Reviewed-by: Guo Dong <guo.d...@intel.com> Signed-off-by: DunTan <dun....@intel.com> Compare: https://github.com/tianocore/edk2/compare/12e34cd2f790...19a541d70e07 _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits