From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ml01.01.org (Postfix) with ESMTP id DDBD21A1E05 for ; Fri, 19 Aug 2016 00:35:45 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 19 Aug 2016 00:35:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,544,1464678000"; d="scan'208";a="1044038450" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.9]) by fmsmga002.fm.intel.com with ESMTP; 19 Aug 2016 00:35:43 -0700 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Jiewen Yao , Michael D Kinney , Chan Amy , Laszlo Ersek , Kelly Steele , David Wei , Chao Zhang Date: Fri, 19 Aug 2016 15:35:25 +0800 Message-Id: <1471592131-143456-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH 0/6] PiDxeS3BootScriptLib: Support multiple PCI segment X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 07:35:46 -0000 Support multiple PCI segment for PCI_CONFIG2 opcodes. PiDxeS3BootScriptLib needs to be updated to consume PciSegmentLib instead of PciLib. That means platforms need to add PciSegmentLib declaration like below in platform dsc if the PciSegmentLib was not declared in platform dsc before. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf For platforms only have one segment, MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf is recommended to be used and declared in platform dsc for PiDxeS3BootScriptLib to have equivalent functionality with before. Cc: Jiewen Yao Cc: Michael D Kinney Cc: Chan Amy Cc: Laszlo Ersek Cc: Kelly Steele Cc: David Wei Cc: Chao Zhang Star Zeng (6): MdeModulePkg PiDxeS3BootScriptLib: Remove the trailing white spaces MdeModulePkg PiDxeS3BootScriptLib: Support multiple PCI segment Vlv2TbltDevicePkg: Declare PciSegmentLib in platform dsc QuarkPlatformPkg: Declare PciSegmentLib in platform dsc QuarkSocPkg/QuarkSocPkg.dsc: Declare PciSegmentLib SecurityPkg/SecurityPkg.dsc: Declare PciSegmentLib .../PiDxeS3BootScriptLib/BootScriptExecute.c | 411 +++++++++---------- .../BootScriptInternalFormat.h | 2 +- .../Library/PiDxeS3BootScriptLib/BootScriptSave.c | 451 ++++++++++----------- .../PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf | 4 +- .../PiDxeS3BootScriptLib/DxeS3BootScriptLib.uni | 2 +- .../PiDxeS3BootScriptLib/InternalBootScriptLib.h | 26 +- QuarkPlatformPkg/Quark.dsc | 1 + QuarkPlatformPkg/QuarkMin.dsc | 1 + QuarkSocPkg/QuarkSocPkg.dsc | 1 + SecurityPkg/SecurityPkg.dsc | 1 + Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 1 + Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 1 + Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 1 + 13 files changed, 450 insertions(+), 453 deletions(-) -- 2.7.0.windows.1