From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73316+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73316+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743451; cv=none; d=zohomail.com; s=zohoarc; b=ND4S9IhGM5yhATx5VSkmaLng8vbSLFG680C73XTeXMTsJX3rl1eRbfzo+eFtb0be+UAT8lPxYqQEHp18jb1/6h1eSjl0j3vl7+HMFy4gVptNgQfz8yeCrb3c3tUf3uPxy3VfrmPDXh3UdqbBd6Wng5WGiShetEWbBJiZLmJe0Y0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743451; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=LxWPaJg/+OKIkcMCJqNSzobulFTD9aPhVqPQTES4XVU=; b=Zxm/+38OqvPnS7RPRcFweyccU8cMwIYFKnip2hqKM9TBE+sB1Rz3B48z3+TBE3LoBRNaWCADlzve+AHpt4mKK+q/qLHOeo43zoKTZZUbCK2hh0Yqqrm8w78ipQXbxcNP/dBuQ+yN/6KW4EDP3BJrWWB2dxM1PobNfZ7BXnde8RI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73316+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743451269327.9416370182364; Fri, 26 Mar 2021 00:24:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VG4HYY1788612xk9Qs11yCkm; Fri, 26 Mar 2021 00:24:10 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.9370.1616743450046844204 for ; Fri, 26 Mar 2021 00:24:10 -0700 IronPort-SDR: jeuszV0p4h7abn+xdNjA7i/pPf6eXS/o3vQVuio6kihHSp4Mh9gMVuEV9icLWZp8xVX09RY9xQ 1fAEDHy/i4UA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125727" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125727" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:09 -0700 IronPort-SDR: qA/AqwiJJzoF4Qx4tDtg2avhq26G14pTLqeVUiyj1pAFVw9eiHCHSwE4nGHcV+z4cPCiDdImE8 7FTcXt4rF1WQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154303" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:08 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch V3 01/29] MdePkg: Add RegisterFilterLib class and NULL instance Date: Fri, 26 Mar 2021 15:23:18 +0800 Message-Id: <20210326072346.4212-2-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: Zo4MMzaZJUtMRBw15j9igPMrx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743450; bh=IXCIcobCUh4hhAMqhPsb63TzSgr3nCLcuP8Nbqpzz8Y=; h=Cc:Date:From:Reply-To:Subject:To; b=wiLh4RDC/zuZ2DKP12gEv6065M64WJtFDfZi0pj7H67yzMNa3o/LYw2BgYwE1SLzvjO LfZUdecGZT6nsZt3CWd7BFOH8d1ZIYTY7VGdmE2vXv03ZdZxMf0mGQifSM/5+S04ylzLE YnEn0cb4PjLTSg9o5fJbbW6+TrUFLWiUdMk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 1. Add a new library class (RegisterFilterLib) to filter and trace port IO/MMIO/MSR access. 2. Add a NULL instance (RegisterFilterLibNull) can be used to keep current behavior. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Dandan Bi Reviewed-by: Liming Gao Reviewed-by: Abner Chang Acked-by: Ard Biesheuvel --- MdePkg/Include/Library/RegisterFilterLib.h | 243 ++++++++++++++++ .../RegisterFilterLibNull.c | 271 ++++++++++++++++++ .../RegisterFilterLibNull.inf | 23 ++ .../RegisterFilterLibNull.uni | 13 + MdePkg/MdePkg.dec | 7 +- MdePkg/MdePkg.dsc | 4 +- 6 files changed, 559 insertions(+), 2 deletions(-) create mode 100644 MdePkg/Include/Library/RegisterFilterLib.h create mode 100644 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibN= ull.c create mode 100644 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibN= ull.inf create mode 100644 MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibN= ull.uni diff --git a/MdePkg/Include/Library/RegisterFilterLib.h b/MdePkg/Include/Li= brary/RegisterFilterLib.h new file mode 100644 index 0000000000..c4402da7d8 --- /dev/null +++ b/MdePkg/Include/Library/RegisterFilterLib.h @@ -0,0 +1,243 @@ +/** @file + Public include file for the Port IO/MMIO/MSR RegisterFilterLib. + +Copyright (c) 2021, Intel Corporation. All rights reserved.
+ +SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef REGISTER_FILTER_LIB_H_ +#define REGISTER_FILTER_LIB_H_ + +typedef enum { + FilterWidth8, + FilterWidth16, + FilterWidth32, + FilterWidth64 +} FILTER_IO_WIDTH; + +/** + Filter IO read operation before read IO port. + It is used to filter IO read operation. + + It will return the flag to decide whether require read real IO port. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The destination buffer to store the results. + + @retval TRUE Need to excute the IO read. + @retval FALSE Skip the IO read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN OUT VOID *Buffer + ); + +/** + Trace IO read operation after read IO port. + It is used to trace IO operation. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The destination buffer to store the results. + +**/ +VOID +EFIAPI +FilterAfterIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); +/** + Filter IO Write operation before wirte IO port. + It is used to filter IO operation. + + It will return the flag to decide whether require read write IO port. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The source buffer from which to BeforeWrite da= ta. + + @retval TRUE Need to excute the IO write. + @retval FALSE Skip the IO write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); + + /** + Trace IO Write operation after wirte IO port. + It is used to trace IO operation. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The source buffer from which to BeforeWrite da= ta. + +**/ +VOID +EFIAPI +FilterAfterIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); + +/** + Filter memory IO before Read operation. + + It will return the flag to decide whether require read real MMIO. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The destination buffer to store the results. + + @retval TRUE Need to excute the MMIO read. + @retval FALSE Skip the MMIO read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMmIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN OUT VOID *Buffer + ); + +/** + Tracer memory IO after read operation + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The destination buffer to store the results. + +**/ +VOID +EFIAPI +FilterAfterMmIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); + +/** + Filter memory IO before write operation + + It will return the flag to decide whether require wirte real MMIO. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The source buffer from which to BeforeWrite da= ta. + + @retval TRUE Need to excute the MMIO write. + @retval FALSE Skip the MMIO write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMmIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); + +/** + Tracer memory IO after write operation + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The source buffer from which to BeforeWrite da= ta. + +**/ +VOID +EFIAPI +FilterAfterMmIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ); + +/** + Filter MSR before read operation. + + It will return the flag to decide whether require read real MSR. + It can be used for emulation environment. + + @param Index The 8-bit Machine Specific Register in= dex to BeforeWrite. + @param Value The 64-bit value to BeforeRead from th= e Machine Specific Register. + + @retval TRUE Need to excute the MSR read. + @retval FALSE Skip the MSR read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMsrRead ( + IN UINT32 Index, + IN OUT UINT64 *Value + ); + +/** + Trace MSR after read operation + + @param Index The 8-bit Machine Specific Register in= dex to BeforeWrite. + @param Value The 64-bit value to BeforeRead from th= e Machine Specific Register. + +**/ +VOID +EFIAPI +FilterAfterMsrRead ( + IN UINT32 Index, + IN UINT64 *Value + ); + +/** + Filter MSR before write operation + + It will return the flag to decide whether require write real MSR. + It can be used for emulation environment. + + @param Index The 8-bit Machine Specific Register in= dex to BeforeWrite. + @param Value The 64-bit value to BeforeWrite to the= Machine Specific Register. + + @retval TRUE Need to excute the MSR write. + @retval FALSE Skip the MSR write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMsrWrite ( + IN UINT32 Index, + IN UINT64 *Value + ); + +/** + Trace MSR after write operation + + @param Index The 8-bit Machine Specific Register in= dex to BeforeWrite. + @param Value The 64-bit value to BeforeWrite to the= Machine Specific Register. + +**/ +VOID +EFIAPI +FilterAfterMsrWrite ( + IN UINT32 Index, + IN UINT64 *Value + ); + +#endif // REGISTER_FILTER_LIB_H_ diff --git a/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c b= /MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c new file mode 100644 index 0000000000..7150f1ed5f --- /dev/null +++ b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c @@ -0,0 +1,271 @@ +/** @file + Null instance of RegisterFilterLib. + + Copyright (c) 2021 Intel Corporation. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include + +/** + Filter IO read operation before read IO port. + It is used to filter IO read operation. + + It will return the flag to decide whether require read real IO port. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in,out] Buffer The destination buffer to store the results. + + @retval TRUE Need to excute the IO read. + @retval FALSE Skip the IO read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN OUT VOID *Buffer + ) +{ + return TRUE; +} + +/** + Trace IO read operation after read IO port. + It is used to trace IO operation. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The destination buffer to store the results. + +**/ +VOID +EFIAPI +FilterAfterIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return; +} + +/** + Filter IO Write operation before wirte IO port. + It is used to filter IO operation. + + It will return the flag to decide whether require read write IO port. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The source buffer from which to write data. + + @retval TRUE Need to excute the IO write. + @retval FALSE Skip the IO write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return TRUE; +} + + /** + Trace IO Write operation after wirte IO port. + It is used to trace IO operation. + + @param[in] Width Signifies the width of the I/O operation. + @param[in] Address The base address of the I/O operation. + @param[in] Buffer The source buffer from which to Write data. + +**/ +VOID +EFIAPI +FilterAfterIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return; +} + +/** + Filter memory IO before Read operation. + + It will return the flag to decide whether require read real MMIO. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in,out] Buffer The destination buffer to store the results. + + @retval TRUE Need to excute the MMIO read. + @retval FALSE Skip the MMIO read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMmIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN OUT VOID *Buffer + ) +{ + return TRUE; +} + +/** + Tracer memory IO after read operation. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The destination buffer to store the results. + +**/ +VOID +EFIAPI +FilterAfterMmIoRead ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return; +} + +/** + Filter memory IO before write operation. + + It will return the flag to decide whether require wirte real MMIO. + It can be used for emulation environment. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The source buffer from which to write data. + + @retval TRUE Need to excute the MMIO write. + @retval FALSE Skip the MMIO write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMmIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return TRUE; +} + +/** + Tracer memory IO after write operation. + + @param[in] Width Signifies the width of the memory I/O operatio= n. + @param[in] Address The base address of the memory I/O operation. + @param[in] Buffer The source buffer from which to write data. + +**/ +VOID +EFIAPI +FilterAfterMmIoWrite ( + IN FILTER_IO_WIDTH Width, + IN UINTN Address, + IN VOID *Buffer + ) +{ + return; +} + +/** + Filter MSR before read operation. + + It will return the flag to decide whether require read real MSR. + It can be used for emulation environment. + + @param Index The Register index of the MSR. + @param Value Point to the data will be read from th= e MSR. + + @retval TRUE Need to excute the MSR read. + @retval FALSE Skip the MSR read. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMsrRead ( + IN UINT32 Index, + IN OUT UINT64 *Value + ) +{ + return TRUE; +} + +/** + Trace MSR after read operation. + + @param Index The Register index of the MSR. + @param Value Point to the data has been be read fro= m the MSR. + +**/ +VOID +EFIAPI +FilterAfterMsrRead ( + IN UINT32 Index, + IN UINT64 *Value + ) +{ + return; +} + +/** + Filter MSR before write operation. + + It will return the flag to decide whether require write real MSR. + It can be used for emulation environment. + + @param Index The Register index of the MSR. + @param Value Point to the data want to be written t= o the MSR. + + @retval TRUE Need to excute the MSR write. + @retval FALSE Skip the MSR write. + +**/ +BOOLEAN +EFIAPI +FilterBeforeMsrWrite ( + IN UINT32 Index, + IN UINT64 *Value + ) +{ + return TRUE; +} + +/** + Trace MSR after write operation. + + @param Index The Register index of the MSR. + @param Value Point to the data has been be written = to the MSR. + +**/ +VOID +EFIAPI +FilterAfterMsrWrite ( + IN UINT32 Index, + IN UINT64 *Value + ) +{ + return; +} + diff --git a/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf= b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf new file mode 100644 index 0000000000..a7fc7497ed --- /dev/null +++ b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf @@ -0,0 +1,23 @@ +## @file +# Null instance of RegisterFilterLib. +# +# Copyright (c) 2021, Intel Corporation. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION =3D 0x00010005 + BASE_NAME =3D FilterLibNull + MODULE_UNI_FILE =3D FilterLibNull.uni + FILE_GUID =3D 9F555194-A410-4AD6-B3FC-53F6E10FA793 + MODULE_TYPE =3D BASE + VERSION_STRING =3D 1.0 + LIBRARY_CLASS =3D RegisterFilterLib + +[Sources] + RegisterFilterLibNull.c + +[Packages] + MdePkg/MdePkg.dec diff --git a/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.uni= b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.uni new file mode 100644 index 0000000000..ed64c7e63d --- /dev/null +++ b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.uni @@ -0,0 +1,13 @@ +// /** @file +// Null instance of RegisterFilterLib. +// +// Copyright (c) 2021, Intel Corporation. All rights reserved.
+// +// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ + + +#string STR_MODULE_ABSTRACT #language en-US "Null instance of= RegisterFilterLib." +#string STR_MODULE_DESCRIPTION #language en-US "Null instance of= RegisterFilterLib." + diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 1d2637acc2..65de5c4052 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2,11 +2,11 @@ # This Package provides all definitions, library classes and libraries ins= tances. # # It also provides the definitions(including PPIs/PROTOCOLs/GUIDs) of # EFI1.10/UEFI2.7/PI1.7 and some Industry Standards. # -# Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# (C) Copyright 2016 - 2020 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -260,10 +260,15 @@ [LibraryClasses] ## @libraryclass This library provides an interface to request non-MMR= AM pages to be mapped # or unblocked from inside MM environment. # MmUnblockMemoryLib|Include/Library/MmUnblockMemoryLib.h =20 + ## @libraryclass This library provides interfances to filter and trace= port IO/MMIO/MSR access. + # + # + RegisterFilterLib|Include/Library/RegisterFilterLib.h + [LibraryClasses.IA32, LibraryClasses.X64] ## @libraryclass Abstracts both S/W SMI generation and detection. ## SmmLib|Include/Library/SmmLib.h =20 diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 79629e3f93..be89e28eef 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -1,9 +1,9 @@ ## @file # EFI/PI MdePkg Package # -# Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -125,10 +125,12 @@ [Components] MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.i= nf =20 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint= .inf MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib= .inf =20 + MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf + [Components.IA32, Components.X64, Components.ARM, Components.AARCH64] # # Add UEFI Target Based Unit Tests # MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73316): https://edk2.groups.io/g/devel/message/73316 Mute This Topic: https://groups.io/mt/81622771/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73317+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73317+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743452; cv=none; d=zohomail.com; s=zohoarc; b=cF+zI3B+Zs3Wb7REWIGpsJfBioZgEceOwIynO0v1hLhbLmKb2+CbUrdndQpgH2avLcOP7iYIGzmJFxP9F/LiBT97cKtyrdcBHiDN7dExE5e68PO3a7BPaNSomORCfuwd6Ob0WN935SXXsM97BBWCD9XmQxURk7r3m+G3GvC9mvo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743452; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=RXS1pgzhA+HcMT7fePA71DcYhBJpoc6vSeRdybKAzbc=; b=JfNnGTOhjDWNWBXirQGymn6ioNhxdFuM/OJc8Myqe+9EIieFOj/oEj3Kgl8JeMraMOkTKe+j47nZj+tMNl9g3PaTBqmRmktW7JJFEJOeHl01XH9LK2VxRuKfAX05Xh2/kMm+yvHZOvhIXY+NiFJFL2cWj4eXZx0jwXSd9bskg2s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73317+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743452522254.98279105421932; Fri, 26 Mar 2021 00:24:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rksvYY1788612x6rSJWfXeun; Fri, 26 Mar 2021 00:24:12 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:11 -0700 IronPort-SDR: 0BAvi/R8ma/gh8rFDgOXL7oSA8OXYRn3ldvqNCOZAPS4E9Am1pRn83jtEVzgOOJZ5OEMMhTyhV 5yo/U+h+P8kQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125741" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125741" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:11 -0700 IronPort-SDR: Wb0WS2IDHn+nNJIg0vdZuU8KJQjHCSCxx5/YBUMgqW4G82T6llBRp8e53bVeqjdZ0AOAIeww37 ZIRTgrshfw2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154318" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:09 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Laszlo Ersek Subject: [edk2-devel] [patch V3 02/29] MdePkg: Add MdeLibs.dsc.inc file to MdePkg Date: Fri, 26 Mar 2021 15:23:19 +0800 Message-Id: <20210326072346.4212-3-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: QtJkmN6Zr78vTFLWUsWpac7Fx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743452; bh=X3AgtIPh9OsStR0Fo6gMQUEG8EVQRLSS7I54oqxtzkg=; h=Cc:Date:From:Reply-To:Subject:To; b=WIL23MZJKILMjAZFnITHVJe4cuDel41zD3VzlUYIJwh2Nx7BAd50aYwZrgjX3RhoKTl V60uocXhwhIMdt2E1QrBAN9S1S96/b/TlWCd28Zo/dMAbZ5lNZ29qHpYJMvusnv/FkuoS kuI83JtKo6NkYIHBqwmlNF1WtIS98dsYg5c= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc is added for some default libraries provided by MdePkg. Platform can include MdeLibs.dsc.inc file to avoid some potential incompatible changes to platform dsc file in future. Only add RegisterFilterLib into it as the first version of MdeLibs.dsc.inc. Can update and maintain MdeLibs.dsc.inc gradually later. "MdeLibs.dsc.inc" for the [LibraryClasses*] section(s) Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Laszlo Ersek Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- MdePkg/MdeLibs.dsc.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 MdePkg/MdeLibs.dsc.inc diff --git a/MdePkg/MdeLibs.dsc.inc b/MdePkg/MdeLibs.dsc.inc new file mode 100644 index 0000000000..3c70daf87a --- /dev/null +++ b/MdePkg/MdeLibs.dsc.inc @@ -0,0 +1,15 @@ +## @file +# Mde DSC include file for [LibraryClasses*] section of all Architectures. +# +# This file can be included to the [LibraryClasses*] section(s) of a platf= orm DSC file +# by using "!include MdePkg/MdeLibs.dsc.inc" to specify the library instan= ces +# of some EDKII basic/common library classes. +# +# Copyright (c) 2021, Intel Corporation. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[LibraryClasses] + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73317): https://edk2.groups.io/g/devel/message/73317 Mute This Topic: https://groups.io/mt/81622772/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73318+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73318+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743458; cv=none; d=zohomail.com; s=zohoarc; b=eZMBlahS0X+G1m3AMRQmv7QIDkdTIAnP+OBtb80FoBhjbgHGYOup70MXMRm+ZrPJzZk7IsDhKiJG0F38O9rQEBnB6HvoPpbhRCYM5A9FSIZ9fHBCmPwdqWIWxRVZciDQ/Anixu0srIVx8rh0UVkiYs/t9hgRLScRGwzF2pUQlag= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743458; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=IbJnO8N5q6jiCftpVKLkkfkbmSb4OZ070geZUEkzZhk=; b=WNzRayv9aSIsLyUwCMaQytLfnCKNYqtsLLrOIbgwgXLv+q7llG4tJ/hnxmdQqYMKYa/6lSVzj8HJCkL23+PB9v/4HK7fPJSKW7QISWePVjpPAQibVuT5/ZRzw+9cOSiGXsXdrnO3BYM9UGGbKFlxBSSLJw7zacjoQ7D8j3fRlVA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73318+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16167434589306.466103309517848; Fri, 26 Mar 2021 00:24:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id EqrUYY1788612xzEh6ZsDCtR; Fri, 26 Mar 2021 00:24:18 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:12 -0700 IronPort-SDR: PI+Bdd8PL8zfIBGWx9Pf1xPJ5uynNIjFliSb2H4UFsrAYq2bjP49Dfd5qYxNpxyC8FUV2lxqC1 fP3+0MHTeG6g== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125748" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125748" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:12 -0700 IronPort-SDR: GZa3n5T9FSWDHjc69R6LEsnICJ5eFlBbK7aVkpfSN2HeZqhjwABhlaI1oAbz356kSOkzplukAN z5eE1pOhVRrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154321" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:11 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch V3 03/29] ArmPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:20 +0800 Message-Id: <20210326072346.4212-4-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: SoZmvfG3AvFgXI1KlKIP0gbax1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743458; bh=WM2UsSHU9fHtcZaxEEATWyaVem0LsRRLrxCRYZhwI/g=; h=Cc:Date:From:Reply-To:Subject:To; b=hdbNyWOftUXbjVbab+cLbbPxmPRrz/scM+VR/B5d3zTPSHS5G3XSm7z06u9Cju8bL2A FUY3BMFapFW32oIdnNwbwuU8U6+ziaG+Nb6SVpG/LZK0H4ju8WyJ3Cke26k7JrXTkvPR9 Q5aNoiEG54rTKPZosPk5YMq8Vu6wC/Bucl4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- ArmPkg/ArmPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 7194eb2d3c..47de38076a 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -30,10 +30,12 @@ [BuildOptions] *_*_*_CC_FLAGS =3D -DDISABLE_NEW_DEPRECATED_INTERFACES =20 [PcdsFixedAtBuild] gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4 =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMainte= nanceLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73318): https://edk2.groups.io/g/devel/message/73318 Mute This Topic: https://groups.io/mt/81622773/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73319+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73319+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743455; cv=none; d=zohomail.com; s=zohoarc; b=LTy9uYhjNuLNQjc4rkt+yNZtuCzUlg0Fihh3PIBH+5S52rlGoBWw8EKJZcMyYk/8+vm5ITj0dcTv51ExMykI0lADXGokH8ZK1QyeBryglD2WIvp1LeviLwsFVCiR+x2ol7UvyRUJUZHyjJYYtGuNKQrvFa9cWmgmYPbsRO7LD8M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743455; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=61CoLAZwIWaqTBZggsoVaLylEjRtcE2GUzIe0t7kzBs=; b=MKFIr05BkVVbRNaafYHK5x5AAFyOToWrM9yeHt+m6Ilq961kWeR5KV5NDmQSipDgEOW7bRHTeBnRcOxbrPuwJBOZAJ6RwZkMndPFV8laEbYyUZsY+Zo3o2B/gnaKzYMPFVYTTdhrQoMUa4NfkFjGr1uhYTcoYFh+K02Nkdv3WNQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73319+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743455518203.29226466379657; Fri, 26 Mar 2021 00:24:15 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id FiR0YY1788612xVPDkp9QonW; Fri, 26 Mar 2021 00:24:15 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:14 -0700 IronPort-SDR: iNXEtvtV5zV8GVA0lJrsnTp97b9OpMsIgGqY03DvpsMDGUifkWsw2oENwwQisJcxveJDlr9SEa 8x4Y2tftCgWw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125756" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125756" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:14 -0700 IronPort-SDR: D69MZA5eMXsKJitT4dSfIaipUkQ7w78sz1egTirahLedpu8AlQnrRkisyWo0N3Omj/+FraStrW QnW0xFot4wtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154332" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:12 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch V3 04/29] ArmPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:21 +0800 Message-Id: <20210326072346.4212-5-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: qd4lAbpACvWECl4DOGcbIAvHx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743455; bh=++/WvB0AhV/BufAxtvcroR1WIPB1nlmaW1s/WGLU7UI=; h=Cc:Date:From:Reply-To:Subject:To; b=NoqPwKS598V+bA9HGT4nboetx9C5U4A7+9N/wvBsKLkn4c1hjououuv2wwKHzedDeP7 i+SDzoje2G2ZRfTDH6pEwh+MTvzfuMYZHxsQU4/f+H6jBySLhmz5Ba+xGyyGKgq1hoTBd nwt/g+C0sdf6E4bvPt3b7lM7/7RMYBcCEZ8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatform= Pkg.dsc index 88fe1247c0..661a4cea22 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dsc +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -31,10 +31,12 @@ [BuildOptions] =20 [PcdsFixedAtBuild] gArmTokenSpaceGuid.PcdFdBaseAddress|0x0 gArmTokenSpaceGuid.PcdFdSize|0x1000 =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibN= ull.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73319): https://edk2.groups.io/g/devel/message/73319 Mute This Topic: https://groups.io/mt/81622774/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73320+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73320+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743461; cv=none; d=zohomail.com; s=zohoarc; b=fBnUN9Gh2iwXA+p7NnsLeuHUfPOV29YBQ/NPgSioqNtBhk3qcAyfyO2dImRYTthfoh5tS1U2Byg4lZY0YvzRAVQCpYhgKZCEozdnZ1ceJzc8lurD9vhZReVVTR2+VJwspOz+Gjg5+HfpUybmSbowU8fbIxTd88Y+Y+4ZdeaZ/cA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743461; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=Cad6QLs0ollHNpeOPYFSlzrarcbz/qqLiNwAXar9T28=; b=lgrLjDvaox3ISVqj4PSYBjQxsn86ex+DHPqd2BvNIf421m8e/QPcKyJo7Wvd7WaIwkll0Ss3dcBescPSWUog8Fw+66N9po/HHoJMKCrPbH8Ghhit2KyN6NPmDNh2FgFcMyDDdm9IESSqNZOXv52tyW9UOmomD+yZM2Atk5rnuBs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73320+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743461470907.566134085894; Fri, 26 Mar 2021 00:24:21 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id jwfVYY1788612xuSNdcw14OL; Fri, 26 Mar 2021 00:24:21 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:15 -0700 IronPort-SDR: N1MTo70RgIvphFlWhfb201KAagAXLJt3mkKi/PETwHyeHXT+ZUlAx4RsCIUChAX0QbmKf90i7z CaneVtN5SxLw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125763" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125763" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:15 -0700 IronPort-SDR: oaHIpXSF+zCWw27AghJS6n/tdEd7bf0UNucVBE9CaLmYFukgcyd5ihmkmZzQxjplF6qITglgdr yqtdSen1wYrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154355" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:14 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm Subject: [edk2-devel] [patch V3 05/29] ArmVirtPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:22 +0800 Message-Id: <20210326072346.4212-6-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: xnaJgbB6kHC0AzuwsP9DXqvqx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743461; bh=QAthO6UOxdoq1R9zlirYcp1ogDSypSzTLDJdnEdx1js=; h=Cc:Date:From:Reply-To:Subject:To; b=W7r6N1DBhAk0QbL2h5+cjum2IiMfyJQxmIX6wZ/C8afdT0cjWPqWfq3Zcesb2DkuU8/ lSWgBIvlOfaWaGndoXRQH5bdkK5HKkJYNHwq1rryN7T7ctgYvTUxyuLWHTcs91T62lwj6 jVzi4QpPtPlbUx23DF9istH0qvzA/yYs4/E= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirt.dsc.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index d9abadbe70..52582c7890 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -1,9 +1,9 @@ # # Copyright (c) 2011-2015, ARM Limited. All rights reserved. # Copyright (c) 2014, Linaro Limited. All rights reserved. -# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. +# Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved. # Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # # @@ -32,10 +32,12 @@ [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common= .EDKII.DXE_DRIVER,BuildOp [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] GCC:*_*_ARM_DLINK_FLAGS =3D -z common-page-size=3D0x1000 GCC:*_*_AARCH64_DLINK_FLAGS =3D -z common-page-size=3D0x10000 RVCT:*_*_ARM_DLINK_FLAGS =3D --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Al= ign4K.sct =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] !if $(TARGET) =3D=3D RELEASE DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf !else DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73320): https://edk2.groups.io/g/devel/message/73320 Mute This Topic: https://groups.io/mt/81622775/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73321+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73321+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743458; cv=none; d=zohomail.com; s=zohoarc; b=FuLFOS4fMvW00oy3FFfcs6x9NDmScAvU/cCG2+siZ22Dgi+i7MRDGfhToG4RkuW1/IM3UyYffdQ6vnhitmuvCR86Wfm/fl/p6bRLjDwSNGXG04XYJXUHN9ahLFruMO6c6yrwLrM0hsJWARPwQPOoJWrORYtQAulBLD8qPe7+s7s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743458; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=25OhmmPaaF65YiWXvrWPwjqwSmsAj8WvM+s8lotUVeA=; b=kta7Fqr5vU5xybNOhUY9n8LjrCw+qY6LRUDOmsmdzIDIsM1RJSQI1pG+bKg+EI0ANo97v8uullyKvSGcKXKivmh8YpMgUUZL9ZimTC6VKjDi/F/T0l4qZyalJ0nnH59ZPeFc8nXeIYkOrKZF5dGzcSD2HxdSmoB7usrhUK4XeUY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73321+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743458106156.22070753642208; Fri, 26 Mar 2021 00:24:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hkibYY1788612xlVCxzFKiie; Fri, 26 Mar 2021 00:24:17 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:17 -0700 IronPort-SDR: 2w5bmLcsZ6m/0rTGCZa2boLQ5SG3mTQ/SEEHaS/dxCwAm1fhgtANaToHf+bM5jT2akxHT/hfW3 1C3835ECc67w== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125788" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125788" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:17 -0700 IronPort-SDR: Cxk0t3n/HkcX5L9axJDY4tofxYk7yhK+N+BdjhBzOfuxRSs17BhWMmIeLew20Mh+NcHLFjH1I1 FTJg7bro/n7g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154383" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:15 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Xiaoyu Lu , Guomin Jiang Subject: [edk2-devel] [patch V3 06/29] CryptoPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:23 +0800 Message-Id: <20210326072346.4212-7-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: eLVpsbpTtPujnA3evZPy442Vx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743457; bh=j246ajzIkMiZMU5EUDkbDU8ncu35eyTuaO5jWg4bBVQ=; h=Cc:Date:From:Reply-To:Subject:To; b=HCWbgywu4g/uyDTsycPoeqlI9PVerfHJFqSoziEvex1GcLBus/mUF/kQU6QIQodU+Yr 4/Xq45MsdTvIi3b7DDOhdAUpEfXfJuKYNwQolBn7ATvy3AYWYms0NJ0a6a9F571Ib3IhY DM2e2I4x2uBBK8FGuOVY5fvP5nd3FyF58Mk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Cc: Guomin Jiang Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- CryptoPkg/CryptoPkg.dsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc index 55383f2722..f6498c18dc 100644 --- a/CryptoPkg/CryptoPkg.dsc +++ b/CryptoPkg/CryptoPkg.dsc @@ -1,10 +1,10 @@ ## @file # Cryptographic Library Package for UEFI Security Implementation. # PEIM, DXE Driver, and SMM Driver with all crypto services enabled. # -# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -48,10 +48,13 @@ [Defines] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73321): https://edk2.groups.io/g/devel/message/73321 Mute This Topic: https://groups.io/mt/81622776/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73322+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73322+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743459; cv=none; d=zohomail.com; s=zohoarc; b=ApOY3hiqkYIL1UV6XJPU0ykYXHvognGUe37TXYqY2hqFOvK8wV/1i4CVk5woRLNd0YcgrSBrUGLNo9RKvyCpBDIRZ/BWkdXf63hKCi27BBFUl5L5jVHr+Fey6u0sie/SjkILKvQGJuUOl9PsXnFJxSInfmvsxPbmWeovvOrmaYs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743459; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=J28XYY7ZLVmMmV7QO8aMkYHv96b1zH0PN1WL+I44F/I=; b=GZvSRH13iFeJtQgXVyn4MEfP1uDr5+xHYBtUhnGz7uOkKE5/WCL38yl6qWPkLd6hEC9tSGwF75jDmHuEYCwWwiST8YBg2uTuPlxJjVTEtxTNbEQXjirKGzHn+QS67HsVCdWtTp6oOtVcgTRDxlPDXUo6MT6bFNmyM1IsRXJ6pB8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73322+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 161674345966864.9164989129738; Fri, 26 Mar 2021 00:24:19 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id q0IUYY1788612xogS5uTGvPj; Fri, 26 Mar 2021 00:24:19 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:18 -0700 IronPort-SDR: /zTxT7slYGwJOkXaUDNlYX+pOieLsSK3VKjKEKydzPwR3MNU0hKui0Q6/bCIV31PDB2koK0O7G Hr9eqRwcDcaA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125811" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125811" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:18 -0700 IronPort-SDR: IiHoLhpcqjyVBMmnC0p31D7IqJ8PTS7AZxmFP5/snqxQsDIZOiz+FWzZze0HKelWrp+bml2jnZ vH4PCxuTC2ow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154385" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:17 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov Subject: [edk2-devel] [patch V3 07/29] DynamicTablesPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:24 +0800 Message-Id: <20210326072346.4212-8-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: yMGzBAkwr0xFxcvatCriA82Bx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743459; bh=tqfIeEOO2Nh+nN683yEeVFkl9o1XX7nqPJGDJOTlEN4=; h=Cc:Date:From:Reply-To:Subject:To; b=aHAqFSd1PjAoR44jUw+JQfYT2GlTpXTUifEPg+OH84XpL9s258HPO/KatVR5NeBNc0/ FSkM0Tya5NLfSBvw2cm2sk3IIbiNQR1JNoyADsH+L0A0Hnb2w4lMkVvoOl4OT6Jqz26mD y+YAuMKrxu25kSsgmWeaImlrnlohOU1AeUg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Sami Mujawar Cc: Alexei Fedorov Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- DynamicTablesPkg/DynamicTablesPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/Dynam= icTablesPkg.dsc index 0232bda459..33b2a84c9d 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dsc +++ b/DynamicTablesPkg/DynamicTablesPkg.dsc @@ -18,10 +18,12 @@ [Defines] BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 !include DynamicTables.dsc.inc =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73322): https://edk2.groups.io/g/devel/message/73322 Mute This Topic: https://groups.io/mt/81622777/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73323+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73323+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743460; cv=none; d=zohomail.com; s=zohoarc; b=khMXgv6YVcN3I9RkSj1JC2BeYPeQLWDzK/xQak69WHpA6kD6iDpDjSi2b5OxJO6lDq5QIXVVH99IzazemK/dyKOLEibeToa91+A9iV2FpxLUgvMOKLwbDXQU6T13lSvNHOQsTIOxXEifBTL716li4eMd/mUKFJPyWVgnxUWDQQM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743460; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=HhFLSrAo4ONlm+4YvrxyOgKHm1r0Mqjo0Ke41kvZDnc=; b=SmndWEP+kb7cXZgVjDUVKioBRhqLAmEC5nXv/DbBxh925Oz1UdDOJRNEAEBIH/Y7dqgx3AXePCfPo5bCldJlm26vrih8re66u63dUctwY+OVePTQrxppE/K2tY5FrSCMBw4gCVUwSGHa/Xml3F/W1A6McLNpY5btUjwW5T2v7Os= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73323+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743460855455.78558711438404; Fri, 26 Mar 2021 00:24:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4DUsYY1788612xTyDjwiqCQa; Fri, 26 Mar 2021 00:24:20 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:20 -0700 IronPort-SDR: qA7sjgvCqd1bgNg5mKTdAEMcGTXjIQIP5dOiO8oEjflehupKy+loerBxjem6b14qoZ/CfCdZXS T1VDyYDZUUjA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125831" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125831" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:19 -0700 IronPort-SDR: Sw7/oldSwonJ7PudH+guEZFGhI67ILaDT68rC59XCFS7urrmNNymHpQ2pTkN3rZ/7BSJuEQvhD PNAqO9tXt2Ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154399" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:18 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch V3 08/29] EmbeddedPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:25 +0800 Message-Id: <20210326072346.4212-9-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: RgnFd0bd7hdYPw9XlDqRicAYx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743460; bh=1nvKOePyk/5KAvX5NscHW+NsV7WD2UnACx49KpSS1AE=; h=Cc:Date:From:Reply-To:Subject:To; b=jnutnEGKPKWYNaztPs6OQbK3n12wSDDy4mCqzxxh2fFQSMdXSR2d9WhoDeC2KiyJy2y ocfnCVtiEsWWb+HK3vrXUq8yrsnwa4kfYr1sUZfpX+jUJnonIzj769/UBXmn6qAxbStiF xcGZfXrIBK6mVYSIM+IwdlH/abHRJljdt+k= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- EmbeddedPkg/EmbeddedPkg.dsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index 8e83e50c3e..c41864e8a5 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -1,10 +1,10 @@ #/** @file # Embedded Package # # -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2012-2015, ARM Ltd. All rights reserved.
# Copyright (c) 2016, Linaro Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -38,10 +38,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] # DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf =20 =20 --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73323): https://edk2.groups.io/g/devel/message/73323 Mute This Topic: https://groups.io/mt/81622778/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73324+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73324+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743462; cv=none; d=zohomail.com; s=zohoarc; b=ZiHsYEna+LwTrXdo+R4lBws6mUmmPMB5ClU4712MAFkASm5pwaWL81XSU1ZwkVXg02X4VkEQz/wgnxuaYuDXlY30pd+OlYAwJRi24dm5NedO4sZubTTSmB7F7s6oyjuLcYG8K8bpQUANGJ91hB7QwOOo7e/6VzqLE4t+uoN6ZAc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743462; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=c3iGVaDfW0QHNu6Lb0hrI+oPzpPlH7NXKZTK8k42PqM=; b=SQNA17yZtVilWOOtYCRU/tFqugfUO+2SJoaDV8wLlRekEqa4uqyTAK5maol3u/piqU8zVjNIiPTITQTKhYj4nb1Kw+fOo3H6BQFOxNI7AvTMrEvj2gMkdkcL64lOedr677OTRfnrXpRTpe7pclZnnOKXVfLZ2e/ZzvQsdH1PV6o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73324+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743462012910.5483675520157; Fri, 26 Mar 2021 00:24:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id QnpfYY1788612xscF6DcnQiI; Fri, 26 Mar 2021 00:24:21 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:21 -0700 IronPort-SDR: NSHHWROpINR92aY72Y5rMguuiI/rmi0lz6sU2Ua32JncNuZZeyujDUGatW0h+AoDroKrAQFJAy WOU4tt3GFcYA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125838" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125838" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:20 -0700 IronPort-SDR: dc7SNnV46Su61YMQzAeknNTCvXJaW3mT3zr4BwJB0y2oE1aBRF8kHC7BSLRDv0aYB3i9+MOQ1k QhNJwT3vkSyA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154428" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:19 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [edk2-devel] [patch V3 09/29] EmulatorPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:26 +0800 Message-Id: <20210326072346.4212-10-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: PC9ZNXKkDVH9UeHLP4I3brEJx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743461; bh=Tciiz1Gnpl0mlnqXJuIkV7pt5ZK0eNOvvs1PBUjdfaE=; h=Cc:Date:From:Reply-To:Subject:To; b=EkaVfXisbphXg3JV6ZEZSo1GO6MmGDT9epXfLKt3e3E4/ecNmpZrVtLVG21AVIyFzIQ TiIO4t9Qh9D5BJVS6y03CW3q9va6qhJzt3FmmPL9hLm3tebXQLIu9xd0QctnXz1xVBJac 4TUbCKGck1v2Yxi5MfECLuSdvrSNeT3Hg2E= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- EmulatorPkg/EmulatorPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index a7ded49000..20e5468398 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -2,11 +2,11 @@ # UEFI/PI Emulation Platform with UEFI HII interface supported. # # The Emulation Platform can be used to debug individual modules, prior to= creating # a real platform. This also provides an example for how an DSC is created. # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -42,10 +42,12 @@ [Defines] DEFINE REDFISH_ENABLE =3D FALSE =20 [SkuIds] 0|DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry point # PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73324): https://edk2.groups.io/g/devel/message/73324 Mute This Topic: https://groups.io/mt/81622779/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73325+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73325+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743469; cv=none; d=zohomail.com; s=zohoarc; b=l8D7nJfvwOjRgdClDY8Zdv5LaRwN7OzBNTutFdpFZiJt7pfHd/jMxB/Eoz576gQRDH9/gwIqU6KXS/sqWMp2lBKsH12JfTgQf72b9kSIy54u3sTEhnZlDZ+8pvwyMjmJtDJrra1oYPwPTd0SBkJiKYkINndh+jYoAD0wFEltbwA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743469; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=mqXIeAQWvyg82Fiv2vO9GfKb/vPKnX9Zw0tc2M9EX1Q=; b=dG3upCvxPGXExK4nwgjgXgonX3FoMVeiFtAR9/JwRbZ72iL9OCoVxJsNzvE+dXWfsH1ACJSPUax7URfqHtzQljTXbe04BTRz9RKFZBgjZiCQjcG4bA0I/eVLXpauQs07zRlrNe0toDabu7h8l63OOBISiN0gomcIbMZbxUNP2lo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73325+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743469070745.449858935088; Fri, 26 Mar 2021 00:24:29 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8plSYY1788612x7JbkPIL0iU; Fri, 26 Mar 2021 00:24:27 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:22 -0700 IronPort-SDR: uUKt3K2dsNGGom+CLrnofvNzor6LmMySDk3gKwL8BctuODa3pnpzTSLiE2MjRK3v4rtGqPUL3U whGhboCfBSfQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125849" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125849" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:22 -0700 IronPort-SDR: 8thKgRkw3N1JT9RwfGi0+2IlDvJGDRxh9csOYBHjrZ+k5C/SoTvvBzSDPsT8X7bEtOF9rZnJZG 3acoGIyNxrQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154441" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:21 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [patch V3 10/29] FatPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:27 +0800 Message-Id: <20210326072346.4212-11-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: FE3Tbc0D0fRSZ1twHTNOFj1nx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743467; bh=Qo0tbdkr/CTHu0lWLsNVOIQJ8py5oMmmlHWNK8MjsO4=; h=Cc:Date:From:Reply-To:Subject:To; b=cgnYOnow9aoNgBM31qnaKkdff+o5GijLD0vQjjIORlMYX4XxtMZalTZQNg3tqEDQsOy rGU24kJwp5NiG8V00u3dvdaVmDV6hNGvbtdOYTbdNum/jQfvr4dQzKYkO0aOLpOKn0jf1 Y5Xr4bI5qLV2oVqu0TjF5gDOMBSwEAHU2Mc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ray Ni Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- FatPkg/FatPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc index d86256068b..4ddb5c3e00 100644 --- a/FatPkg/FatPkg.dsc +++ b/FatPkg/FatPkg.dsc @@ -1,11 +1,11 @@ ## @file # Build Binary Enhanced Fat Driver Modules. # # This Platform file is used to generate the Binary Fat Drivers # for EDK II Prime release. -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -25,10 +25,12 @@ [BuildOptions] INTEL:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG MSFT:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG RVCT:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTER= FACES =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry Point Libraries # UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73325): https://edk2.groups.io/g/devel/message/73325 Mute This Topic: https://groups.io/mt/81622780/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73326+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73326+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743464; cv=none; d=zohomail.com; s=zohoarc; b=CksBbRWLpuNUU7OZ8gwaMxRzydho1VtN9+Qpm70o1qdMWhRSATl5zyHDWHXHf6ZDrurpuQC2JyXbuz9umoWYAE0J2fCR1fxIJM2xx2BOjaJ8+5GpD4Jrid7L4rkwtraRhyEfateOKF4UJAmSYO84AZ0Mo1r/AfyqFV9zZueyIq8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743464; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=G8xTaV3F+7BWkkiM+lyBs/ojNdcF2asoUmWsf2zVYQ8=; b=Il/IXaiIRppvvzQrcV13+tR6KqwxH3gSdgh7eyRaOtV3qxgFAqRW149jzn7M0yyFz0UXBZtmkZUzZVOFvlfVgkmXakbRJfNtK5Z1KrDeqeAz5zJmUDG1fe7UywVLlA/iQZ6vjZIJDsBK1v5d+soAnqqC7ib9CFJzLFMko+9WtUA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73326+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743464223194.05357425319323; Fri, 26 Mar 2021 00:24:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id aysZYY1788612xgbRHihBN8S; Fri, 26 Mar 2021 00:24:23 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:23 -0700 IronPort-SDR: nVHPqcOgF3JxsWnqzRoxVmzRTWcDjumpjQQc/xx9nxNcudoMkh+/JACrrmiKjRQWVceKYfGL1O KiZq+yjFPCkA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125864" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125864" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:23 -0700 IronPort-SDR: s/B9rHjI5/4xViShHVgfx/mWapS7V3txMf2scrXy5SiA0k7JVtSUGj5XQ7IHRFh6+hho15F7W9 Czlx3z3jtvjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154457" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:22 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney Subject: [edk2-devel] [patch V3 11/29] FmpDevicePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:28 +0800 Message-Id: <20210326072346.4212-12-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: RCAQ6G3aNuPBwWDqG7sdREiKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743463; bh=lHo8pAyniNdSUKCawUAQENdeHUzaBoGkaHIqOmn7zhc=; h=Cc:Date:From:Reply-To:Subject:To; b=vVwYcg/FrwVvXSPCBqo8gpRyixe1rSGKOpZa1v+58cdFXP6aFwQ2km8qtE1fq1LINx5 vVieOSTOLrdVszWBo5xvnfNRoecz0iHsS/Kdn2W4jsRsPK9chIbquZ7gu1MXoP8tUR3Ve bBT3InODuOaOxicOpcj7DLg184EWFIlQDpY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- FmpDevicePkg/FmpDevicePkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc index cfeadd8330..b420f52a08 100644 --- a/FmpDevicePkg/FmpDevicePkg.dsc +++ b/FmpDevicePkg/FmpDevicePkg.dsc @@ -5,11 +5,11 @@ # instance that supports the update of firmware storage devices using UEFI # Capsules. The behavior of the Firmware Management Protocol instance is # customized using libraries and PCDs. # # Copyright (c) Microsoft Corporation.
-# Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -36,10 +36,12 @@ [Defines] # DEFINE DEVICE_FMP_STORAGE_ACCESS_ENABLE =3D TRUE =20 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73326): https://edk2.groups.io/g/devel/message/73326 Mute This Topic: https://groups.io/mt/81622781/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73327+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73327+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743472; cv=none; d=zohomail.com; s=zohoarc; b=VNKm+L5pm9Q5rceBtyrGdFGBI3iZt7hRRXi65YRhuD2UNvt8QPcCxvYB0N6TVdv7ftpWpuDPzB9ydWPWG7HocZtc9XfKHC+R6qL1VXLa0RSqT04Tkkfe59OEAKa8bi5optvWmBrb+x6HID0Xhp62QavWlggVDqhC5FPHuUwMG/U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743472; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=j0xyVG04SlJyz15CFVNsyV5Gwmwh5ghcyBHbES6xg/s=; b=hUK0y1jgdcLQoA/ceORjkd8lD1EtPGAI7qd7bH6izuakXj5S7v3pX4dJnMR6TL8V+L7jXVsKfY+c/cVgV1NZGIAZoF4cBDbrFr/PjVMA/ZVBD1+MDvSmBNgjBPJOcoT7j+V6DIUzDI1Q8pKvQBqzCKNFuddZZNhLOUXLCoCVirY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73327+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743472939552.5553327473197; Fri, 26 Mar 2021 00:24:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id R03FYY1788612xlZAM5g0HD6; Fri, 26 Mar 2021 00:24:31 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:26 -0700 IronPort-SDR: 71tSjoGmyp0wy8r/uyiOdETmTXLYh6eqiCTRBJh2yqfIKuu/GBEerSuO5RRlRnrYGUj1vBBNEh QquK8e0iI+tA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125874" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125874" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:25 -0700 IronPort-SDR: eHh5MSi1KsLpc7jv31nqiJEoXwc7fD0jKQo9S5SKOuQGm6Kn9QA9X2lWl1OC4HyBabq4bBp/4V HPu5Hc/RdY5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154480" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:23 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [patch V3 12/29] IntelFsp2Pkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:29 +0800 Message-Id: <20210326072346.4212-13-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: AEql80IK2RxpMTtZ3cOG3d8Tx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743471; bh=L7es7qXmXXBjBwaHE14zHyulU5RMfBGcj28l5GN08QA=; h=Cc:Date:From:Reply-To:Subject:To; b=pp5tzZCk9VrkyJtYB8HNFDHvq6vv5UqoLnS4IV3bxfHlgWr/zAFdMr7sYsnEdX8XT/U osJrx2Cztij36ViMkmzqnLdR/lPzq75jooiDwKhpUx+8+8S6J7lmyBi/xcjdBbct2DFnK 5qPoiqJgBTaqkUbKmkkZAAWd+6d0mlBuGsg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- IntelFsp2Pkg/IntelFsp2Pkg.dsc | 4 +++- IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index 309411630d..c1414f7e75 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -1,9 +1,9 @@ ## @file # Provides driver and definitions to build fsp. # -# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 [Defines] @@ -14,10 +14,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/IntelFsp2Pkg SUPPORTED_ARCHITECTURES =3D IA32 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf diff --git a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc b/IntelFsp2Pkg/Tools/T= ests/QemuFspPkg.dsc index bc4912313a..961576c9a7 100644 --- a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc +++ b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc @@ -70,10 +70,12 @@ [SkuIds] # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73327): https://edk2.groups.io/g/devel/message/73327 Mute This Topic: https://groups.io/mt/81622782/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73328+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73328+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743474; cv=none; d=zohomail.com; s=zohoarc; b=X7ZqjnG+L+bIR2WGc/okYDHns6PN6B4X0nOU8obUeHy8scRU3nABr0lQB5fvS7M0KDVKnNy5NJfYDEXDk099/pC8cnLp8cT2jZQn/Ln4D534f6m8TmLud7j5ZJ/vcvGZbaFm6IXFDRENlKcPCBXPGkSsPiCa5MJlErUEpwQ6cB8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743474; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=yFqkUWZa+HF7tWycVh7/r0evIHeQrzcsmiZTCZgbDGQ=; b=Uj5vDHMX9NENT+eE3owtysi9HiFtqQUEu8cN+do1rBYiIdeB0aw2TlJj3B0BZXS/pq14k+5vZzVXgAYmf09aYE3gL3fykA7fC1vi7maMXj88fqbyOEnf174gUKd+ZddLiM4T7TbYN2/1MS8dLsLCbF5RE5JdtxciSIYx0Tocbjo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73328+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743474230388.50050839371056; Fri, 26 Mar 2021 00:24:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0RXTYY1788612xLQnaMdgRPx; Fri, 26 Mar 2021 00:24:33 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:27 -0700 IronPort-SDR: Xtdm5yEJyjuEuSBj7uR2tNML1rZE02xfAenFQZeatWk4blnUVoIqjSZYlChyK2FZfTMSJ4CBR+ abwjmRsMm9Lw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125889" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125889" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:27 -0700 IronPort-SDR: JabvAaUAdAtCOgSGjx8vDbH8I3Jam7jcE7YrxcLe1Jre1LDRdIZO56LoWtXgX7f2guHFYFO+96 uwprcX89X51w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154496" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:26 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [patch V3 13/29] IntelFsp2WrapperPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:30 +0800 Message-Id: <20210326072346.4212-14-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: bSljyd9xAKMhEVkFsliOGmYyx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743473; bh=/qz0MS42J37AQzAD4f7NRGUGd4YSL7mj7p36H52QOuI=; h=Cc:Date:From:Reply-To:Subject:To; b=LQErhRpkVqVX49nG1eDTQRAenKkEsb+n0OJ8otSooKXQexWFC2JLCQJlPt/mjZBO0L7 qipK7YuNQbQ8bjbNn7IqXQVLHhhnxDXmwKd6w84+BxYiXu4bHGkwj25WBcpoKWPn9k9G6 TFwSGCfzzUye8os8z+TDNz0RrQwSXAvIRjo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel Reviewed-by: Chasel Chiu --- IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2Wrapper= Pkg/IntelFsp2WrapperPkg.dsc index 738342b69b..21e089000e 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc @@ -1,9 +1,9 @@ ## @file # Provides drivers and definitions to support fsp in EDKII bios. # -# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 [Defines] @@ -14,10 +14,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/IntelFsp2WrapperPkg SUPPORTED_ARCHITECTURES =3D IA32|X64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73328): https://edk2.groups.io/g/devel/message/73328 Mute This Topic: https://groups.io/mt/81622783/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73329+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73329+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743475; cv=none; d=zohomail.com; s=zohoarc; b=iJp84rirSMsuqvrcHgiZUtMDZcoYxgQmGkDdMQh5VlZexEY5myIEHdg/R1G/eiE2vL/6lRBiT/YgA1WXAiaqdO3+5SQ24aQpDIdZGvwkrVMtP8V5HwkPI2KMfUeSS77gnokQrNUO4GBTYHb4yp8zcnEB3fdjeK4UFq5cyBZb978= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743475; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=QEK95zmKpu1zAdzmZa3hWTwg2uxgM8eus6uVHSbUV9E=; b=QwdJdvib8NUEcY96Sr7KEzAy0EHU/oxZ+fL/8Cm0DhOntXmPPa68neXqaRMJfxz03FaLAkCMatrK/9iEPknmFgllz7aoex3JhCRaCTgf+mtDND7pgB8YNgXDsz2exbq4tzyOcSLuzVq53Aiewo3kI9qM+Dhp/u+Skw9Dh/AiUSM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73329+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743475777641.0779393300639; Fri, 26 Mar 2021 00:24:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id dcYQYY1788612xFFD7aM406B; Fri, 26 Mar 2021 00:24:35 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:29 -0700 IronPort-SDR: vge9kDMQKwls3oTd1g2zfUq7Her9IJ7LFMGX8xYdPHJb7Io5IIrjTXuUoeX0WolNGh5gEBjFIY 4Cdj+DnQpKQg== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125905" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125905" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:29 -0700 IronPort-SDR: HeqpFZKIXOfhpyMU6A+LkLCdpk0eHFHDiBfVflOc4eHlDjZowmPm/myjtAOOme/+xgJV6B5lQG wk2tfbLWtDXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154503" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:27 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu Subject: [edk2-devel] [patch V3 14/29] MdeModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:31 +0800 Message-Id: <20210326072346.4212-15-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: gcZ06Ai9QSbp4ECfoMi9l8YEx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743475; bh=7Zto9cLztMbStsT3CCMdjvLIftjyG+j4Yrrems1yj+w=; h=Cc:Date:From:Reply-To:Subject:To; b=sZmVszUTZ2EDFvs3eyrOm0+huOCb6xfdROlCVXmOyJKqv+mCcGDfQaZo76TzUOSynT4 soXW6XtSXl4w5fG+29G6tt41Xt2MVJoWZwvVNMZ33iJzm2v2a85lBhKY8sPppRKOQRK75 QeQWkZxEWTNLWlr3J+pUY9N9SaC+uwCbpcs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- MdeModulePkg/MdeModulePkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 9272da89a9..132fb36d95 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -1,10 +1,10 @@ ## @file # EFI/PI Reference Module Package for All Architectures # # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
-# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -17,10 +17,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/MdeModule SUPPORTED_ARCHITECTURES =3D IA32|X64|EBC|ARM|AARCH64|RISCV64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry point # PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73329): https://edk2.groups.io/g/devel/message/73329 Mute This Topic: https://groups.io/mt/81622784/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73330+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73330+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743471; cv=none; d=zohomail.com; s=zohoarc; b=DzmLtGRz5AcRijuPicdKdeTOMprKn+3zWf6kB2OWx5HuFxJbSdA7Cyfskc8upDO9jKKYrLrWf4FZOrMfYOdWBZnbsjUv1kEqGH2apck5F69fp6mXQMAEp7vVo+VDABlnYKQv08flGObwlzeyGbe8AN03gq65VjJuK5Rf9fQdvcY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743471; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=hNkvIPFl03o5rgM/C6MhCMWcuKEsZ4795A1hz9NXAVA=; b=G5Pxajq/WodmTSvLFG5NgKfkMs/jvdTEE4nM4PMCgCeaF+UTB0tST1EB3y0UrKZq1Eudg6OO0ERMOFxbuq6RcQXxWwzJwaz8+ecSDpR2ToEy3KOOvbSofyj4O81AkcAhAmTbm2WDyjaqY/iPpsFgIPMpLS2QKW2K48FG0kcBK7I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73330+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743471873882.6440944818453; Fri, 26 Mar 2021 00:24:31 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qPIfYY1788612xZPyHOt5mjw; Fri, 26 Mar 2021 00:24:31 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:30 -0700 IronPort-SDR: AAUNptUmWmv5eAlvzbtbwZVZMimSrZhK8rRfO8o8OWonR3KQH5CnXtXq7vbX4zK3SqdRSliNQF Y6xv81O830Xw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125927" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125927" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:30 -0700 IronPort-SDR: MlZCIFTLm8Wd2c6P+4caUMckpevOO662Fft5pCR2bHjSomv2UEWkjL23X3AB+pPfdCwuLexabp A9a55oQyyCCQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154514" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:29 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch V3 15/29] MdePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:32 +0800 Message-Id: <20210326072346.4212-16-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: 1CSqWWXmYRKe99V06Pp4MGknx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743471; bh=YaHwrvyuyiUCAajsy9OiaZTtswfozu1ztrrTAHx0WIA=; h=Cc:Date:From:Reply-To:Subject:To; b=h5ASn/paq24YtqNBR7yXw71w7ZNj1yaJFwhz5yNHl4bj6rfUqZMBmqCxVadT0aQWfCn j5ta6ae2f/6t7O+YLQ/rz7K+DFBJYol9zJnP4C4S6ZsYhGmnw3KSLG3G6OeXZaQkDlJDK vyf5K4frdweGxyFrLH7Jfitb2+3/N3nNNs8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- MdePkg/MdePkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index be89e28eef..d363419006 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -19,10 +19,12 @@ [Defines] BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc =20 +!include MdePkg/MdeLibs.dsc.inc + [PcdsFeatureFlag] gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE =20 [PcdsFixedAtBuild] gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73330): https://edk2.groups.io/g/devel/message/73330 Mute This Topic: https://groups.io/mt/81622785/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73331+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73331+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743473; cv=none; d=zohomail.com; s=zohoarc; b=SezMraR+fXcbXZjAt7LtK3JsqS1aa7TeHGdk1HDbQnaY2Rbxa7k3lB85xgabSH7X9XSw6DVCDBiH+qcjfyRFn76C9tjv6LnqPedTAQjPJxKh3qEt+FZKnlyg3o7slH+kObCq/Rt7e9fCP+GE4wW5g9tA+bWxEe3RbRbX/Tvz6no= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743473; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=D4Uh9tVi+RqGj4xovOuyP9jLNkYd32W/OWsLyVwBzZc=; b=WXIqPslGL6kyo1vH3zS0eMZxITbaRyeLRJ8lrAjo6Aksgi4RVLONmmqJ5knuQd68OUFTLT6kPfTq8+lawf02ZH2QCh/RvTv4ebGnQ49Q7M4+CTYBtXgAtlgn8orXwv7jFvO9sRvrvwGeJRs6dZ46RUNxk2rgWREmM+57clpD9ts= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73331+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743473745325.0374744667637; Fri, 26 Mar 2021 00:24:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id C5NKYY1788612xKuxrzhZk2p; Fri, 26 Mar 2021 00:24:33 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:32 -0700 IronPort-SDR: NnRPrVHwByvsSAg7JCIGwRBJBhohT6hjhIzX1VC2ab1k3PMYOybcEc9AzEUc93BLoq1d/cLoXq v/2PWIMOxsmg== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125942" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125942" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:32 -0700 IronPort-SDR: ShEe8spHqvMiuU6URiUS0bHQqCDKuunOyVZkDuLCljLvQuC+bhPRDwkqkZNVeGdHyH7Qcox/1C AF4AQ93Z6DrQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154526" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:31 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [edk2-devel] [patch V3 16/29] NetworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:33 +0800 Message-Id: <20210326072346.4212-17-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: k2M51JB42Bv2Cb4OEd3tcb1sx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743473; bh=hcxVxC8vmbsr0DccWOtyRo6/Z9Klf99CzAhmlRlaQNM=; h=Cc:Date:From:Reply-To:Subject:To; b=V/ZR1ULQGsFrdvl83pTDCZI9W7Jkhk5BizKmeKg5txECVmd09Yu31QUsamaF0yYWlmP AE2Hh1AuDMDs0pgWjDn1aj1UtA+epyb3CzAC7zoN/dgqfrfqXzY8bUwG9yXV7jUWlPNBX iXsTC6NamGm4Zto67BIg+eM/Z2Uit3flXYM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- NetworkPkg/NetworkPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index 531da841e9..5e6619ad85 100644 --- a/NetworkPkg/NetworkPkg.dsc +++ b/NetworkPkg/NetworkPkg.dsc @@ -1,10 +1,10 @@ ## @file # UEFI 2.4 Network Module Package for All Architectures # # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.
-# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -18,10 +18,12 @@ [Defines] BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 DEFINE NETWORK_ISCSI_ENABLE =3D TRUE =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73331): https://edk2.groups.io/g/devel/message/73331 Mute This Topic: https://groups.io/mt/81622786/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73332+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73332+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743475; cv=none; d=zohomail.com; s=zohoarc; b=POl/LohbGm1+6Jkl/H4qaudiPrjQmhrf8zkIWNSvzFvsRlXzpcmzyPBHSLlLLJbC4X8RniAbKihVejjtn1mxVEmtzqdaUe5/x0Ifo0x5htZJ5n94/H5+kPp4lXqy0Q3DyppcAgiUJyvTU5N5QGdGGnbb6sY1vN46RWRL95M6+Ks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743475; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=topGDRN0XxY88EERilBTwyNis2OLEO+UlYc/0xgnatg=; b=RqtBQOMFj65ud+OEvHQERk6B4GhpYk1kZZ07sXwzGQfSorlmnmb3XEhS44JlBrT5xzY6banmoyenQB+XnxUaSqQuHBwDD6/0wH0oXQN8nDyGjIhk/1LSDYSzO2IkiNdyASBpJ2ec09yjYDv/7qIUk01Dl1wLe6Qy2GI3sFlg3L8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73332+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743475358587.2689733668444; Fri, 26 Mar 2021 00:24:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vl47YY1788612xnbXU8u6Ygk; Fri, 26 Mar 2021 00:24:35 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:34 -0700 IronPort-SDR: nXAX4Pnadic25Qn6AiU2kLNzHle4QuGsOpBOiecoJekbT98Rb/m3jm79EzGbE6N4w7wP51+1Kj hjW6JKZ27g5A== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125950" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125950" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:34 -0700 IronPort-SDR: P5g8HO3/NzIPdKeKP4iFAxPcNBVAP9T2wlacJbUOwAvSLG0coX3jd/BFUkQPR64hIepAB+DSWg RXr2AG2FFGFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154536" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:32 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Jordan Justen Subject: [edk2-devel] [patch V3 17/29] OvmfPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:34 +0800 Message-Id: <20210326072346.4212-18-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: dPrZcMUf0BDzQNptslmjU5YAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743475; bh=QDqaRRG05vCv/UMeVuebMAQVBT7R7MqK+2661TM/xXA=; h=Cc:Date:From:Reply-To:Subject:To; b=HYmdhlB4du8tDx3TdntkBK8lxsidRYeQrGSk4pfqN/QLO8S5jgiopIoD2cHCEM27bCp SwxMBhxBcb+i3FMRsu3I92Wp+xSLU+FgducfItmAkrawlG2HoUp/JSMeQf81XQdKC+szQ jRgaKrbJsp46IVI5rkFEmybVv9OMQm41k54= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- OvmfPkg/AmdSev/AmdSevX64.dsc | 5 ++++- OvmfPkg/Bhyve/BhyveX64.dsc | 5 ++++- OvmfPkg/OvmfPkgIa32.dsc | 5 ++++- OvmfPkg/OvmfPkgIa32X64.dsc | 5 ++++- OvmfPkg/OvmfPkgX64.dsc | 5 ++++- OvmfPkg/OvmfXen.dsc | 5 ++++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc index 65c42284d9..10fa71ac86 100644 --- a/OvmfPkg/AmdSev/AmdSevX64.dsc +++ b/OvmfPkg/AmdSev/AmdSevX64.dsc @@ -1,11 +1,11 @@ ## @file # EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV sec= ure # virtual machine remote attestation and secret injection # # Copyright (c) 2020 James Bottomley, IBM Corporation. -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -111,10 +111,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index 4a1cdf5aca..b34c3309b1 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -1,8 +1,8 @@ # # Copyright (c) 2020, Rebecca Cran -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) 2014, Pluribus Networks, Inc. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -111,10 +111,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 1eaf3e99c6..28db30a638 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -1,9 +1,9 @@ ## @file # EFI/Framework Open Virtual Machine Firmware (OVMF) platform # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -115,10 +115,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 4a5a430147..6a39484194 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -1,9 +1,9 @@ ## @file # EFI/Framework Open Virtual Machine Firmware (OVMF) platform # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -119,10 +119,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index d4d601b444..ffbca03f50 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -1,9 +1,9 @@ ## @file # EFI/Framework Open Virtual Machine Firmware (OVMF) platform # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -119,10 +119,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 507029404f..e72511c503 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -1,9 +1,9 @@ ## @file # EFI/Framework Open Virtual Machine Firmware (OVMF) platform # -# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP
# Copyright (c) 2019, Citrix Systems, Inc. # Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -109,10 +109,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73332): https://edk2.groups.io/g/devel/message/73332 Mute This Topic: https://groups.io/mt/81622787/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73333+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73333+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743481; cv=none; d=zohomail.com; s=zohoarc; b=IZ/0s16E8ygH0Z9W5xwoatnfWXI6N2j+TbHvZkrtYvx+p6KqYdFV9Ae3WDH1ijMdQPkK3J/vQZ8LSun2zVIlyTZVUFtga3ds6JjWTLpXjTvCLLNb9E/LcgD9fZb/KRZhZfJ9zaa57wDZZI3kTVC2pjmgw8iszvOuFGc8oYPr/S8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743481; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=Ar2SgisHQ5LsyI2F+c1EYYVnKi6Dlaxtk04Dr26YDec=; b=Le6VtZnqPc1LBa9ZYqPimKnqJm+bx+7j9TFQhPgzCSD6MIpFHS2FuyH43HKn9yAHpk8SuUuaEp5SoCQsbJrdnlMyzWjOx7gwxk3ZiekH8XMqUCOmUh5+MarKi5mBfz7wZkvF7p12nUW/WHNe+YcS0KHCCXeeG603CLoYAHcK9tg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73333+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743481887847.7927817227103; Fri, 26 Mar 2021 00:24:41 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IdGvYY1788612x5rVnjVmaVB; Fri, 26 Mar 2021 00:24:41 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:36 -0700 IronPort-SDR: 9F6WL9WgCxjg2rfvPZW1Bmmcpg6tsPvuPwC9iPHT0dL3lTj1d7BklErHJnPQ27hsw6LbpIWLnH Hisug7ZoCX8w== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125971" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125971" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:35 -0700 IronPort-SDR: CHx4AixUiyrgrxOUqTYQi4oX5nKX3HUF8MdD/x4Khk1wjKWwdfugC76QdIRBSI/PCYCj4oF8gQ +g3b25e2m5kw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154540" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:34 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [patch V3 18/29] PcAtChipsetPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:35 +0800 Message-Id: <20210326072346.4212-19-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: cVHM1VUMifFmZA0walJ4Ef8Dx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743481; bh=bbekbUc0P+PV7cUensRC9YTFrnh62rRBwTeuM1mWf90=; h=Cc:Date:From:Reply-To:Subject:To; b=HRro5oXZbUnP0IdiOTYi6tPYeFGFRb5/JXcXntE+H53UJ9/3YQbXxpVnxe6HOnhl+WL CRZ+wI2IdwwpREz98ppUEcrhxl9r+JbOUgRBUU0MpBpUYWH6YQtr3vgmv2myD0yyvLCF4 h4btix7+SxOkDGXiGmUUK/6PNFUfuZcBE6w= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ray Ni Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dsc b/PcAtChipsetPkg/PcAtChipset= Pkg.dsc index 3d1fb816f5..451e60ddc8 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dsc +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dsc @@ -1,9 +1,9 @@ ## @file # PC/AT Chipset Package # -# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, AMD Incorporated. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -16,10 +16,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/PcAtChipset SUPPORTED_ARCHITECTURES =3D IA32|X64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73333): https://edk2.groups.io/g/devel/message/73333 Mute This Topic: https://groups.io/mt/81622788/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73334+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73334+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743477; cv=none; d=zohomail.com; s=zohoarc; b=HHNAIwe68LD4UgVo60y+2/cxG4XhGyj3I/ywvRT1BoD8zMHJ/L81FoJt5Bonwd+JGf/J9B2ei2c05Xp5Pbzd0hR/2+i9R6xrw5UQ/sixutdYADmBYjVPtvNOfmtLWzQjtdLlFeeyAiQcuvSqcS95IjjQSyqQpcsftB5L5kN6qHo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743477; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=gzHSa/medeSOCG3RjD4orB2g98h6XzQ8COK4+1GYsbk=; b=ItQ8Nu7gvmM5ixoLsHkJVcqpmUrz1X9Rz0d8KuOJCxinndajoVYyVIFLl5luBpZyo6oD9w1fvFbTK2CaHKp+1i8U3xlF9Xowxa5Tfh8OT5ebT5TOPg6bqRTHoDuLoGFDgmOOGFZn4BbbbPiZ/tid+S1I2UdYyvTJBEFej21gg4c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73334+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743477383531.8560351716787; Fri, 26 Mar 2021 00:24:37 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6wtSYY1788612xJGDYWmsBOD; Fri, 26 Mar 2021 00:24:37 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:36 -0700 IronPort-SDR: SkM6QvyzROFTdd1R1qFMu3SXvsP4QDNUjegKcUVCxWO8OKMg3YXi1EFUMbTPSaaTs6tbXIQFT+ tMUoVJrEvFiA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125973" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125973" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:36 -0700 IronPort-SDR: cGDMY140nJjLwX6Dshnk7Rxi2uBEokXH2J6XfJRh4gvkLgvTsEB8FssVejg8yfgmly0SCkhlvh KtwznvJaHVLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154542" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:35 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Abner Chang , Nickle Wang Subject: [edk2-devel] [patch V3 19/29] RedfishPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:36 +0800 Message-Id: <20210326072346.4212-20-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: NnUlv0alvnY0ClEwOMtdfZQ8x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743477; bh=p1dyYgtZKFqjpvP01x/y7UHQXXSPiHw2mfNZOad4lAE=; h=Cc:Date:From:Reply-To:Subject:To; b=ql60L8JAO0enor3G90nwK1uhQyEp36IUTcsD6W3zamnGqJ4W/8WDJmWU0T62DuWxdXm Q82l/IlGwpigMfEUmZYxcmzRPf7gfdKHbQyDo4otkwulqUBd1m8V6mqj2MKOHuRgxUV4F LOoaXVHfjjMZK55EeeB0e8BsQDm7oCSScMM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Abner Chang Cc: Nickle Wang Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- RedfishPkg/RedfishPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc index e0052290b5..16139146ff 100644 --- a/RedfishPkg/RedfishPkg.dsc +++ b/RedfishPkg/RedfishPkg.dsc @@ -1,9 +1,9 @@ ## @file # Redfish Package # -# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2021 Hewlett-Packard Enterprise Development LP. # # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -16,10 +16,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/RedfishPkg SUPPORTED_ARCHITECTURES =3D IA32|X64|ARM|AARCH64|RISCV64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73334): https://edk2.groups.io/g/devel/message/73334 Mute This Topic: https://groups.io/mt/81622789/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73335+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73335+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743478; cv=none; d=zohomail.com; s=zohoarc; b=F71rQzjVkNe6oL+RPU7oTH5aNwXWfY991aJqdroxs88vwMENaL3cMpF6ApaY0QngpBjuF/fpx+7x5KmpLXWX5KGcePwklh8wS4gAKVPhV8XqvOiVJDytWJINTNGCtFv/V3je8zsuHvtUBOQMQwNcHuchxpbuKSzkwIkds1E/rN8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743478; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=W/HUDACu9mcDflO21CiCQCjhL0jW0UPmBdfLqm3oVWI=; b=gy0ssCTEwC5fuuWa7NlolSA1pYNuS00tpXv1nfLAkX49OIXwUIh0rnwaZFQ7xL6QArCT64OByqLTJ828I6DdNffXugWt5+cmBW9ZK/jzqfgjbKHwZBz1SQVQG7XEMWDHa4l2Af5TuBqcaOrgVI2UMzRInazqGzVhqsDmh1ytbd0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73335+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743478480449.50231501784106; Fri, 26 Mar 2021 00:24:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id H2umYY1788612xZl3votXTvG; Fri, 26 Mar 2021 00:24:38 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:37 -0700 IronPort-SDR: H4CVIGm/5isRuPkbLbRZeF3iMmou929xtJG64GkWzeYeHs4619zpWnP20CeWcV6mGNpk+Whu9Y YtLlhFbhfe2w== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125979" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125979" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:37 -0700 IronPort-SDR: jhU8MLmwAKkkAxLlCRrhXf5zf/g4iJbAQwkQ8BoDpSvn/WrtQBiYgf10Gn3mP/DnkesIHQQEes krcerBeNvWqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154557" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:36 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang Subject: [edk2-devel] [patch V3 20/29] SecurityPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:37 +0800 Message-Id: <20210326072346.4212-21-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: k9gDhn5tq9HXacUGEFnREAJLx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743478; bh=hpXCEl76+NxQl1YNP3DGHEFzCAg2WImC/NjniiK3xJE=; h=Cc:Date:From:Reply-To:Subject:To; b=NemXIhevoCf8tYnJX28DXDcfjvZOIfAk4jb7QRaZ/Mzfa6rYdCuvf3LCebMc8pH6XaG k+JTJ28HIcvcAauMOY0HOvuDNTXkuVBtUndNQWOdF2iHZ8aNV5pnqNNtyRk9XcRcaOBvv o5T1XLlmeopYFEGa9somPUvvF/sN3VBRMiA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- SecurityPkg/SecurityPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index a77665518b..12ccd16349 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -1,9 +1,9 @@ ## @file # Security Module Package for All Architectures. # -# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -15,10 +15,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/SecurityPkg SUPPORTED_ARCHITECTURES =3D IA32|X64|EBC|ARM|AARCH64|RISCV64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73335): https://edk2.groups.io/g/devel/message/73335 Mute This Topic: https://groups.io/mt/81622790/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73336+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73336+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743484; cv=none; d=zohomail.com; s=zohoarc; b=RED7HMKfKoR0T4DvLovLugFya48x6eSZtM/OVqJ4IIz/ado5A/59H9/fFXDB+/vPv9+gnAazDn9/nBddopRdWOIl8y6XHyfcLftyinFw00+qAZHt4Za5mIuxM+T8lEqfmb0BM/e20Jtq9/pBFyNhOjE10/udDazCUbVPRgnx5P8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743484; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=5CSflvRfbojCw/jWa3uvvjoSyK0WJ/IKw2Pz8kvxCks=; b=YHRriyG6RHd+sY4xa3Hpn9+J0AvrVTbRRy5tenYUvu6b/GDhBbIOPSQ3ELGMXQ2ueO4IuBmooCbTzk8jGlI22U+cVd4b+vya26yDtiocdmcY7l4OdGtnGCdCDBkO/OucolR+NtMcFLkb1XiVR/qh+BimWatrv7sRBjtyyve9RnA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73336+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743484715606.6481611281995; Fri, 26 Mar 2021 00:24:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rseKYY1788612xIboe2chM5h; Fri, 26 Mar 2021 00:24:44 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:38 -0700 IronPort-SDR: Aj+6EK3jCXkkVAtsXk9iyTQ6R+Uar624YLC9UO7fMyW7m8Cq0Uhrdi468PjCS3NF6Gv5/6ViAm 94zEWnVFKDYg== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125990" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125990" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:38 -0700 IronPort-SDR: 9l+PFpA0xrCPu5EUagquqxrqfjRGkxGUvU6SO4eq5mXCYfUaeVOOGex/nnPRnYcdPlTdg+G0G/ 5KCnWlNswGpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154572" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:37 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [edk2-devel] [patch V3 21/29] ShellPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:38 +0800 Message-Id: <20210326072346.4212-22-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: JozRgX6t7Atlj5m2wQCp6IZ3x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743484; bh=fMIseScGojWShovaPcXHLk3AQk+Lujby2U7T04h/qA0=; h=Cc:Date:From:Reply-To:Subject:To; b=T9ZwG080KvYlGdu4pnTTkO56eFpP9QWgkAl+fgOhC+Ai/U9BjBqNCrlp0y4UVZab6yn oUuTukB9gEtozotU9HPjnadaBWKBx5UdD6dCe0fdEhMnmpF4fZ636EBmCi50ndJzXi9W4 3hKDlHsBHHT5zNuZb5Q9rjEfwnTPIxLpdoU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- ShellPkg/ShellPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index a8b6de3342..6f0d092931 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -1,9 +1,9 @@ ## @file # Shell Package # -# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -17,10 +17,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/Shell SUPPORTED_ARCHITECTURES =3D IA32|X64|EBC|ARM|AARCH64|RISCV64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptional= DevicePathProtocol.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73336): https://edk2.groups.io/g/devel/message/73336 Mute This Topic: https://groups.io/mt/81622791/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73337+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73337+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743480; cv=none; d=zohomail.com; s=zohoarc; b=L5jFOxqcywT11QNSo5ZzM06YuDWNIZdGcx/BbqzP2CW+D5R3dVfPtOn4ouSln27r6k0R7xGIDAsWLBqzkAXs2DBclRtaz+601s3yEilNMz0rm5BQNrTPDC3cx1q24kgv88imRLEAohSfOog6qmfMQ+scRSPMG1E2+vXOnhzUfQk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743480; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=sbrtV4xB15J+SxCkbQmEIeNZHB0S3K5gpBN0eL9u2cc=; b=ajWewWpp03/lw0kRTelR7+SUMCrCUiLrXBw3ImeJa8Fk7PCVKPZvb+YdeBeIPK3iRrxwkCbVoUlSZzFXZf4PQCI3l6VUNy6QZOcbPFDJWavuGKkSufajSid/0SruZ8NZpl6EDQL+1W/9DulAq0OA1MBOI3odwNFUfGFdW6fEPgs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73337+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743480792295.6331868882136; Fri, 26 Mar 2021 00:24:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id MFsUYY1788612xfas9vclmtj; Fri, 26 Mar 2021 00:24:40 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:39 -0700 IronPort-SDR: imcbxZuNrbO+mcm+pzd7F0rgzYcFRToNfE5MjHAWT3TpDVUW1ueqLyXDGlCvUFeu+sIIZPoOSU ei8jBY/GCd/g== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126010" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126010" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:39 -0700 IronPort-SDR: gfcp6I8IxyyJOxcjA5rMjbECDkGxZ7wGt9DAyLbLrB4U/q7kRAf6zFQqdTKVtvtr04nn31trWJ fhWNQ0b/BsZw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154583" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:38 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jian J Wang Subject: [edk2-devel] [patch V3 22/29] SignedCapsulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:39 +0800 Message-Id: <20210326072346.4212-23-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: fucQnrUlYvJrjk9yvAFEvdysx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743480; bh=9NCMoIvBIcSPIo5Wf2fnonSeXsMD8eVZpdsKPnw6WF8=; h=Cc:Date:From:Reply-To:Subject:To; b=dOhuUz2VqJ8+Ena5oK+BpYy3ktRZxuUxh0XrbeTd6LDL9Hixk1MYu869TY69CBAYFOc p5xLjL0AIhiuReqmtXFupmQIIiAKcF32GhIPbSjAJ16v7sLndQ5GaRnMevPTwJnTIx1RS GC9fyxNNBD5CDVcdwSn1eJCdmKweBdljugA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Jian J Wang Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- SignedCapsulePkg/SignedCapsulePkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/Signe= dCapsulePkg.dsc index c5080ec1dd..2152d3d156 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dsc +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc @@ -1,9 +1,9 @@ ## @file # This package provides EDKII capsule related support. # -# Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2016 - 2021, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -15,10 +15,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/SignedCapsulePkg SUPPORTED_ARCHITECTURES =3D AARCH64|ARM|IA32|X64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry point # PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73337): https://edk2.groups.io/g/devel/message/73337 Mute This Topic: https://groups.io/mt/81622792/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73338+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73338+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743491; cv=none; d=zohomail.com; s=zohoarc; b=WHriKnuWG2if5t7ddPAzBRDPDrDPJ5Qx8AsdacLqGfivBZ7vgu7FlEv+jSsFYDE6AsqKgfEOFMHH1GqZ1b+dFi7v5WxOkkTjYmex5ROTyfMhdA8sNOZYs/3HG5XNbhjLHK3INt768A5e43+gfFegaygHbLC9wyig2sFy2r2VmCw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743491; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=d6+MO5dmU7g/er9pOkcMZJ6VmZeYAPn5yHo+YsS8CPw=; b=Kvr+zBD66/xGlgHFkStyNFLI38FZJG9wlUXwGG5yVY2QBnvdfgncHN9YilfQ4HNyJUlhemjp/9hUluaAefsDGLaRB5AgtHK5p70zpXEtP1Ts//lryGE6x6nJWq0mZPZVYnra9ksAhU8saeobFIvA25meY/k0BGJHAnarOxWXPG0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73338+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743491828775.2503675684336; Fri, 26 Mar 2021 00:24:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id toMBYY1788612xP5goSQp7rK; Fri, 26 Mar 2021 00:24:51 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:40 -0700 IronPort-SDR: o71s6TZkNLH0RnGThl4A4yzYY2EJ8HlxbT5o/dm7teb7XqUv68UlWTr9f2jpOiG5dX5HKfhnm5 JMeuBHpzi2UQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126021" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126021" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:40 -0700 IronPort-SDR: aqJUD+kYe1549rjS8w2oMSLWXnRQsGQfUCvC8IV+DoPJWn2IKnYdEkgKhkMI3KXYSZ21lyz/pY IhPp+D9UGtJw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154587" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:39 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Hao A Wu Subject: [edk2-devel] [patch V3 23/29] SourceLevelDebugPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:40 +0800 Message-Id: <20210326072346.4212-24-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: 4sdRIdJyTfTsSj2qUQPpgJSAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743491; bh=o1I3rBwy0P5vLQ0rYf0110mND0L9EQIeEtWwHb6vBAA=; h=Cc:Date:From:Reply-To:Subject:To; b=UzN7WNmrGasyJOqNWhOVJzbJ2yLfk8dSaUgwcyZYOOqBHLKKtrRJhwwfKGx+sNt+TXc yeH80ppnWOJ3GU6RegOi0EEemjZC6ts6VYbhvdLHJjwktCKUPqsq8LjP6Re/9JTlbhDYn EnclDtBSIdnPekzeT3aqHWTcQs0H3ZjljxU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Hao A Wu Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDebug= Pkg/SourceLevelDebugPkg.dsc index 20eb10ba07..eba64a7b78 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc @@ -1,9 +1,9 @@ ## @file # Source Level Debug Package. # -# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2020, AMD Incorporated. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -21,10 +21,12 @@ [Defines] OUTPUT_DIRECTORY =3D Build/SourceLevelDebugPkg SUPPORTED_ARCHITECTURES =3D IA32|X64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses.common] DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73338): https://edk2.groups.io/g/devel/message/73338 Mute This Topic: https://groups.io/mt/81622793/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73339+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73339+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743483; cv=none; d=zohomail.com; s=zohoarc; b=EvaxEJbjblDM+xM3fZ6uRBFrbfWE3bquXu6iXXFnyzCP341sHI29L3u+vAsNeZHHB5gWv4vxBfwB0LfsDOia/duhW6iAOrSBjlvkK3gUcGR0Glx+YzkaxOXRmhTvFPuM04TfrqICeNoI+BFygHibZMGDDgt8o/JgO5K0cCE+2XA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743483; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=x2imfXiUv6S21yu8T5Cp5RMtpW4acPTfN1M7IoZ39ac=; b=Y/DdIXcWqkZljHO/qaQCR7RsXrzKd5Jdf7lenMcqQaM8TQFnJ0b1ZdbiAmIIvRx0e5e0C9QJuQ8BDeKSDQVFaeOQcwhe2y1U6jK2cqpHqlDIgK+Urt3afiecGtGID1oNOCrSdf6yyoTZ/LEFh7RK1NGmaJJ9TRhFs5gC7qXQaBk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73339+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743483377915.2578004145549; Fri, 26 Mar 2021 00:24:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id EdUgYY1788612xukzwhXuKO6; Fri, 26 Mar 2021 00:24:43 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:42 -0700 IronPort-SDR: 98GZgujxkx+JmptPUW9OQZQ2obu/8R8G9xtNxGGKI2mN8TuoHAnU3dzM92Vh6lmKkI+m1zj4XC 5zkWC59JlTWA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126051" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126051" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:42 -0700 IronPort-SDR: 4d7zC0qfGBLDR5DVHgrT625gL3jWs6T/F0R/0l9FK1PxamJQyUmrLaeNrt+NPYinVEoVD39E6D PWOPo8kUhx/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154604" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:40 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh Subject: [edk2-devel] [patch V3 24/29] StandaloneMmPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:41 +0800 Message-Id: <20210326072346.4212-25-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: 7XJL0go18BrH8i10QzdlYPxKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743483; bh=SQH7f6163ysV/xj2LEJk7/Aakf5vHXSC21lWjrY8GQY=; h=Cc:Date:From:Reply-To:Subject:To; b=ovmfiJx7IMM4hKcui4BH74ETOKIPcXRo+rmuwOz+rh/x03MzPpbHz6/qgNhp41NkX3e 3dfB7mijU4QwZ5WfVWcgcm+YDuY0+iUaleSVVC5YVOG/6Wr6S/olOj4hb6Vy00BVBZlE+ eBBzJywJaqklOo4MyFPpbedLfnbxQpbn/tk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ard Biesheuvel Cc: Sami Mujawar Cc: Jiewen Yao Cc: Supreeth Venkatesh Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- StandaloneMmPkg/StandaloneMmPkg.dsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/Standalo= neMmPkg.dsc index 73f3f0f6b1..0c45df95e2 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -1,9 +1,9 @@ ## @file # Standalone MM Platform. # -# Copyright (c) 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.
# Copyright (C) Microsoft Corporation
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -30,10 +30,13 @@ [Defines] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Basic # BaseLib|MdePkg/Library/BaseLib/BaseLib.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73339): https://edk2.groups.io/g/devel/message/73339 Mute This Topic: https://groups.io/mt/81622794/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73340+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73340+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743486; cv=none; d=zohomail.com; s=zohoarc; b=YV8TALknVGjjvSut95XQ9F3+CRT9xTMTTfBHCrS1FID6Sra0mxwe15Ex0BsA+xMQu32/X3lxWueLV6sv9OKyGgeV6+cLL+qel4UQwRXOUI9hNOZACGQTsH8VaGNGkvQFrxRdKYHV4VnNcQsKwCg2zazZUn2w+dP+ieC+aZnzw+M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743486; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=U49yVVAD5CarKtUqGuz0GjkDO/4R6Eb0QNS8JKq9D3Q=; b=O7XZB7M8N4HCWUlXV90m+le7FsuhFNk6Y7OP6pegVIJjBoGswJu9We0AodHuilOerXWryNeY+bIXCxVdvhOYnpn/KaJIMI/MvA5ZL9WwTQR5WhXztCDRXN0I9NSQaZU0xMT4CSzkEEayNx+okvVV2qsYWiwG/VaLSOD6AabTobo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73340+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743486286445.6055218026604; Fri, 26 Mar 2021 00:24:46 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4eTGYY1788612xpwfrewBIq5; Fri, 26 Mar 2021 00:24:45 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:44 -0700 IronPort-SDR: sfrmLfIBntCvpGiviAMiL/1ZqlPLY0LBL0e2sifp1R3eQKKsXrYroORX2Y7CfnO5WKbuwIzcMV eID8TKYoDzVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126061" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126061" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:44 -0700 IronPort-SDR: Yt2/tkAsc6+R+zgesTcVmGbAHC4kPKUGpoHvojsftvF/Cp1ZbByHm9rkOmFSEkJoYXjz5hBuRe +EN6qpnXDWCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154634" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:42 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Laszlo Ersek , Rahul Kumar Subject: [edk2-devel] [patch V3 25/29] UefiCpuPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:42 +0800 Message-Id: <20210326072346.4212-26-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: 4JWwV83GWoILCzPQQCXVHQBix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743485; bh=kBeC2FCafYUYxjrdGaVp4IhRXmPjzy8yr39CeFamVBA=; h=Cc:Date:From:Reply-To:Subject:To; b=uxuxh3BLV2UCCzt3urJfQZjlwK2DyXAG9XiEuPF9GeFWOwhdj1KH+kFxxhgDZJR98hr 583b/AdPRkfH4kvfKQoSieiI2gbYOJb8og3+DbeGB9RpEtnjclhjqGi+ItiMBZ8AzTEWG Z1Nn9lG/5vDIb3/3NR/MSsXjJ3xdjE7CO9w= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Cc: Rahul Kumar Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- UefiCpuPkg/UefiCpuPkg.dsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 7db419471d..98c4c53465 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -1,9 +1,9 @@ ## @file # UefiCpuPkg Package # -# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -19,10 +19,12 @@ [Defines] =20 # # External libraries to build package # =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73340): https://edk2.groups.io/g/devel/message/73340 Mute This Topic: https://groups.io/mt/81622795/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73344+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73344+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743549; cv=none; d=zohomail.com; s=zohoarc; b=AtPhPcUj7Z6ucIaB7IxJWkBKQbcF22nhrsWbmHBbcK0KSs/NGMXRT74U9hK6svSbJzIQOkJNsFVxE7Ylf04oVwKiNsxAHDpDXGG3wt+zm3Xb+i9IlIT6r273TrCb6JymzYvWOXHIrlSFg37px6989GNtvc2DSGa3WwU5We5hl/Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743549; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=UXUViJBBd6kk6JD+hkHwSPahnE/37vCq48QKi7n5DWw=; b=Z4gPPT30wFSX3gYxfP/5SRxAYck52NlbEYs7PtOOYoAm+i75FkrlePF72aS1sRlvvi86GDiUNYLoVI7OHOGp2DLxvWgwokXOLssKooxqgQ/29Mqk83VdP6NrOP2WdFOqWCFFXLScOunX0OIifxxgZ6/onJDLsvLDsfftwduydZ4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73344+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 161674354916328.058063962269443; Fri, 26 Mar 2021 00:25:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id x5udYY1788612xfLe8cy5Mgc; Fri, 26 Mar 2021 00:25:48 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.9376.1616743547194107975 for ; Fri, 26 Mar 2021 00:25:47 -0700 IronPort-SDR: Q1Hl83+E+noqqd3yvbYEvbjY3UsgQTfHS1Ffn1qPhUmLH786Z7dKAm9/DFtlcsfWvfTAsuKise mdAMZglDPWUA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126081" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126081" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:45 -0700 IronPort-SDR: /HyGiztxtSFTvcpliyLYYIhU2aPMSUH3YSmdg0LahehZeVFJgbCqq3ZNer2GmgqnBGF0li9cvR h1Vlln5yBeYg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154656" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:44 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You Subject: [edk2-devel] [patch V3 26/29] UefiPayloadPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:43 +0800 Message-Id: <20210326072346.4212-27-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: 4CA3K55vhH1TMFlvmmTm724Mx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743548; bh=k8Sz/0IuJFm6aZIZlVTxWdvJAGEuEs36qdyPPNC0tcw=; h=Cc:Date:From:Reply-To:Subject:To; b=VUmgMT1nyW4nXQzNPND9GbbcPKpnFc9Wz572POiHzF6oIFmVhkUufbY1vcnu9We6oGS j9apl4IvR+0A/Odenu5IQ6OS9ovWA024l4XdEmcQGeWFq2eRMmzBTylpcwbtTfSUqJPXT sSLbTbcvGN9joJ3IvtuYDNaxqUyRTz7t0mo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel Reviewed-by: Guo Dong --- UefiPayloadPkg/UefiPayloadPkg.dsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 23edd163e9..e3b017858e 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -1,11 +1,11 @@ ## @file # Bootloader Payload Package # # Provides drivers and definitions to create uefi payload for bootloaders. # -# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 @@ -111,10 +111,13 @@ [SkuIds] ##########################################################################= ###### # # Library Class section - list of all Library Classes needed by this Platf= orm. # ##########################################################################= ###### + +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry point # DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73344): https://edk2.groups.io/g/devel/message/73344 Mute This Topic: https://groups.io/mt/81622802/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73341+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73341+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743488; cv=none; d=zohomail.com; s=zohoarc; b=EcBCVlpGzeSKUuJZVPWMKqwl8KXLU4i8EH4/4trr1W7hthTdpp6CLe67yEtyb9llGogzZ1YjjG8PcmUwulNNSgW+9zC7zAc3AO8xf2sW9qtGsENDHr+PAP26jPcOt0JuHAggoDDJ5R0pPAX61xiJ99IItN55VVCoIyPhRPAe4W8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743488; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=X56muhGOydOZ7S4hLOLSopsh1muTqOtWHSnNa7+kRrA=; b=azWsOslgZwevQXCcZ3dcn5Fon/O4Xm2YxZ09K+AS0dddEuqu7YOS9hxq25pm9FUo5i3QqqNaJdTVXXujn2jtIFRUHfLQ9iQfCvq0J/2eVC+zT+8/Jdy1VKT+6oP2UDKGtbfoNso73UjG00pRWr7AmdXzJGjICRvxhEqQAxXEtH8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73341+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743488235565.1308434703616; Fri, 26 Mar 2021 00:24:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id fZPcYY1788612xl3e5I81T0H; Fri, 26 Mar 2021 00:24:47 -0700 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web12.9204.1616743487000971635 for ; Fri, 26 Mar 2021 00:24:47 -0700 IronPort-SDR: pe2NkH5Y0JTe6GEZQhiq0cyuCx5XM/5yMNa97zFMjyjiudgQxzevCTYt48fwA31XE/ddrex+1p ZwzMEuKuj1hQ== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126103" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126103" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:46 -0700 IronPort-SDR: Pp1964E+HXX8X2Hd2FPFhNZQvL9uEyr0y1lu05x0uCUUFzpUiilDUlaDmP6sw20SvX8EKYIthd hmu50smNRSLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154678" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:45 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Sean Brogan , Bret Barkelew Subject: [edk2-devel] [patch V3 27/29] UnitTestFrameworkPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:44 +0800 Message-Id: <20210326072346.4212-28-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: mk3RWkjjH5BqtHKMpwd1bkTNx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743487; bh=k+pCfyJmJaN/hUSCftzq8/nP/swovyXLCgsKQbl1rMY=; h=Cc:Date:From:Reply-To:Subject:To; b=NTCSPClvxvSBoNnFFeHXFWYuu9QaUTn1v4OHfb18uJ8AKh6NKKLxCDRNWQAQfioRKvK U5ZjKDWfSvoGCuzm+Fp99vIm+RRd2A9jSPqdV291KvNvIGyZQ/bqrlcHQ+916OeEJf+aK 6vX96yUrrOR2WjvuS2YzSbuzWaClaBP3ULs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc b/Unit= TestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc index 8adf690098..68ad37e989 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc @@ -1,13 +1,15 @@ ## @file # UnitTestFrameworkPkg DSC include file for target based test DSC # -# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## =20 +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] # # Entry point # PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73341): https://edk2.groups.io/g/devel/message/73341 Mute This Topic: https://groups.io/mt/81622796/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73342+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73342+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743489; cv=none; d=zohomail.com; s=zohoarc; b=SNNHq2JdvjPgpJKNQrgM9nFOBr3QWvTleJd6OtwD7BRNYrZMaz7ZQYJ3xmeUCAtqi3xjjDsywfHDI4YPcCzaUtLdRMuXHuyfmMnFe7mCK3FGH2lSZ14eCd0zyu3p7HekyVy9nfxH8GcNvvXSqr69gN6QcZsz7OVq0xBVcXJFwE4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743489; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=l/UONGP5CwFqHmsIwY3sh0hxYWatg3YQ67v4qXAWwqA=; b=WFquCBmrILDIgYiVkKP+1H92mp8NsjK8LSbqJpOQEOis1qz4j7qjgUQQ0X8Y5RyQ3DbOEvJDl+Hs+TNwS8v04zQeqh0wcisQDVPlaRIErCOIez7LU7vF/hrn1pLP751+LgjYtYi6ZyF+ylrzklYv8E5eFlEYH/ExVohdn+Q2e18= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73342+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743489526842.7205737376146; Fri, 26 Mar 2021 00:24:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bIWVYY1788612xImzv4sgM29; Fri, 26 Mar 2021 00:24:49 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web12.9204.1616743487000971635 for ; Fri, 26 Mar 2021 00:24:48 -0700 IronPort-SDR: MkmbuxwCsQEN5DTLurAI8d70DnCcnuoMTUy0fdOCOZi1vcLRZUL62eADG7HjtxzILY+ku7s+Q3 zbHHdM/9u4iA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126117" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126117" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:48 -0700 IronPort-SDR: u6zT3xGqCh0Knt5uiLqTAvuwg3HTh7sw9lQGANKUh6raSts8TkXlBBl65K0tDUSWTugkpj2xw5 pcIQkW/Eifgg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154689" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:46 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch V3 28/29] MdePkg/IoLib: Filter/trace port IO/MMIO access Date: Fri, 26 Mar 2021 15:23:45 +0800 Message-Id: <20210326072346.4212-29-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: Blg0VgtVrA5kBJRlyMaEUCPZx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743489; bh=0c1aLJ/Vb4dKtO7sYgsgRiPSQ7qQPtoUPJ9xBoaUjMU=; h=Cc:Date:From:Reply-To:Subject:To; b=CWzeU28zJTTY9aUPU7is9XyPN4AMOoarZNJdZOYq4WL4H2muOn2FFpU9iQBqCIFfHfk FTNCdREDOokLPKvM37T7VA4Q3fCrw6B5VSFbGzUQX8hFScBbiRYkyXUw89+1feDZf85Pq U58baQYyC10p8qwEriU6M5nYOZmfLCCXgcU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Dandan Bi Reviewed-by: Liming Gao =20 Acked-by: Ard Biesheuvel --- .../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 3 +- .../BaseIoLibIntrinsicArmVirt.inf | 3 +- .../BaseIoLibIntrinsicInternal.h | 3 +- .../BaseIoLibIntrinsicSev.inf | 3 +- MdePkg/Library/BaseIoLibIntrinsic/IoLib.c | 95 ++++++++++++++----- .../Library/BaseIoLibIntrinsic/IoLibArmVirt.c | 82 ++++++++++++++-- MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c | 58 +++++++++-- MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c | 81 ++++++++++++---- MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c | 74 +++++++++++++-- 9 files changed, 329 insertions(+), 73 deletions(-) diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf b/Mde= Pkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf index 690b95d440..97eeada065 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf @@ -5,11 +5,11 @@ # for IA-32 and x64. On IPF, I/O port requests are translated into MMIO = requests. # MMIO requests are forwarded directly to memory. For EBC, I/O port requ= ests # ASSERT(). For ARM, AARCH64 and RISCV64, this I/O library only provides = non I/O # read and write. # -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Copyright (c) 2017, AMD Incorporated. All rights reserved.
# Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP.= All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -64,6 +64,7 @@ [Packages] MdePkg/MdePkg.dec =20 [LibraryClasses] DebugLib BaseLib + RegisterFilterLib =20 diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.in= f b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf index ad68f841fb..cea6857926 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf @@ -1,9 +1,9 @@ ## @file # Instance of I/O Library using KVM/ARM safe assembler routines # -# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Copyright (c) 2017, AMD Incorporated. All rights reserved.
# Copyright (c) 2018, Linaro, Ltd. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -42,5 +42,6 @@ [Packages] MdePkg/MdePkg.dec =20 [LibraryClasses] DebugLib BaseLib + RegisterFilterLib diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h= b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h index 1aae45fa8a..79b2eb3e7b 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h @@ -1,11 +1,11 @@ /** @file Common header file shared by all source files. =20 This file includes package header files, dependent library classes. =20 - Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.
+ Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ =20 #ifndef __BASEIOLIB_INTRINSIC_INTERNAL_H_ #define __BASEIOLIB_INTRINSIC_INTERNAL_H_ @@ -15,7 +15,8 @@ #include =20 #include #include #include +#include =20 #endif diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf b/= MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf index 86a07e60f8..34f9d1d106 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf @@ -2,11 +2,11 @@ # Instance of I/O Library using compiler intrinsics. # # I/O Library that uses compiler intrinsics to perform IN and OUT instruc= tions # for IA-32 and x64. # -# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Copyright (c) 2017, AMD Incorporated. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -47,6 +47,7 @@ [Packages] MdePkg/MdePkg.dec =20 [LibraryClasses] DebugLib BaseLib + RegisterFilterLib =20 diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLib.c b/MdePkg/Library/Bas= eIoLibIntrinsic/IoLib.c index a6bbc92546..d0d7044f09 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLib.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLib.c @@ -1,9 +1,9 @@ /** @file Common I/O Library routines. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 #include "BaseIoLibIntrinsicInternal.h" @@ -80,14 +80,19 @@ EFIAPI MmioRead8 ( IN UINTN Address ) { UINT8 Value; + BOOLEAN Flag; =20 - MemoryFence (); - Value =3D *(volatile UINT8*)Address; - MemoryFence (); + Flag =3D FilterBeforeMmIoRead (FilterWidth8, Address, &Value); + if (Flag) { + MemoryFence (); + Value =3D *(volatile UINT8*)Address; + MemoryFence (); + } + FilterAfterMmIoRead (FilterWidth8, Address, &Value); =20 return Value; } =20 /** @@ -110,13 +115,19 @@ EFIAPI MmioWrite8 ( IN UINTN Address, IN UINT8 Value ) { - MemoryFence (); - *(volatile UINT8*)Address =3D Value; - MemoryFence (); + BOOLEAN Flag; + + Flag =3D FilterBeforeMmIoWrite (FilterWidth8, Address, &Value); + if (Flag) { + MemoryFence (); + *(volatile UINT8*)Address =3D Value; + MemoryFence (); + } + FilterAfterMmIoWrite (FilterWidth8, Address, &Value); =20 return Value; } =20 /** @@ -139,16 +150,20 @@ EFIAPI MmioRead16 ( IN UINTN Address ) { UINT16 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 1) =3D=3D 0); - - MemoryFence (); - Value =3D *(volatile UINT16*)Address; - MemoryFence (); + Flag =3D FilterBeforeMmIoRead (FilterWidth16, Address, &Value); + if (Flag) { + MemoryFence (); + Value =3D *(volatile UINT16*)Address; + MemoryFence (); + } + FilterAfterMmIoRead (FilterWidth16, Address, &Value); =20 return Value; } =20 /** @@ -172,15 +187,21 @@ EFIAPI MmioWrite16 ( IN UINTN Address, IN UINT16 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 1) =3D=3D 0); =20 - MemoryFence (); - *(volatile UINT16*)Address =3D Value; - MemoryFence (); + Flag =3D FilterBeforeMmIoWrite (FilterWidth16, Address, &Value); + if (Flag) { + MemoryFence (); + *(volatile UINT16*)Address =3D Value; + MemoryFence (); + } + FilterAfterMmIoWrite (FilterWidth16, Address, &Value); =20 return Value; } =20 /** @@ -203,16 +224,21 @@ EFIAPI MmioRead32 ( IN UINTN Address ) { UINT32 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 3) =3D=3D 0); =20 - MemoryFence (); - Value =3D *(volatile UINT32*)Address; - MemoryFence (); + Flag =3D FilterBeforeMmIoRead (FilterWidth32, Address, &Value); + if (Flag) { + MemoryFence (); + Value =3D *(volatile UINT32*)Address; + MemoryFence (); + } + FilterAfterMmIoRead (FilterWidth32, Address, &Value); =20 return Value; } =20 /** @@ -236,15 +262,21 @@ EFIAPI MmioWrite32 ( IN UINTN Address, IN UINT32 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 3) =3D=3D 0); =20 - MemoryFence (); - *(volatile UINT32*)Address =3D Value; - MemoryFence (); + Flag =3D FilterBeforeMmIoWrite (FilterWidth32, Address, &Value); + if (Flag) { + MemoryFence (); + *(volatile UINT32*)Address =3D Value; + MemoryFence (); + } + FilterAfterMmIoWrite (FilterWidth32, Address, &Value); =20 return Value; } =20 /** @@ -267,16 +299,21 @@ EFIAPI MmioRead64 ( IN UINTN Address ) { UINT64 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 7) =3D=3D 0); =20 - MemoryFence (); - Value =3D *(volatile UINT64*)Address; - MemoryFence (); + Flag =3D FilterBeforeMmIoRead (FilterWidth64, Address, &Value); + if (Flag) { + MemoryFence (); + Value =3D *(volatile UINT64*)Address; + MemoryFence (); + } + FilterAfterMmIoRead (FilterWidth64, Address, &Value); =20 return Value; } =20 /** @@ -298,14 +335,20 @@ EFIAPI MmioWrite64 ( IN UINTN Address, IN UINT64 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 7) =3D=3D 0); =20 - MemoryFence (); - *(volatile UINT64*)Address =3D Value; - MemoryFence (); + Flag =3D FilterBeforeMmIoWrite (FilterWidth64, Address, &Value); + if (Flag) { + MemoryFence (); + *(volatile UINT64*)Address =3D Value; + MemoryFence (); + } + FilterAfterMmIoWrite (FilterWidth64, Address, &Value); =20 return Value; } =20 diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibArmVirt.c b/MdePkg/Libr= ary/BaseIoLibIntrinsic/IoLibArmVirt.c index 9715705ee0..6140840769 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibArmVirt.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibArmVirt.c @@ -1,9 +1,9 @@ /** @file I/O Library for ARM. =20 - Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2017, AMD Incorporated. All rights reserved.
Copyright (c) 2018, Linaro, Ltd. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent @@ -544,11 +544,20 @@ UINT8 EFIAPI MmioRead8 ( IN UINTN Address ) { - return MmioRead8Internal (Address); + UINT8 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMmIoRead (FilterWidth8, Address, &Value); + if (Flag) { + Value =3D MmioRead8Internal (Address); + } + FilterAfterMmIoRead (FilterWidth8, Address, &Value); + + return Value; } =20 /** Writes an 8-bit MMIO register. =20 @@ -567,11 +576,18 @@ EFIAPI MmioWrite8 ( IN UINTN Address, IN UINT8 Value ) { - MmioWrite8Internal (Address, Value); + BOOLEAN Flag; + + Flag =3D FilterBeforeMmIoWrite (FilterWidth8, Address, &Value); + if (Flag) { + MmioWrite8Internal (Address, Value); + } + FilterAfterMmIoWrite (FilterWidth8, Address, &Value); + return Value; } =20 /** Reads a 16-bit MMIO register. @@ -591,13 +607,22 @@ UINT16 EFIAPI MmioRead16 ( IN UINTN Address ) { + BOOLEAN Flag; + UINT16 Value; + ASSERT ((Address & 1) =3D=3D 0); =20 - return MmioRead16Internal (Address); + Flag =3D FilterBeforeMmIoRead (FilterWidth16, Address, &Value); + if (Flag) { + Value =3D MmioRead16Internal (Address); + } + FilterAfterMmIoRead (FilterWidth16, Address, &Value); + + return Value; } =20 /** Writes a 16-bit MMIO register. =20 @@ -616,13 +641,20 @@ EFIAPI MmioWrite16 ( IN UINTN Address, IN UINT16 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 1) =3D=3D 0); =20 - MmioWrite16Internal (Address, Value); + Flag =3D FilterBeforeMmIoWrite (FilterWidth16, Address, &Value); + if (Flag) { + MmioWrite16Internal (Address, Value); + } + FilterAfterMmIoWrite (FilterWidth16, Address, &Value); + return Value; } =20 /** Reads a 32-bit MMIO register. @@ -642,13 +674,22 @@ UINT32 EFIAPI MmioRead32 ( IN UINTN Address ) { + BOOLEAN Flag; + UINT32 Value; + ASSERT ((Address & 3) =3D=3D 0); =20 - return MmioRead32Internal (Address); + Flag =3D FilterBeforeMmIoRead (FilterWidth32, Address, &Value); + if (Flag) { + Value =3D MmioRead32Internal (Address); + } + FilterAfterMmIoRead (FilterWidth32, Address, &Value); + + return Value; } =20 /** Writes a 32-bit MMIO register. =20 @@ -667,13 +708,20 @@ EFIAPI MmioWrite32 ( IN UINTN Address, IN UINT32 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 3) =3D=3D 0); =20 - MmioWrite32Internal (Address, Value); + Flag =3D FilterBeforeMmIoWrite (FilterWidth32, Address, &Value); + if (Flag) { + MmioWrite32Internal (Address, Value); + } + FilterAfterMmIoWrite (FilterWidth32, Address, &Value); + return Value; } =20 /** Reads a 64-bit MMIO register. @@ -693,13 +741,22 @@ UINT64 EFIAPI MmioRead64 ( IN UINTN Address ) { + BOOLEAN Flag; + UINT64 Value; + ASSERT ((Address & 7) =3D=3D 0); =20 - return MmioRead64Internal (Address); + Flag =3D FilterBeforeMmIoRead (FilterWidth64, Address, &Value); + if (Flag) { + Value =3D MmioRead64Internal (Address); + } + FilterAfterMmIoRead (FilterWidth64, Address, &Value); + + return Value; } =20 /** Writes a 64-bit MMIO register. =20 @@ -718,10 +775,17 @@ EFIAPI MmioWrite64 ( IN UINTN Address, IN UINT64 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 7) =3D=3D 0); =20 - MmioWrite64Internal (Address, Value); + Flag =3D FilterBeforeMmIoWrite (FilterWidth64, Address, &Value); + if (Flag) { + MmioWrite64Internal (Address, Value); + } + FilterAfterMmIoWrite (FilterWidth64, Address, &Value); + return Value; } diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c b/MdePkg/Library/= BaseIoLibIntrinsic/IoLibGcc.c index b3a1a20256..ecf9ed6191 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c @@ -8,11 +8,11 @@ with EFIAPI assembler. =20 We don't advocate putting compiler specifics in libraries or drivers but= there is no other way to make this work. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 @@ -37,12 +37,18 @@ EFIAPI IoRead8 ( IN UINTN Port ) { UINT8 Data; + BOOLEAN Flag; + + Flag =3D FilterBeforeIoRead (FilterWidth8, Port, &Data); + if (Flag) { + __asm__ __volatile__ ("inb %w1,%b0" : "=3Da" (Data) : "d" ((UINT16)Por= t)); + } + FilterAfterIoRead (FilterWidth8, Port, &Data); =20 - __asm__ __volatile__ ("inb %w1,%b0" : "=3Da" (Data) : "d" ((UINT16)Port)= ); return Data; } =20 /** Writes an 8-bit I/O port. @@ -64,11 +70,18 @@ EFIAPI IoWrite8 ( IN UINTN Port, IN UINT8 Value ) { - __asm__ __volatile__ ("outb %b0,%w1" : : "a" (Value), "d" ((UINT16)Port)= ); + BOOLEAN Flag; + + Flag =3D FilterBeforeIoWrite (FilterWidth8, Port, &Value); + if (Flag) { + __asm__ __volatile__ ("outb %b0,%w1" : : "a" (Value), "d" ((UINT16)Por= t)); + } + FilterAfterIoWrite (FilterWidth8, Port, &Value); + return Value;; } =20 /** Reads a 16-bit I/O port. @@ -90,13 +103,20 @@ EFIAPI IoRead16 ( IN UINTN Port ) { UINT16 Data; + BOOLEAN Flag; =20 ASSERT ((Port & 1) =3D=3D 0); - __asm__ __volatile__ ("inw %w1,%w0" : "=3Da" (Data) : "d" ((UINT16)Port)= ); + + Flag =3D FilterBeforeIoRead (FilterWidth16, Port, &Data); + if (Flag) { + __asm__ __volatile__ ("inw %w1,%w0" : "=3Da" (Data) : "d" ((UINT16)Po= rt)); + } + FilterAfterIoRead (FilterWidth16, Port, &Data); + return Data; } =20 /** Writes a 16-bit I/O port. @@ -119,12 +139,21 @@ EFIAPI IoWrite16 ( IN UINTN Port, IN UINT16 Value ) { + + BOOLEAN Flag; + ASSERT ((Port & 1) =3D=3D 0); - __asm__ __volatile__ ("outw %w0,%w1" : : "a" (Value), "d" ((UINT16)Port)= ); + + Flag =3D FilterBeforeIoWrite (FilterWidth16, Port, &Value); + if (Flag) { + __asm__ __volatile__ ("outw %w0,%w1" : : "a" (Value), "d" ((UINT16)Por= t)); + } + FilterAfterIoWrite (FilterWidth16, Port, &Value); + return Value;; } =20 /** Reads a 32-bit I/O port. @@ -146,13 +175,20 @@ EFIAPI IoRead32 ( IN UINTN Port ) { UINT32 Data; + BOOLEAN Flag; =20 ASSERT ((Port & 3) =3D=3D 0); - __asm__ __volatile__ ("inl %w1,%0" : "=3Da" (Data) : "d" ((UINT16)Port)); + + Flag =3D FilterBeforeIoRead (FilterWidth32, Port, &Data); + if (Flag) { + __asm__ __volatile__ ("inl %w1,%0" : "=3Da" (Data) : "d" ((UINT16)Port= )); + } + FilterAfterIoRead (FilterWidth32, Port, &Data); + return Data; } =20 /** Writes a 32-bit I/O port. @@ -175,10 +211,18 @@ EFIAPI IoWrite32 ( IN UINTN Port, IN UINT32 Value ) { + BOOLEAN Flag; + ASSERT ((Port & 3) =3D=3D 0); - __asm__ __volatile__ ("outl %0,%w1" : : "a" (Value), "d" ((UINT16)Port)); + + Flag =3D FilterBeforeIoWrite (FilterWidth32, Port, &Value); + if (Flag) { + __asm__ __volatile__ ("outl %0,%w1" : : "a" (Value), "d" ((UINT16)Port= )); + } + FilterAfterIoWrite (FilterWidth32, Port, &Value); + return Value; } =20 diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c b/MdePkg/Library/= BaseIoLibIntrinsic/IoLibMsc.c index 769dddfce2..d2bc5f527c 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c @@ -6,11 +6,11 @@ overhead. =20 We don't advocate putting compiler specifics in libraries or drivers but= there is no other way to make this work. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 @@ -64,14 +64,20 @@ EFIAPI IoRead8 ( IN UINTN Port ) { UINT8 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeIoRead (FilterWidth8, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + Value =3D (UINT8)_inp ((UINT16)Port); + _ReadWriteBarrier (); + } + FilterAfterIoRead (FilterWidth8, Port, &Value); =20 - _ReadWriteBarrier (); - Value =3D (UINT8)_inp ((UINT16)Port); - _ReadWriteBarrier (); return Value; } =20 /** Writes an 8-bit I/O port. @@ -93,13 +99,20 @@ EFIAPI IoWrite8 ( IN UINTN Port, IN UINT8 Value ) { - _ReadWriteBarrier (); - (UINT8)_outp ((UINT16)Port, Value); - _ReadWriteBarrier (); + BOOLEAN Flag; + + Flag =3D FilterBeforeIoWrite(FilterWidth8, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + (UINT8)_outp ((UINT16)Port, Value); + _ReadWriteBarrier (); + } + FilterAfterIoWrite (FilterWidth8, Port, &Value); + return Value; } =20 /** Reads a 16-bit I/O port. @@ -121,15 +134,22 @@ EFIAPI IoRead16 ( IN UINTN Port ) { UINT16 Value; + BOOLEAN Flag; =20 ASSERT ((Port & 1) =3D=3D 0); - _ReadWriteBarrier (); - Value =3D _inpw ((UINT16)Port); - _ReadWriteBarrier (); + + Flag =3D FilterBeforeIoRead (FilterWidth16, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + Value =3D _inpw ((UINT16)Port); + _ReadWriteBarrier (); + } + FilterBeforeIoRead (FilterWidth16, Port, &Value); + return Value; } =20 /** Writes a 16-bit I/O port. @@ -152,14 +172,22 @@ EFIAPI IoWrite16 ( IN UINTN Port, IN UINT16 Value ) { + BOOLEAN Flag; + ASSERT ((Port & 1) =3D=3D 0); - _ReadWriteBarrier (); - _outpw ((UINT16)Port, Value); - _ReadWriteBarrier (); + + Flag =3D FilterBeforeIoWrite(FilterWidth16, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + _outpw ((UINT16)Port, Value); + _ReadWriteBarrier (); + } + FilterAfterIoWrite (FilterWidth16, Port, &Value); + return Value; } =20 /** Reads a 32-bit I/O port. @@ -181,15 +209,22 @@ EFIAPI IoRead32 ( IN UINTN Port ) { UINT32 Value; + BOOLEAN Flag; =20 ASSERT ((Port & 3) =3D=3D 0); - _ReadWriteBarrier (); - Value =3D _inpd ((UINT16)Port); - _ReadWriteBarrier (); + + Flag =3D FilterBeforeIoRead(FilterWidth32, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + Value =3D _inpd ((UINT16)Port); + _ReadWriteBarrier (); + } + FilterAfterIoRead (FilterWidth32, Port, &Value); + return Value; } =20 /** Writes a 32-bit I/O port. @@ -212,11 +247,19 @@ EFIAPI IoWrite32 ( IN UINTN Port, IN UINT32 Value ) { + BOOLEAN Flag; + ASSERT ((Port & 3) =3D=3D 0); - _ReadWriteBarrier (); - _outpd ((UINT16)Port, Value); - _ReadWriteBarrier (); + + Flag =3D FilterBeforeIoWrite(FilterWidth32, Port, &Value); + if (Flag) { + _ReadWriteBarrier (); + _outpd ((UINT16)Port, Value); + _ReadWriteBarrier (); + } + FilterAfterIoWrite (FilterWidth32, Port, &Value); + return Value; } diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c b/MdePkg/Library= /BaseIoLibIntrinsic/IoLibNoIo.c index a107136a74..937d6c5a55 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c @@ -1,10 +1,10 @@ /** @file I/O library for non I/O read and write access (memory map I/O read and write only) architecture, such as ARM and RISC-V processor. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2017, AMD Incorporated. All rights reserved.
Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent @@ -406,12 +406,18 @@ EFIAPI MmioRead8 ( IN UINTN Address ) { UINT8 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMmIoRead (FilterWidth8, Address, &Value); + if (Flag { + Value =3D *(volatile UINT8*)Address; + } + FilterAfterMmIoRead (FilterWidth8, Address, &Value); =20 - Value =3D *(volatile UINT8*)Address; return Value; } =20 /** Writes an 8-bit MMIO register. @@ -431,11 +437,18 @@ EFIAPI MmioWrite8 ( IN UINTN Address, IN UINT8 Value ) { - *(volatile UINT8*)Address =3D Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMmIoWrite (FilterWidth8, Address, &Value); + if (Flag { + *(volatile UINT8*)Address =3D Value; + } + FilterAfterMmIoWrite (FilterWidth8, Address, &Value); + return Value; } =20 /** Reads a 16-bit MMIO register. @@ -456,13 +469,20 @@ EFIAPI MmioRead16 ( IN UINTN Address ) { UINT16 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 1) =3D=3D 0); - Value =3D *(volatile UINT16*)Address; + + Flag =3D FilterBeforeMmIoRead (FilterWidth16, Address, &Value); + if (Flag { + Value =3D *(volatile UINT16*)Address; + } + FilterAfterMmIoRead (FilterWidth16, Address, &Value); + return Value; } =20 /** Writes a 16-bit MMIO register. @@ -482,12 +502,20 @@ EFIAPI MmioWrite16 ( IN UINTN Address, IN UINT16 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 1) =3D=3D 0); - *(volatile UINT16*)Address =3D Value; + + Flag =3D FilterBeforeMmIoWrite (FilterWidth16, Address, &Value); + if (Flag { + *(volatile UINT16*)Address =3D Value; + } + FilterAfterMmIoWrite (FilterWidth16, Address, &Value); + return Value; } =20 /** Reads a 32-bit MMIO register. @@ -508,13 +536,20 @@ EFIAPI MmioRead32 ( IN UINTN Address ) { UINT32 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 3) =3D=3D 0); - Value =3D *(volatile UINT32*)Address; + + Flag =3D FilterBeforeMmIoRead (FilterWidth32, Address, &Value); + if (Flag { + Value =3D *(volatile UINT32*)Address; + } + FilterAfterMmIoRead (FilterWidth32, Address, &Value); + return Value; } =20 /** Writes a 32-bit MMIO register. @@ -534,12 +569,20 @@ EFIAPI MmioWrite32 ( IN UINTN Address, IN UINT32 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 3) =3D=3D 0); + + Flag =3D FilterBeforeMmIoWrite (FilterWidth32, Address, &Value); + if (Flag { *(volatile UINT32*)Address =3D Value; + } + FilterAfterMmIoWrite (FilterWidth32, Address, &Value); + return Value; } =20 /** Reads a 64-bit MMIO register. @@ -560,13 +603,20 @@ EFIAPI MmioRead64 ( IN UINTN Address ) { UINT64 Value; + BOOLEAN Flag; =20 ASSERT ((Address & 7) =3D=3D 0); - Value =3D *(volatile UINT64*)Address; + + Flag =3D FilterBeforeMmIoRead (FilterWidth64, Address, &Value); + if (Flag { + Value =3D *(volatile UINT64*)Address; + } + FilterAfterMmIoRead (FilterWidth64, Address, &Value); + return Value; } =20 /** Writes a 64-bit MMIO register. @@ -586,10 +636,18 @@ EFIAPI MmioWrite64 ( IN UINTN Address, IN UINT64 Value ) { + BOOLEAN Flag; + ASSERT ((Address & 7) =3D=3D 0); - *(volatile UINT64*)Address =3D Value; + + Flag =3D FilterBeforeMmIoWrite (FilterWidth64, Address, &Value); + if (Flag { + *(volatile UINT64*)Address =3D Value; + } + FilterAfterMmIoWrite (FilterWidth64, Address, &Value); + return Value; } =20 --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73342): https://edk2.groups.io/g/devel/message/73342 Mute This Topic: https://groups.io/mt/81622798/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 26 20:06:18 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73343+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73343+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616743496; cv=none; d=zohomail.com; s=zohoarc; b=Xp+V6DtRwil12yoJsphUKEHrHHgEZk1EpMceSK7fErbOr+wdHFiEkSXq4YEg5UQytfyLIb6TVcc1NVrllaS+m8vucZX1WhIf5tJA3gX4cXykyX+RNJqk6rtBeKgUXvhNYZdgOJDtJdE/QsaFAT9LJFn/4c5/W5AeaUAhbMjNBkA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616743496; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=/NG6D8KBsSXR7UTsQ6Cn9l6SrVkF2Oc7PWl8DHhoZUw=; b=bDgJAQN2HR+v4Hkauq0Kb8walmInEndJ1hCx888Motg+tX+HuIZuOcCY2ez8ZIV4k7mGFYR3WdOYx3vHSGGuZGQlB8DBKnHCN/hDognnBSc6FzS5MUF3dgbvXUUfVYZo5KQjTrlYIUhnKvHLKc+vKtyHn6dt9U2zfcropaADlqg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73343+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616743496837288.21573834052856; Fri, 26 Mar 2021 00:24:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZUqqYY1788612xKaZXdItbKf; Fri, 26 Mar 2021 00:24:55 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web12.9204.1616743487000971635 for ; Fri, 26 Mar 2021 00:24:50 -0700 IronPort-SDR: /m7Sy7F9UKSjv+MHJl8EWX0BvwFdYFshRgv2QUozgQYX6nFgKL3vhYoUl9JV6xUHPiXdiTQEoV JE83iKh0KRhw== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191126132" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191126132" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:49 -0700 IronPort-SDR: G1DpIZ4DxEeWHo1K2XJgYrOChFXw6LUCRZjxohRdtW9rWoCcvU05gXtgbcEqACnjghbAgVknYw QbPtcbIB3zPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154702" X-Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:48 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch V3 29/29] MdePkg/Baseib: Filter/trace MSR access for IA32/X64 Date: Fri, 26 Mar 2021 15:23:46 +0800 Message-Id: <20210326072346.4212-30-dandan.bi@intel.com> In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dandan.bi@intel.com X-Gm-Message-State: SPRKokRHjvF1WloVmLo1wGmgx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616743495; bh=uBC43+WjjetykK1qs7LH+qm2dHukMOvg44TdfAPGO4g=; h=Cc:Date:From:Reply-To:Subject:To; b=XsBgAtxcvTPkTg6A1G6pYai1dUJRS5FZjG0nCmsQ18iyz7Q7mVXfc/6DqHqIs67F69T d8VKfFWx63K2GpNxNAPbkPJRN53HMNVDw06Cg3Va50cVX+o9ZC8Rf+R1HOEu7w80IE/IR 7FMpGsl32bJ/HfRmZRlFE/ypgcT/L9UDnug= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3246 Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Dandan Bi Reviewed-by: Liming Gao =20 Acked-by: Ard Biesheuvel --- MdePkg/Library/BaseLib/BaseLib.inf | 5 ++- MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c | 38 +++++++++++------- MdePkg/Library/BaseLib/Ia32/ReadMsr64.c | 38 ++++++++++++++++-- MdePkg/Library/BaseLib/Ia32/WriteMsr64.c | 22 +++++++---- MdePkg/Library/BaseLib/X64/GccInlinePriv.c | 43 ++++++++++++++------- MdePkg/Library/BaseLib/X64/ReadMsr64.c | 15 ++++++- MdePkg/Library/BaseLib/X64/WriteMsr64.c | 13 ++++++- 7 files changed, 130 insertions(+), 44 deletions(-) diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/Ba= seLib.inf index 3b85c56c3c..58e29cc7af 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -1,9 +1,9 @@ ## @file # Base Library implementation. # -# Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent @@ -409,10 +409,13 @@ [Packages] [LibraryClasses] PcdLib DebugLib BaseMemoryLib =20 +[LibraryClasses.X64, LibraryClasses.IA32] + RegisterFilterLib + [Pcd] gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength ## SOMETIMES_CO= NSUMES gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength ## SOMETIMES_CO= NSUMES gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength ## SOMETIMES_CO= NSUMES gEfiMdePkgTokenSpaceGuid.PcdControlFlowEnforcementPropertyMask ## SOME= TIMES_CONSUMES diff --git a/MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c b/MdePkg/Library/B= aseLib/Ia32/GccInlinePriv.c index 30aa63243b..40e8c08beb 100644 --- a/MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c +++ b/MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c @@ -1,17 +1,18 @@ /** @file GCC inline implementation of BaseLib processor specific functions that u= se privlidged instructions. =20 - Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 #include "BaseLibInternals.h" +#include =20 /** Enables CPU interrupts. =20 Enables CPU interrupts. @@ -61,16 +62,21 @@ EFIAPI AsmReadMsr64 ( IN UINT32 Index ) { UINT64 Data; - - __asm__ __volatile__ ( - "rdmsr" - : "=3DA" (Data) // %0 - : "c" (Index) // %1 - ); + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrRead (Index, &Data); + if (Flag) { + __asm__ __volatile__ ( + "rdmsr" + : "=3DA" (Data) // %0 + : "c" (Index) // %1 + ); + } + FilterAfterMsrRead (Index, &Data); =20 return Data; } =20 /** @@ -95,16 +101,22 @@ EFIAPI AsmWriteMsr64 ( IN UINT32 Index, IN UINT64 Value ) { - __asm__ __volatile__ ( - "wrmsr" - : - : "c" (Index), - "A" (Value) - ); + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrWrite (Index, &Value); + if (Flag) { + __asm__ __volatile__ ( + "wrmsr" + : + : "c" (Index), + "A" (Value) + ); + } + FilterAfterMsrWrite (Index, &Value); =20 return Value; } =20 /** diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c b/MdePkg/Library/BaseL= ib/Ia32/ReadMsr64.c index 6d2394b1a3..afe3aa5bdc 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c +++ b/MdePkg/Library/BaseLib/Ia32/ReadMsr64.c @@ -1,15 +1,15 @@ /** @file AsmReadMsr64 function =20 - Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 - +#include =20 /** Returns a 64-bit Machine Specific Register(MSR). =20 Reads and returns the 64-bit MSR specified by Index. No parameter checki= ng is @@ -22,16 +22,46 @@ =20 @return The value of the MSR identified by Index. =20 **/ UINT64 -EFIAPI -AsmReadMsr64 ( +AsmReadMsr64Internal ( IN UINT32 Index ) { _asm { mov ecx, Index rdmsr } } =20 +/** + Returns a 64-bit Machine Specific Register(MSR). + + Reads and returns the 64-bit MSR specified by Index. No parameter checki= ng is + performed on Index, and some Index values may cause CPU exceptions. The + caller must either guarantee that Index is valid, or the caller must set= up + exception handlers to catch the exceptions. This function is only availa= ble + on IA-32 and x64. + + @param Index The 32-bit MSR index to read. + + @return The value of the MSR identified by Index. + +**/ +UINT64 +EFIAPI +AsmReadMsr64 ( + IN UINT32 Index + ) +{ + UINT64 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrRead (Index, &Value); + if (Flag) { + Value =3D AsmReadMsr64Internal (Index); + } + FilterAfterMsrRead (Index, &Value); + + return Value; +} diff --git a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.c b/MdePkg/Library/Base= Lib/Ia32/WriteMsr64.c index badf1d8e58..ba0cf3f74c 100644 --- a/MdePkg/Library/BaseLib/Ia32/WriteMsr64.c +++ b/MdePkg/Library/BaseLib/Ia32/WriteMsr64.c @@ -1,15 +1,15 @@ /** @file AsmWriteMsr64 function =20 - Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 - +#include =20 /** Writes a 64-bit value to a Machine Specific Register(MSR), and returns t= he value. =20 @@ -31,13 +31,21 @@ EFIAPI AsmWriteMsr64 ( IN UINT32 Index, IN UINT64 Value ) { - _asm { - mov edx, dword ptr [Value + 4] - mov eax, dword ptr [Value + 0] - mov ecx, Index - wrmsr + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrWrite (Index, &Value); + if (Flag) { + _asm { + mov edx, dword ptr [Value + 4] + mov eax, dword ptr [Value + 0] + mov ecx, Index + wrmsr + } } + FilterAfterMsrWrite (Index, &Value); + + return Value; } =20 diff --git a/MdePkg/Library/BaseLib/X64/GccInlinePriv.c b/MdePkg/Library/Ba= seLib/X64/GccInlinePriv.c index 98be19b3c7..e4920f2116 100644 --- a/MdePkg/Library/BaseLib/X64/GccInlinePriv.c +++ b/MdePkg/Library/BaseLib/X64/GccInlinePriv.c @@ -1,17 +1,18 @@ /** @file GCC inline implementation of BaseLib processor specific functions that u= se privlidged instructions. =20 - Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 =20 #include "BaseLibInternals.h" +#include =20 /** Enables CPU interrupts. =20 Enables CPU interrupts. @@ -62,17 +63,24 @@ AsmReadMsr64 ( IN UINT32 Index ) { UINT32 LowData; UINT32 HighData; - - __asm__ __volatile__ ( - "rdmsr" - : "=3Da" (LowData), // %0 - "=3Dd" (HighData) // %1 - : "c" (Index) // %2 - ); + UINT64 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrRead (Index, &Value); + if (Flag) { + __asm__ __volatile__ ( + "rdmsr" + : "=3Da" (LowData), // %0 + "=3Dd" (HighData) // %1 + : "c" (Index) // %2 + ); + Value =3D (((UINT64)HighData) << 32) | LowData; + } + FilterAfterMsrRead (Index, &Value); =20 return (((UINT64)HighData) << 32) | LowData; } =20 /** @@ -99,21 +107,26 @@ AsmWriteMsr64 ( IN UINT64 Value ) { UINT32 LowData; UINT32 HighData; + BOOLEAN Flag; =20 LowData =3D (UINT32)(Value); HighData =3D (UINT32)(Value >> 32); =20 - __asm__ __volatile__ ( - "wrmsr" - : - : "c" (Index), - "a" (LowData), - "d" (HighData) - ); + Flag =3D FilterBeforeMsrWrite (Index, &Value); + if (Flag) { + __asm__ __volatile__ ( + "wrmsr" + : + : "c" (Index), + "a" (LowData), + "d" (HighData) + ); + } + FilterAfterMsrWrite (Index, &Value); =20 return Value; } =20 /** diff --git a/MdePkg/Library/BaseLib/X64/ReadMsr64.c b/MdePkg/Library/BaseLi= b/X64/ReadMsr64.c index 5ee7ca53f3..36a349432c 100644 --- a/MdePkg/Library/BaseLib/X64/ReadMsr64.c +++ b/MdePkg/Library/BaseLib/X64/ReadMsr64.c @@ -1,17 +1,19 @@ /** @file CpuBreakpoint function. =20 - Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ =20 +#include + unsigned __int64 __readmsr (int register); =20 #pragma intrinsic(__readmsr) =20 /** @@ -26,8 +28,17 @@ UINT64 EFIAPI AsmReadMsr64 ( IN UINT32 Index ) { - return __readmsr (Index); + UINT64 Value; + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrRead (Index, &Value); + if (Flag) { + Value =3D __readmsr (Index); + } + FilterAfterMsrRead (Index, &Value); + + return Value; } =20 diff --git a/MdePkg/Library/BaseLib/X64/WriteMsr64.c b/MdePkg/Library/BaseL= ib/X64/WriteMsr64.c index 98c5458d8a..bb030832c4 100644 --- a/MdePkg/Library/BaseLib/X64/WriteMsr64.c +++ b/MdePkg/Library/BaseLib/X64/WriteMsr64.c @@ -1,17 +1,19 @@ /** @file CpuBreakpoint function. =20 - Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 /** Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics. **/ =20 +#include + void __writemsr (unsigned long Register, unsigned __int64 Value); =20 #pragma intrinsic(__writemsr) =20 /** @@ -28,9 +30,16 @@ EFIAPI AsmWriteMsr64 ( IN UINT32 Index, IN UINT64 Value ) { - __writemsr (Index, Value); + BOOLEAN Flag; + + Flag =3D FilterBeforeMsrWrite (Index, &Value); + if (Flag) { + __writemsr (Index, Value); + } + FilterAfterMsrWrite (Index, &Value); + return Value; } =20 --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73343): https://edk2.groups.io/g/devel/message/73343 Mute This Topic: https://groups.io/mt/81622799/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-