From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.19953.1621840362748447752 for ; Mon, 24 May 2021 00:12:43 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: eyz5aaqReFxNo7MXkMz/FpJ13ff0PFwPpAAQ32M1zZnhSCUFAe029gIhJmlO3DRv+wSgAX9rUB tEj9ZspyWMbg== X-IronPort-AV: E=McAfee;i="6200,9189,9993"; a="188995589" X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="188995589" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2021 00:12:41 -0700 IronPort-SDR: tx1u/kGcAQ54reyd6K8ZzW3lB019BnMRCmmzw8Lq7GIhXdc4xuiKIWP74aCEOOr4FZdCt3pg1A 5c2olvP3jk8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="413477635" Received: from fieedk002.ccr.corp.intel.com ([10.239.158.144]) by orsmga002.jf.intel.com with ESMTP; 24 May 2021 00:12:39 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Subject: [PATCH 0/9] Create multiple Hobs for Universal Payload Date: Mon, 24 May 2021 15:12:25 +0800 Message-Id: <20210524071234.1056-1-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.30.0.windows.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch set is based on Universal Payload on https://universalpayload.github.io/documentation/payload-interfaces/index.html This patch set introduce one general header, three different hob types and how Universal Payload consume these hobs. Zhiguang Liu (9): MdePkg: Add Universal Payload general defination header file MdePkg: Add new structure for the PCI Root Bridge Info Hob UefiPayloadPkg: UefiPayload retrieve PCI root bridge from Guid Hob MdePkg: Add new structure for the Universal Payload SMBios Table Info Hob MdeModulePkg/Universal/SmbiosDxe: Scan for existing tables UefiPayloadPkg: Creat gPldSmbiosTableGuid Hob MdePkg: Add new structure for the Universal Payload ACPI Table Info Hob MdeModulePkg/ACPI: Install ACPI table from HOB. UefiPayloadPkg: Creat gPldAcpiTableGuid Hob MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTable.h | 4 +++- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf | 4 +++- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c | 299 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h | 4 +++- MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf | 5 ++++- MdePkg/Include/UniversalPayload/AcpiTable.h | 28 ++++++++++++++++++++++++++++ MdePkg/Include/UniversalPayload/PciRootBridges.h | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ MdePkg/Include/UniversalPayload/SmbiosTable.h | 28 ++++++++++++++++++++++++++++ MdePkg/Include/UniversalPayload/UniversalPayload.h | 33 +++++++++++++++++++++++++++++++++ MdePkg/MdePkg.dec | 15 +++++++++++++++ UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c | 28 +--------------------------- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h | 5 +---- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf | 4 +--- UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridge.h | 40 ++++++++++++++++++++++++++++++++++++++-- UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 47 ++++++++++++++++++++++++++++++++++++++++++++--- UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 8 +++++++- UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeSupport.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 23 ++++++++++++++++++++++- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 5 +++-- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 4 +++- UefiPayloadPkg/UefiPayloadPkg.dsc | 2 +- 22 files changed, 832 insertions(+), 60 deletions(-) create mode 100644 MdePkg/Include/UniversalPayload/AcpiTable.h create mode 100644 MdePkg/Include/UniversalPayload/PciRootBridges.h create mode 100644 MdePkg/Include/UniversalPayload/SmbiosTable.h create mode 100644 MdePkg/Include/UniversalPayload/UniversalPayload.h -- 2.30.0.windows.2