From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.4029.1616469907870686958 for ; Mon, 22 Mar 2021 20:25:08 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: ENO/wkm16p96Kf0tVzh5U/9ityZwu81SwK0KfXKYPQXfN/tdIaPuWta5QIpD6PqYwlqAa0nN1t 5xrDxsEahCOg== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="254392973" X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="254392973" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 20:25:06 -0700 IronPort-SDR: I+WyZnggasgNiD1P78W5fprZYQssky8M0NmM7zeljRHkxpyWWGpnNzwwhTWPIkSvHRPoAEqV9S D4Mbqsi3mkvg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="435392572" Received: from fieedk002.ccr.corp.intel.com ([10.239.158.144]) by fmsmga004.fm.intel.com with ESMTP; 22 Mar 2021 20:25:04 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You , Ray Ni Subject: [Patch V2 2/2] UefiPayloadPkg: Remove code that installs APCI Date: Tue, 23 Mar 2021 11:24:37 +0800 Message-Id: <20210323032438.950-2-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.30.0.windows.2 In-Reply-To: <20210323032438.950-1-zhiguang.liu@intel.com> References: <20210323032438.950-1-zhiguang.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable MdeModulePkg\Universal\Acpi\AcpiTableDxe\AcpiTableDxe.inf is capable to ins= tall ACPI table contained in HOB. All ACPI table shoulb be managed by that modul= e. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Cc: Ray Ni Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c | 13 ++----------- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h | 5 +---- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf | 5 ++--- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c b/UefiPayloadPkg/Bl= SupportDxe/BlSupportDxe.c index a746d0581e..dfff8ecf0e 100644 --- a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c +++ b/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c @@ -1,8 +1,8 @@ /** @file=0D - This driver will report some MMIO/IO resources to dxe core, extract smbi= os and acpi=0D + This driver will report some MMIO/IO resources to dxe core, extract smbi= os=0D tables from bootloader.=0D =0D - Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
=0D + Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D =0D **/=0D @@ -120,15 +120,6 @@ BlDxeEntryPoint ( ASSERT (GuidHob !=3D NULL);=0D SystemTableInfo =3D (SYSTEM_TABLE_INFO *)GET_GUID_HOB_DATA (GuidHob);=0D =0D - //=0D - // Install Acpi Table=0D - //=0D - if (SystemTableInfo->AcpiTableBase !=3D 0 && SystemTableInfo->AcpiTableS= ize !=3D 0) {=0D - DEBUG ((DEBUG_ERROR, "Install Acpi Table at 0x%lx, length 0x%x\n", Sys= temTableInfo->AcpiTableBase, SystemTableInfo->AcpiTableSize));=0D - Status =3D gBS->InstallConfigurationTable (&gEfiAcpiTableGuid, (VOID *= )(UINTN)SystemTableInfo->AcpiTableBase);=0D - ASSERT_EFI_ERROR (Status);=0D - }=0D -=0D //=0D // Install Smbios Table=0D //=0D diff --git a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h b/UefiPayloadPkg/Bl= SupportDxe/BlSupportDxe.h index 512105fafd..3332a30eae 100644 --- a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h +++ b/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.h @@ -1,7 +1,7 @@ /** @file=0D The header file of bootloader support DXE.=0D =0D -Copyright (c) 2014, Intel Corporation. All rights reserved.
=0D +Copyright (c) 2021, Intel Corporation. All rights reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D =0D **/=0D @@ -19,12 +19,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include =0D #include =0D =0D -#include =0D #include =0D #include =0D #include =0D #include =0D =0D -#include =0D -=0D #endif=0D diff --git a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf b/UefiPayloadPkg/= BlSupportDxe/BlSupportDxe.inf index cebc811355..ad4e0a57a1 100644 --- a/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf +++ b/UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf @@ -1,9 +1,9 @@ ## @file=0D # Bootloader Support DXE Module=0D #=0D -# Report some MMIO/IO resources to dxe core, extract smbios and acpi table= s=0D +# Report some MMIO/IO resources to dxe core, extract smbios tables=0D #=0D -# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
= =0D +# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
= =0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -42,7 +42,6 @@ HobLib=0D =0D [Guids]=0D - gEfiAcpiTableGuid=0D gEfiSmbiosTableGuid=0D gUefiSystemTableInfoGuid=0D gUefiAcpiBoardInfoGuid=0D --=20 2.30.0.windows.2