From nobody Sun May 5 09:13:09 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+72756+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+72756+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780758; cv=none; d=zohomail.com; s=zohoarc; b=LkK0pwrcisaUbG7z4iRoONIgHRR/9U59SFNxEWcgS98g+/M58/+m2m+NbSdE5y7qdaeLaqUMQHUkc5R9Jqay+jnmVe/cZUeJ1fqnLeLql6myK4outymLo3e6sz2L2CLdHkr0D5jd6VdsJYJMbocercokWrEejhXdUvPW3WH3dys= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780758; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=mFJHW8LQ9Hc+nO3g+Ba4dU8LpKOA9dfFrpGIoDc5Gho=; b=d2dxr3RevOsTUenHv7bOJP5U7HGH40QrBKG7+FwlSpWvHapx+7W2UiE9zZTtOTJMWFbtrpva35yFZHGhwYhIsgS4+pn55Kl1nz6KOSjqP2vJvxFZVih/F7vNtjhQLpQ18ZG1xmzwnM2kp59dwNCAM7jushq9OiMtJ5ftiT88WLo= 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+72756+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 1615780758827351.13661416691207; Sun, 14 Mar 2021 20:59:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id cf82YY1788612xV273C7jYds; Sun, 14 Mar 2021 20:59:18 -0700 X-Received: from mga17.intel.com (mga17.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4285.1615780756988246010 for ; Sun, 14 Mar 2021 20:59:18 -0700 IronPort-SDR: TBo7QbCUVaG7unPrzPOIbbplKXCb1y5SuPQ4rXZH4FQZSCU8y+xT9rl4q3x45nIuxloJskRBoM S+Hd03owbAUw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="168946274" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="168946274" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:09 -0700 IronPort-SDR: JOZcXEnvBQXW1qiq8HL44BZGEWVNXVkBAEzjpyCIkZcqUzNLOTv+WC1d/t1AcO04N9iRZcxCrX N+qThkddHcpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297927" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:07 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch 01/28] MdePkg: Add RegisterFilterLib class and NULL instance Date: Mon, 15 Mar 2021 11:58:17 +0800 Message-Id: <20210315035844.32756-2-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 5E2UnXXd4K9bsVeJwW6LiVqKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780758; bh=rKQpiURkwgNRbFsAjKsCPhTep2raB7oKpRthOt82pdM=; h=Cc:Date:From:Reply-To:Subject:To; b=lUGqAXTqLomu27q8bPIxvHe0qWMCgztLLxGKUaa1aZX9vPrqniFH2krfcAG3q3gdLlU ELm35ADwc6zHoimzJhblADyavXqMOzz8/eFrj1PnaUAkQFXTn8FlLYl9x3CaGP7pC8sDp 8m0pvUPlNSyf5rDZi0W5Bf5Wq5TUjd5uUVU= 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 --- MdePkg/Include/Library/RegisterFilterLib.h | 225 ++++++++++++++++ .../RegisterFilterLibNull.c | 253 ++++++++++++++++++ .../RegisterFilterLibNull.inf | 23 ++ .../RegisterFilterLibNull.uni | 13 + MdePkg/MdePkg.dec | 7 +- MdePkg/MdePkg.dsc | 4 +- 6 files changed, 523 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..df0adb3a42 --- /dev/null +++ b/MdePkg/Include/Library/RegisterFilterLib.h @@ -0,0 +1,225 @@ +/** @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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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..5c2bc2864a --- /dev/null +++ b/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.c @@ -0,0 +1,253 @@ +/** @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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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. + +**/ +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..8a8f1c4a77 --- /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..c437e2a065 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 # @@ -255,10 +255,15 @@ ## @libraryclass Extension to BaseLib for host based unit tests that all= ows a # subset of BaseLib services to be hooked for emulation. # UnitTestHostBaseLib|Test/UnitTest/Include/Library/UnitTestHostBaseLib.h =20 + ## @libraryclass + # + # + RegisterFilterLib|Include/Library/RegisterFilterLib.h + ## @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 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 @@ 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 (#72756): https://edk2.groups.io/g/devel/message/72756 Mute This Topic: https://groups.io/mt/81341923/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 Sun May 5 09:13:09 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+72755+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+72755+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780757; cv=none; d=zohomail.com; s=zohoarc; b=ZRElaUXIyFJxDnBNC1IXH29YsJwgtFU/QxSpBDUoXnATchVH92DCVuAFSsxvJPH10TZ9pD/hrK9wqs23XRZPN61O5gFPWe1GpiZU/USRsVn5L4GSVJsQduu6/tYiTXM5JQHfYcQqFrBwYIOn+vq3X+5s4IAzPs7Fgz46fqTNA4M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780757; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=nQjzbusMiLPGskIM17meHxXj+8XtokmAH6ftIQ/h7wY=; b=SnMMvwEhkIJp7Ggdm0/TZb8sBJIWIEG4ULBfvFDOrlbeOMGKXitItjwc6DYiUps5mQlBAEky9TUGBbQrFkgF1bVbeAbAfmCiOKaXTVPVVw73w9VLyxmguCmgvZNurniJuJ768pT3LPxNTgEzf8ZtGQwpnFDDNxmU2LmbHeHgHbI= 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+72755+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 1615780757823106.70906902455204; Sun, 14 Mar 2021 20:59:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 72KOYY1788612x5pP38Kiigy; Sun, 14 Mar 2021 20:59:17 -0700 X-Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.4285.1615780756988246010 for ; Sun, 14 Mar 2021 20:59:17 -0700 IronPort-SDR: ddpgDCVty3Nm30gaH5KSguQWpTIWML0YjcmPDBrMa1gbKalZWt2yJrbUdLz43gxgH1KeZdXNGU mFRoYFTlkltw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="168946275" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="168946275" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:13 -0700 IronPort-SDR: Ps1QzZkFOW1aiS5T+KsgZCITgnNqfx+/tvjthcSqEjHMubA4llodJusuu5u/Erm3iGjqle7hST QHyxeq2CKDKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297932" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:11 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch 02/28] ArmPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:18 +0800 Message-Id: <20210315035844.32756-3-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: secJmjOkL6UtbBURJpsn0hl9x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780757; bh=JcbqPfQdGXW3UpDF/2amrecJ12rPWYVTkhd6a7Yq7WA=; h=Cc:Date:From:Reply-To:Subject:To; b=Up6l3LJkfIz6/3ZiMxdVNmiRySjn4GR/GNf50/cNkkonMl52bXlF7+BbaOLoDo8ih9s ov/TGhbvaph2o6eea2zeqBeSnQrUwG3t92gBeV1PdIe0daGEogzOGfj55J+IgQLyEIu3N FbfqsnUwuTVtiD8ddrERFvvOataTzbQ8YX8= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi --- ArmPkg/ArmPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 7194eb2d3c..dd477e08e3 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -48,10 +48,11 @@ UefiLib|MdePkg/Library/UefiLib/UefiLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServic= esLib.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf =20 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.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 (#72755): https://edk2.groups.io/g/devel/message/72755 Mute This Topic: https://groups.io/mt/81341922/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 Sun May 5 09:13:09 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+72757+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+72757+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780770; cv=none; d=zohomail.com; s=zohoarc; b=gAOkCg/mpVAdbAy5RmatBGwLJCPAdO/Dr+6xKRpQXfj9Es2Q5lcF3297Boy9wnuLJb0cJnHURTOjABG91d4+ehkv09i9AXJGWjTf2rwec3FBz+dyMrK0outV2jfUmx2KLlRoqVvUcBRaF1P58pYbkbKlJMHSNV6FmQlUbC/qhXk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780770; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=sHZv7+immaW5tFNC6O2vsPvZnNsyOYegxMUMiY5vDho=; b=EhSM9AY+CYDqaSAUGIOX/EwHPyQiAoo/trSGUWkeffv2U+739w9AExSU1mP8/w92beGNxMbVMUgi0TRD71zgbHMsa/wp0cT8+kdaMchpMJmchy4yXu00Sh3QiaN1RUCBub0v3hXRPaD1QcVo3g81XaMqwKLKYeHXT/7esStneO0= 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+72757+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 1615780770213194.78669327509738; Sun, 14 Mar 2021 20:59:30 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PbbdYY1788612xP86p1zH9TV; Sun, 14 Mar 2021 20:59:29 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:22 -0700 IronPort-SDR: xH9WOwkx9gcrwOwtMnMTQxSzVePzujrSfOkDMXrIs6K/dlc+VQAuXAoVFsh8vEk8LPpv3Gbc+/ bJWsiJ8YtVEg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926656" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926656" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:19 -0700 IronPort-SDR: EFbCMmW9KJ+N/nqnOBn7WvV7lN0UfAAQ6hbEVt6tzJ4eAWc/0C/sThLq+JU8quJrFWUs7N0cTe SzGdLYHI2ZZw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297948" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:17 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch 03/28] ArmPlatformPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:19 +0800 Message-Id: <20210315035844.32756-4-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: IpfS7lAMRxtWNRJLF7zdTwDSx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780769; bh=WHURGfuR1mfXuntq630546T6qMWh6lUrW9tI9nZqNUA=; h=Cc:Date:From:Reply-To:Subject:To; b=j1gfObSV4uNpO8L3GD8hjAukVVvf1G71s2humRKWfdgjFi+g/dfKVr5QKi4XhnYMPEX r9GT93EHyM5qmi/89ERsz2GKWhUA5bNvE0JGk/2MwxxkWflqZcwjDn/0ckVxLcgJETqfD gB6FstBZiPrtFDRQ9lmFQwPjw5lPiUzdzGE= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi --- ArmPlatformPkg/ArmPlatformPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatform= Pkg.dsc index 88fe1247c0..c850c952f3 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dsc +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -71,10 +71,11 @@ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf =20 [LibraryClasses.common.PEIM] --=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 (#72757): https://edk2.groups.io/g/devel/message/72757 Mute This Topic: https://groups.io/mt/81341929/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 Sun May 5 09:13:09 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+72758+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+72758+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780765; cv=none; d=zohomail.com; s=zohoarc; b=iqnub/lTfn5PaD8gTq3WuAcD7c2qlyp1FWyDOxc9Fxt9Z041Xo6fbpilV1bZvd6ZBJW4eVjo2jazKks9FOvJ67WDxMywjaXx07CaiY9CUIULzfuecQ4T70kwY6Ivbn0guxcRVzg3b3mzPt+y85MABcRv9CwmEgh3GeNveRvNg2k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780765; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=l+VFGgxupSR1J5NNO/KXXBprudkHQxdcq918jhNB+tM=; b=ByeHjz3b4ffTFVk27/tBC3ktyfALJWKJdGLUQT2FWLD37qAuT0dXvLyvUrjk5h8Pdzskg8Dn6sqPFdmSLovEKWrXVdAEg+wWTaWYb47O404ZerPBtP91kkxF1k0N/sml6lfC3c0bODVd+KQUJYZDtloNi6VjuLT4TkJ1SsblanI= 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+72758+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 1615780765611951.1104890643813; Sun, 14 Mar 2021 20:59:25 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OUpGYY1788612xtemc4OaxQF; Sun, 14 Mar 2021 20:59:25 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:24 -0700 IronPort-SDR: llpLZqgDMnyyFzcgNzn0JKrX5g74/hCTbgQBFbCu66X2cKjCSmlmWc64IJpng2iQevSl66TCMz 4Sxkk8UVaB6A== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926670" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926670" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:23 -0700 IronPort-SDR: aBOz9b3eSGHY9tw0/IbtXb4d8Wq8gcBUa7BXyDQrid+LDp//ARIcAMe1zzTSCt1HttwXlCApxW d1xvTpVZC4AA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297971" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:22 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm Subject: [edk2-devel] [patch 04/28] ArmVirtPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:20 +0800 Message-Id: <20210315035844.32756-5-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: rhzIDzd4NKRUkr2wojCvhknYx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780765; bh=8oA0bkxEwgGhuDiLJOu/y+wt3zfaGZ6t92Vb64Gb5n0=; h=Cc:Date:From:Reply-To:Subject:To; b=Weneet9kx1g42YwYnNPnIdX4x64cnila4Zo+1VFvxoMebB+OlyEw/bUBA39KrXON27s aVRGKhLgJO0nOb5LPTpKQevwllL2AKqY4qHfCs4Kck+2+rZtRVGgV44OVyGPWISSu53mU TT/uVXnIcnQdlu09LMTmlWv89Aqi9ctEsB0= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Dandan Bi Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirt.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index d9abadbe70..4d4ebc5f0c 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -51,10 +51,11 @@ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.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 (#72758): https://edk2.groups.io/g/devel/message/72758 Mute This Topic: https://groups.io/mt/81341930/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 Sun May 5 09:13:09 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+72759+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+72759+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780772; cv=none; d=zohomail.com; s=zohoarc; b=iFlqaCNyVgv5Sr2yAutF9pWa9Bkfspax5xr/DuOgj9dSbjYHARIaePo00PRfRRwpWiWnID6i5amjmrOyy9vpNuGlbw770hAXywXb6Ef3CJDL8eoqBwnTqkoCKtm7auGuVJ4LaIfzpURgDF0gJbB7iHjn0veK/F+Ds6QFD7CzRSQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780772; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=HMULa2jGgZ4aZHkQOLxgso6ggTJjv4M+YprjSC9rsJw=; b=mjMVBX2qe/ZdB1h/dhcTf/fiXOnONqxqWxuKxxmwbntfFlMAMc/qZV5+b7dq95PsE6nXYM6hFg/WesjEHT04GWWM6zLwcy9CBq/2qNzqp0JVUc9blnfc1IjT/qOruK3TOvXuxafWPE5AlD6z51K4/J7n5P5zLq5iZyu7PvZS60g= 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+72759+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 1615780772189321.05903547283685; Sun, 14 Mar 2021 20:59:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ShbzYY1788612xT6TF8KJKi7; Sun, 14 Mar 2021 20:59:31 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:26 -0700 IronPort-SDR: XyopZJal7uyDqm9Dzzv5qMesdv4lhSZVxMFNyavk4bLKLH8GqP1Nr1AoglxHtkDpqhcwvPjZ+p N+lR1EyVtjQw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926681" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926681" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:25 -0700 IronPort-SDR: VVAhMlZUFugi40oU26qPV3AdPgC3xn94/aCi5ssCWQGx6XXFxpj9ZxlpbAEhjAEDaWUSTHCDJf 7EngZoETSM+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297998" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:23 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Xiaoyu Lu , Guomin Jiang Subject: [edk2-devel] [patch 05/28] CryptoPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:21 +0800 Message-Id: <20210315035844.32756-6-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: rvr8ZMIukwOiWMBvbssmArlqx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780771; bh=o0X8GAdvz7iqhlG5mTsqbA8p1+bf+JJVNhn/r3FUuL4=; h=Cc:Date:From:Reply-To:Subject:To; b=P+lk3bWCzqxT/tYvs7cwHVImvh+XNU7heVXojStpb00g8L7AhtX5oiPXVEnDBtYOcgj 9jWvLEI79dO/BViPQkSRjiLm414kAtPOsa9TElR00XA88lBdOlUJMjdJlMqN43JMYb7Cr B+dfYCWa7P2GIK0GckXDnNtnrcDf2xShaLo= 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 Add RegisterFilterLibNull in dsc 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 --- CryptoPkg/CryptoPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc index 55383f2722..f1eaef9f3b 100644 --- a/CryptoPkg/CryptoPkg.dsc +++ b/CryptoPkg/CryptoPkg.dsc @@ -59,10 +59,11 @@ UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf HashApiLib|CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.ARM, LibraryClasses.AARCH64] # # It is not possible to prevent the ARM compiler for generic intrinsic f= unctions. # This library provides the instrinsic functions generate by a given com= piler. --=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 (#72759): https://edk2.groups.io/g/devel/message/72759 Mute This Topic: https://groups.io/mt/81341931/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 Sun May 5 09:13:09 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+72760+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+72760+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780769; cv=none; d=zohomail.com; s=zohoarc; b=eC2hpTTio9dLwrJpfa5YuVlGjic3dpwvOx0kdUVLqALiwdMXlXKbEHe2447jYJmrDNw49I9cMfmT2M7Xk9q9f3i9wrYchEWWeKhE/ZpT2+bvz5yUIOOQo+35MvNnqyyFMfU2TUmNHHqy3EJBpqqGOYCB11h0lM8g40ZU8ri3s8s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780769; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=4/VNlQVI7vUDV3RvHs1YLysSJnP2wU1UmWcp3u1F618=; b=Swj/X0ifEequ0LMwN7H+WghbkRUKAcaX+no6QGNpV/txdeJxODZ/lnOOH6tamcIgCfPeG+mULToelSD87UrGbvOi8hcvyfzUYx3QgPMZrbsv1+4leuWk6kge/xHIV3k58arABrka4otymoI3uQwzTl+ioka+XtMyQUd6NeMmeaI= 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+72760+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 161578076972562.484332654501486; Sun, 14 Mar 2021 20:59:29 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id HAKbYY1788612xHNEYz7lawL; Sun, 14 Mar 2021 20:59:29 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:26 -0700 IronPort-SDR: cIh5ebPgx138cuJH6Neg7wXnxbOZWvT5VEBu9VB5rICX2fXI3GzAImpDXEGTUKyxh4K2qeI2qU B9Mt2w10fs2w== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926684" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926684" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:26 -0700 IronPort-SDR: PO0xpzTogdQoYWtSJWdVq0cWJcD5FYVardR6GPubz8Ap65hHIZ+waNq6eXxQgp6hxEndoQgOuQ keZMv7p6DKNg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373297999" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:25 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov Subject: [edk2-devel] [patch 06/28] DynamicTablesPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:22 +0800 Message-Id: <20210315035844.32756-7-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 98wrpCe6dgVOXBs6SJY9CXRdx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780769; bh=0wX08Gs4idCtTvBSnizIH9eAtRD3lOd3GI+nSLURra8=; h=Cc:Date:From:Reply-To:Subject:To; b=w50ILr1i2dM9Oe8+hHptw8fZbrASoFzaqvqoEP4EIlZHMoHPpnIEvlfJ05o8UDfVn5c 0Tur13hOSMp3IJeWq3JSGj0J/hjAvyocyKwdvbdXUq8mDpzqZfhVpyXBkBzXJqsowp9aW QFX6i0qecRsvkH9Cjps8b6hY+e72CuT3z5A= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Sami Mujawar Cc: Alexei Fedorov Signed-off-by: Dandan Bi --- DynamicTablesPkg/DynamicTablesPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/Dynam= icTablesPkg.dsc index 0232bda459..c68c733f92 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dsc +++ b/DynamicTablesPkg/DynamicTablesPkg.dsc @@ -28,10 +28,11 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.ARM, LibraryClasses.AARCH64] NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf =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 (#72760): https://edk2.groups.io/g/devel/message/72760 Mute This Topic: https://groups.io/mt/81341932/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 Sun May 5 09:13:09 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+72761+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+72761+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780775; cv=none; d=zohomail.com; s=zohoarc; b=SxZ7WD8sfX3j0ak2zTLYtorBGHUwxGVITTyb9rsLKMoKMpRPzEBXZI4+QJJWI3oEjRlcdymeJu+cZtWFecD5FcIpWj6UjXPAlSMDPaBsEhb48Tt9o03ujuKe2yuguSJoJoPYuUeu4znyXsaEtMhnnyZKazH1o8HIvQ20+4Vli9I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780775; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=9vJy+mqCstVxlW8nS6Yu4uMK6llRoYXovnuBFXCIjio=; b=i0KkPyW5VtMKUP9BhYosMriKugspdg7W1srKU5B50fgXoHf9uMfPjPn5N6nOjEEeh8cb2YrWkT1ZrPLZYMDkwxLMgPBRalFUMBXUkT4AlPtzQtHN8J0NVBkOtmLj/r8ES3YipQkGzoOrGzGUtejRjvq97iH7W46RLIpk5SJk4vU= 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+72761+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 1615780775487646.2360505207045; Sun, 14 Mar 2021 20:59:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id lOWUYY1788612xmmkafevavV; Sun, 14 Mar 2021 20:59:35 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:29 -0700 IronPort-SDR: hqWQvfb8OPwJTM1N9qpoPxc/boK48GaZSFKd5IE1syLwOuAzWWtQkB5MlWyjzcez9jM5rjGU2T CTz70cQMYvAQ== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926692" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926692" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:27 -0700 IronPort-SDR: UB6LLU9C/MDfQMBCAufQ450cdkyM/eKF8h5reHWyDbTadDlmEFVxEWaLlFXd6sjZH0ZwEnITdM wt8Bu20SW2VA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298006" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:26 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [patch 07/28] EmbeddedPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:23 +0800 Message-Id: <20210315035844.32756-8-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: lpRmlzmyMvm6BGZm93UaqcQ2x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780775; bh=afoGcpjghe6O92U+WlhGlpcxVXKWcaOQCl+Qi5LgNds=; h=Cc:Date:From:Reply-To:Subject:To; b=DwPmXFoSEY8HqeI54YP7uNh29c2Jf/flsZ9iK3Vdb4BMuB/eWJG9cyKDxyShDKDJyqd NYMFXWu2LMDwEu4qgUnhnEubblnAh1p0urIqeempk6T6enYeOpR7vZbhaRU0vmr0EqVJv eGbbS6NP7nEctsHhuADNGps6+icWKx3XELg= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Dandan Bi --- EmbeddedPkg/EmbeddedPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index 8e83e50c3e..8033fb5940 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -50,10 +50,11 @@ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/= PeiDxeDebugLibReportStatusCode.inf =20 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.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 (#72761): https://edk2.groups.io/g/devel/message/72761 Mute This Topic: https://groups.io/mt/81341933/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 Sun May 5 09:13:09 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+72762+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+72762+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780773; cv=none; d=zohomail.com; s=zohoarc; b=gBL+6H1L+dfDzIrpdjJXd9Uwy3jO1IvySmgH7okMfcAflFZuqrhjYo4TUz6J5umsbzXSHCI+RSFKaxhvpIkDFJ6gaerrNdlM5rj+YV1pub+i+wfV7+WysRR2qjd869+oVbOgHDcEQnlnMJPfLkL2jtb9iwPG1ZilwMh3FADXZSk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780773; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=NW8W9IIZvYBGGBuUuFx62scwleEi+63EgFa5oBnKorQ=; b=SGpmxa87KNCbg4okY3m3Suy8HEIK8MY9adh/sbVLMqD6HG7lFYZ2bo/mo4CSSKeSLL2jj36GwEwWYPOnvIQ8TBVrz7ZHJl576rKGwRdudugi4jrQe5ww1JOcqemKTN7dLwdi82/66niycvQidWbAHfGyZ4bKIOg9UGMbpHWMKjc= 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+72762+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 1615780773028516.8817726826787; Sun, 14 Mar 2021 20:59:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5EeRYY1788612xTptLMrMVW7; Sun, 14 Mar 2021 20:59:32 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:32 -0700 IronPort-SDR: 8DvdpA8RW1OvBUf56/zy0yzKIntoSDzqmv+adYxUSrnM8M0rpJNYe5kxnOrLZCn18+XqW63A4h Hil3xNGlxwOA== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926706" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926706" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:29 -0700 IronPort-SDR: 32XfhkLXcTU7myuhfr9Ntw6J20MFjw0IXmxStl6e51QzKa4RjFt/fgxnlrNurfoG6IeSy6OJ2o bIEhwWbsPm0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298014" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:28 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [edk2-devel] [patch 08/28] EmulatorPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:24 +0800 Message-Id: <20210315035844.32756-9-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: xt2tXiqCt4JzKfsEavMpbJR1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780772; bh=HzqYRXIt9vFClobFgaGqzOTN970F+yVcapcnkhgNu2c=; h=Cc:Date:From:Reply-To:Subject:To; b=u1/khX7XGprX7wIFzDZqi5TKGpRtjLxkry1OiHduTeWBdpokvY4PRH27lzIJFJVctvF zJfRsYI7gMPX1eEdIB21/c8y+4tsKuChSN8LAxkLd4fj6SI2Tn/lniH2zJDBatW32+5ta Cu1uusgJGD3URN4H/61f/FvLgK8MeoI8loM= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Dandan Bi --- EmulatorPkg/EmulatorPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index a7ded49000..90b8b4de35 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -62,10 +62,11 @@ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 # # UEFI & PI # UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.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 (#72762): https://edk2.groups.io/g/devel/message/72762 Mute This Topic: https://groups.io/mt/81341934/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 Sun May 5 09:13:09 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+72763+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+72763+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780779; cv=none; d=zohomail.com; s=zohoarc; b=CsmDxBO9EAN/JvlDTxCfIMX3uSnWXRD1vqQWFcbYb1bscVjkj3mMLsHx+KtV6XwfTu6GjDsT8p70JlRZGw1br9RlbSDLtMyTQgHWVcAOwDXgUrjYxgZfT9IJyOjPBp5fYZcL98ZrPXnmby9iNk5+bZqGuxWff2JxBFZoN8RLFQo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780779; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=ZqXXWwfrKzUSV4jdX9OrWFJk/A7igRY5ZuCww52Yn/A=; b=OZdwoP5rQuHrIsHSn3wFym8lcXJ2tyk75eMFkHBFw3MtRvdKs5So6yPYYAC+e6eIgXdHInsEVQOifIIkv3OubstnP1E6GTggoVKuYXdocONrIHlrN0dhi5fYBr16rWoLOm0D50lG+PV8MKZzz3HMhgja/Cdz7F6E0Rs1sx30JhE= 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+72763+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 1615780779465606.680385694679; Sun, 14 Mar 2021 20:59:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id RP1bYY1788612xkaZNKhvNuG; Sun, 14 Mar 2021 20:59:39 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:33 -0700 IronPort-SDR: IsKcbvRP4tG0P2TfeIZbXSmKAaPBwsv+7RxvkMa4pHm+h00dteXlCdv2afwRqhL/506I9076It VFDgSpgzALUA== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926711" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926711" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:30 -0700 IronPort-SDR: 3VScx/t3J1N7KJT1jZCvfKUjn2PgfmC1nprTEcwwjTWhlZ98Wgd62Y8IPul9aEnWOF9W1kPp6m 0megMbR46yvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298019" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:29 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [patch 09/28] FatPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:25 +0800 Message-Id: <20210315035844.32756-10-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: Wp9Ibd47MNcK84LpNB3LJC2Sx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780779; bh=YGsFi5D5saNVjd+/Px4HeY4w0ZLIHx1lFdTqXSKORCM=; h=Cc:Date:From:Reply-To:Subject:To; b=WQrqyC3WoxLeApj1zSAj4LbG9zEQ196pe+WSSC/X+AlETv5nlDtcq/gJ6GeVHtrH3C2 ygzJwR9aQuWVoMOGPoH0i/dK+i5zxtdbOE5UO1Ix9GGLjM7FglnEMJPSnAHXf8FJl7ix9 hzi7RXa5ji0IWbMd8bt5kLlyF71mzq7gtDY= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Ray Ni Signed-off-by: Dandan Bi --- FatPkg/FatPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc index d86256068b..b00a279799 100644 --- a/FatPkg/FatPkg.dsc +++ b/FatPkg/FatPkg.dsc @@ -44,10 +44,11 @@ UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.common.PEIM] PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/Pei= ServicesTablePointerLib.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 (#72763): https://edk2.groups.io/g/devel/message/72763 Mute This Topic: https://groups.io/mt/81341935/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 Sun May 5 09:13:09 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+72764+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+72764+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780775; cv=none; d=zohomail.com; s=zohoarc; b=h2BTK4Ej6sgglBY+PDTi2XLpPMptv9Mnz6ja+4jUma3I3EHDUbpnY8wWukOn6fnok8iITS7n2e3W/OsUrAUzVwDY/whsRG3lrNdNqekFfFILLrlkXzVwmz0e6isj0dtKB+LWn83iIS8FRm0MSlna0dDhu5fb38+VefjyB49XGoQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780775; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=y729ISTV3Nh953Y5wnb5epcUlaxf0Zlnf02SkXBCjjU=; b=GsMBGmrC/1BfS4+9DazEs7D2W4rNj0vDIj4gLPgSJdSp2MJ4MXtuqq1gsgmrcMoXSXxZ+8UqRzvJNB04AB7Pkxiv3Cl4+0/W2Qo0MaUzGSmknc8xQRPkS1v4Oa267FF9BWR2L2z7+cLekBjBQ3gpRb2bHRyAkurfBjG7LwWJLoI= 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+72764+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 1615780775068924.7247519725437; Sun, 14 Mar 2021 20:59:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id p6MfYY1788612xLzh3jOicff; Sun, 14 Mar 2021 20:59:34 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:34 -0700 IronPort-SDR: 966fnsenzT2vaBDuYAUWEGHpbCPCY024mLt3Ec+icwE31mfJceN3uB0vYA+2XvP9SrSvlzsIAl gfioNilg5MKw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926715" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926715" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:32 -0700 IronPort-SDR: EMZGdavcvVrMx+21bwp9T9GADyRkbdRPj2sa6vO5m0fnrEsRhYY5NPZty4uTE5VddRABfTrZAX 781ltXVNeCvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298031" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:30 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney Subject: [edk2-devel] [patch 10/28] FmpDevicePkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:26 +0800 Message-Id: <20210315035844.32756-11-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: hC1yA2F0zT3aYqIjQ9OkVmOmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780774; bh=tpmrZkZCO9MDmDbR3T6g5w2cYqT97ll4bTp9iNZKfgg=; h=Cc:Date:From:Reply-To:Subject:To; b=jeu7KCELxGsdDqBQuMdVBLCATgzJQv25t1SDgDA7r97qo0s53H3RyYhAj9djzDCmT/l wc2hE+AlqehgJSJr4SJ0Ybl7YzjWl8rneoXaj3WRNailvfv58/I5AIpIGcS09JwUZ3+em fYN0F6UHxXQZJtUpaqHmzBkAwKY12AG8luM= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Dandan Bi --- FmpDevicePkg/FmpDevicePkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/FmpDevicePkg/FmpDevicePkg.dsc b/FmpDevicePkg/FmpDevicePkg.dsc index cfeadd8330..ebd3e397f8 100644 --- a/FmpDevicePkg/FmpDevicePkg.dsc +++ b/FmpDevicePkg/FmpDevicePkg.dsc @@ -65,10 +65,11 @@ FmpDeviceLib|FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf FmpDependencyLib|FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.= inf FmpDependencyCheckLib|FmpDevicePkg/Library/FmpDependencyCheckLibNull/Fmp= DependencyCheckLibNull.inf FmpDependencyDeviceLib|FmpDevicePkg/Library/FmpDependencyDeviceLibNull/F= mpDependencyDeviceLibNull.inf TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplat= e.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.ARM, LibraryClasses.AARCH64] # # It is not possible to prevent the ARM compiler for generic intrinsic f= unctions. # This library provides the intrinsic functions generate by a given comp= iler. --=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 (#72764): https://edk2.groups.io/g/devel/message/72764 Mute This Topic: https://groups.io/mt/81341936/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 Sun May 5 09:13:09 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+72765+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+72765+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780783; cv=none; d=zohomail.com; s=zohoarc; b=i7MEegHdYJXMj/O45fev41PA/R/6CBg4zZ/aFJDuszvZaVoCaAld53f2YKG5vVE2dBEWTH/c7x67y9oQSJC3X6UbFtPsjXBS2U5zSJUg1NTBAtMwc60QjFEUC+r+MGn2j6Iz9NFLhcqjJRj3ENmDRmBbFtwpcxDOoojlf39GJHQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780783; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=7wZCWNxIH13TtKwrGJ5mvmU+T92yXOIxvrTGjubj6g4=; b=Qn2niWP6bqCBp3DMc/jgfsDd+7/H1o5phWGZY4KS8AvNhYXbj9LM+t/PEXFN1KGQH4T9ptD8a7Cg3ODH1dW4i+7slfsplHa/lZcPDphMnADunqPWX58Tjb2YaXwO+78nEAvL2PoTRpTlJloSUpCXl2iT3yEoXcDLOaOuB8Meq1w= 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+72765+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 161578078309543.52490669775602; Sun, 14 Mar 2021 20:59:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VD4jYY1788612xbXIusQenQu; Sun, 14 Mar 2021 20:59:42 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web08.4386.1615780762396314721 for ; Sun, 14 Mar 2021 20:59:37 -0700 IronPort-SDR: lTnqYEcOJCCeJDKGG1u6pYFvfalS7K1Cq2nZH+As81JdlfpbrQL2lp1cIuxjC+/T8hDRitz/UG L4AcrKyXSWoA== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926723" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926723" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:33 -0700 IronPort-SDR: GQcS6Qe0Cd8/c4vMd4mEhCnxTeApnOJJpBHtZiprN9AIDQWX0uFHT5ain2WBTuqNN+srZs0PH+ KPnaiJaMjaWg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298037" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:32 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [patch 11/28] IntelFsp2Pkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:27 +0800 Message-Id: <20210315035844.32756-12-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: GvQL7YkJnCcmgf5553VunUSbx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780782; bh=/wpgN3sSWgvAyG5AfEVn/JsPQ8kc9cHnxFYjIGo9mP0=; h=Cc:Date:From:Reply-To:Subject:To; b=EvQKxLDF4U4rdotrcxB/kysI2fxcX9zBRj7jr3NiOp5JkG4cC5OMX3ci2axvQnKXQ5h ZTa0CJ7YxZFu78EEHdT0HfH+dLPV4gzOLLiuVCYQ5Vqo/bDOzw7meb8BYJk+ZXPN8QEWP 6md3GubU/h2XK5WEPuIjysR/mr2WRbRO7fg= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Dandan Bi Reviewed-by: Chasel Chiu --- IntelFsp2Pkg/IntelFsp2Pkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index 309411630d..7422526d5e 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -24,10 +24,11 @@ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.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 (#72765): https://edk2.groups.io/g/devel/message/72765 Mute This Topic: https://groups.io/mt/81341937/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 Sun May 5 09:13:09 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+72766+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+72766+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780783; cv=none; d=zohomail.com; s=zohoarc; b=l74HlFI/VgPofd73ZEPQu2RSIPX0JU99qpk0Q7twkhzsrzjw8cjKKu8nMjdy0p09ns1IX7VBnIbR31oNo+1s3CaVoEQdJWFhgX+ihqlnwAHGZkleaO0PZvJQTu1/P4y5WYamDPYUiJi+w7WdALImD41Kyh9iUYQK7gddNq1nmMM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780783; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=LjOxRiUetmBGsUALrMRBQuAKmIhEElCW/eQgINrPdVg=; b=bIazPKV9TQzx2us9AP3ZgNGNjSu28Qe47rNYcQd2Yu4xMQsKtN2L1P0n0/WaUzEmrm9YmaF0dVEyt19crY7JX0kSzCsc/ga8iQJb3ejWQJmOcQtTQV1KSzaV3jmipXKiGSd4Q6MIG4WwRDvaiC5voGyBe1qu+7ex6SamKRWyd38= 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+72766+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 1615780783823660.6782193988672; Sun, 14 Mar 2021 20:59:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WqmwYY1788612xoDLklegCSF; Sun, 14 Mar 2021 20:59:43 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.4289.1615780783117515559 for ; Sun, 14 Mar 2021 20:59:43 -0700 IronPort-SDR: a8OLh39d8EGdqbIyuClkZPYLCCdegKc3qN2pYzOVXgEJTNdb37mwW7idR7wUbwV8svXoM24H3M EN7UlyEns5Zg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926738" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926738" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:34 -0700 IronPort-SDR: HW7RfeiwZjwd94bxJyDQ3O7cR16OSX02M/zt79wB/8D+TttCh8QkQOZHmnGHAN7MKzAv4KdoBF tfxKQ/5r7zSg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298047" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:33 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Subject: [edk2-devel] [patch 12/28] IntelFsp2WrapperPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:28 +0800 Message-Id: <20210315035844.32756-13-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: As88jpxMvfzearv2QRBLWO1px1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780783; bh=sBVWCsvbIkLzNTxoz3TPN7xr4uYnOLZsgHASjBALl0I=; h=Cc:Date:From:Reply-To:Subject:To; b=fUcI3ZZWV4+MVWCvjFdD1L5KX5DVFWAjo40tc+ARmyDjCLtNlQIJAtvpMP32yMwSj/b avrUOFJQMKjJgkWzygG9mzJIrzvpjvcpnXglxNfbTBFG7Ty3wyeCcOcd3yazv9PUvVMN+ hSYq4Of9IMlDaani6nOavDSrieLy/ITszKg= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Reviewed-by: Chasel Chiu --- IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2Wrapper= Pkg/IntelFsp2WrapperPkg.dsc index 738342b69b..031a6b71ff 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc @@ -27,10 +27,11 @@ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplat= e.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 (#72766): https://edk2.groups.io/g/devel/message/72766 Mute This Topic: https://groups.io/mt/81341938/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 Sun May 5 09:13:09 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+72767+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+72767+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780784; cv=none; d=zohomail.com; s=zohoarc; b=icU8j4CKsjtmldazw4qf+/4EA57ftlekBrPd7loQUCYNuGaVWKFaPujElKVFUHcGOpIfmrNeuuXt4Thjl5MuQwD//SBWhXnx7pyu4LkJskRfRas6HYgeJlOPHS7hGAUZJLVPphr/un4yfK8RSXCmme1k8BxUECKjiqPCdj0hOQw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780784; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=mM35nGxEkZi1s0gP6LiB1LA8dkrV8Gr0eCPxBOwmGgU=; b=ZCktVBSArTFfrYHRQQ+0L5mwvHZDJru/oIT5aXPVAE+hLVLa+sUiMKrSWXtP99PV68QqH7/fVvCqcB5rryClNF5bkO/TaG3Wo0DQFb1TxNxlghYC+2ycsSD4RilOksVKzbRwEWq1OuxqVKVA6e4FjzdZbAkTdka5OYMSQXL2FAY= 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+72767+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 1615780784690677.1981351524962; Sun, 14 Mar 2021 20:59:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PANzYY1788612xra822UqeEe; Sun, 14 Mar 2021 20:59:44 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4289.1615780783117515559 for ; Sun, 14 Mar 2021 20:59:43 -0700 IronPort-SDR: GsdRl52tyQ+ba4iXhQnnyyaNrfE0XjTt3o1/Ybb5NK+BoBURQtgIL7O0QVHhWFFQLSRXsCDFLU 5WWdcFt3NZjQ== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926746" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926746" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:36 -0700 IronPort-SDR: kleYMZcdrmHPllTsoKXlRnBFAxyT8qOJlhSzOATPxM56OUh2N3ZWyDt+6XL0THIwiLcUUL9HhE PhkoJoIge6kw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298055" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:34 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu Subject: [edk2-devel] [patch 13/28] MdeModulePkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:29 +0800 Message-Id: <20210315035844.32756-14-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: NxwcBTxI8QZFXscPe871lcIzx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780784; bh=otnabksSdFUwdQi40kZ5/az1b/0oBZtKCzBNr4FfRrI=; h=Cc:Date:From:Reply-To:Subject:To; b=V+tcGQxFHoceGqiZ8z19rNsELS6HIJeQDRwBJmvyKxzR2XiD2n4cAHGtwElkPHULLN1 2f+vZL7xDVWHxu5pf0e/NKTUr2DllI/7UiWaIJQVIcLF3ddxHuQ/VWJODKAK50t7jc++4 eaKxgg8CSp40ZQZODGSGBbl+s5nYAOVYgPU= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Dandan Bi Reviewed-by: Hao A Wu --- MdeModulePkg/MdeModulePkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 9272da89a9..d8a8185f07 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -41,10 +41,11 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf # # UEFI & PI # UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.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 (#72767): https://edk2.groups.io/g/devel/message/72767 Mute This Topic: https://groups.io/mt/81341939/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 Sun May 5 09:13:09 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+72768+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+72768+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780790; cv=none; d=zohomail.com; s=zohoarc; b=bHmPD0iwueAI6vPEaqzdHfae0wy+yrD6aSgRQV5MfXFdgVWkGpN6F2F6jT9yHWV/PxTN9W8k+fJPHR+bKUM8A0q2O18vmz9emUOv+l5fxckdw1cATfek/DxtlqHX9qK56eT2F6TRYF0nyLG5cOtILs/nrQqQ7Cpt/nLQqwLepc4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780790; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=clohTwhkttNfp8zs9RZm6TNmr9uJo6+AktEeyFpNiG4=; b=RB6i/VXVkMQ8BHhX434mQyX40Of4H0BH7/BTv8VKZXAWCRBmwNNgAEg8bbHCQ4CyRL+wbkXsFp54Ocn9frB3q9IHigOgtUfk4ykk6ssCSo/MLp60DK1mzGmiw6GcbiTlfh0TBA/IgPuxWCOY9nUe5n7cDAVGxppaNR/LzM8yfdE= 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+72768+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 1615780790076459.7095103845247; Sun, 14 Mar 2021 20:59:50 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id EdwEYY1788612xTm7PXGlHNa; Sun, 14 Mar 2021 20:59:49 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4289.1615780783117515559 for ; Sun, 14 Mar 2021 20:59:44 -0700 IronPort-SDR: bcqu6aQylZNAzCFBt5M4us/bandGx/TVcXpyxBtk8HRTBUN6u/yl613RH52+JOiVTJuz5cm9qk FJj2t6QwXLUw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926751" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926751" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:37 -0700 IronPort-SDR: Q+HB5PSkMfpUA+0zkKKFXEGbvuZo1Sg/COf9/oYBvHkjny89Ac13erPtrQ323XqNDL1ZWmXBqa tReYlK7mufFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298064" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:36 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch 14/28] MdePkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:30 +0800 Message-Id: <20210315035844.32756-15-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: kZ6UiwYPzOOV5pXb5yL7QQibx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780789; bh=m0brroLYZdujaHYF7mVuWzfw5ESOu9E0QQqceRnSN90=; h=Cc:Date:From:Reply-To:Subject:To; b=Rq4AsQnAprpkGw+e1BAY7T7vgwtLrPXb7WqQI7ErU/NsyCG4C6yz5mcXx9sB8KiLOoB btTkNXBUHhWY1KaGYMFrCDJ3mKlc2NmCy9hQKdDPxgE1DM4MRkltOriU6OvDlF/0BPcmV dkEqyxuRBXU7zjDXM1pIEOpsHmyKkm4/1F0= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Dandan Bi --- MdePkg/MdePkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index be89e28eef..f20d0296f6 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -29,10 +29,11 @@ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000 =20 [LibraryClasses] SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [Components] MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.i= nf --=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 (#72768): https://edk2.groups.io/g/devel/message/72768 Mute This Topic: https://groups.io/mt/81341940/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 Sun May 5 09:13:09 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+72769+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+72769+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780791; cv=none; d=zohomail.com; s=zohoarc; b=B3issOz0fEm430+aPbTNnFgYVBvqYw/YP5USYEnkp5VANMmN/k1fhl1xAtE7ZN6vXWgZ8XE8HB0nA1XViBArFVA6ejzH1Dmc+I16aJz9mmWTnnbcWjTL5g5iC7tHPT3kfafD1c7j80OVR3Ln9hhLGMJhi2wciXCRc1Hp44SRkk0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780791; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=6LX8wnPMNoV+sc3dPSpuJJP9Ws2NXF+Wbtk+h8VGEA8=; b=O63ALO7RWlZMPy7IFikwiRRkJ/zoOssifzBbrZ3/N24GoQydSO+nem0EyXgBBqWWKJvpfevA5Pzq0LQDmVj2gXQYmPJuUkuCVxLLFkv4+E0EB8JexySoF7eBE4HxnjxITKwdxe9bpozTutcZ6uvYAfNeX1p9ZZxUkuKwyhj0qKo= 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+72769+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 1615780791021850.4548630222711; Sun, 14 Mar 2021 20:59:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id UrNuYY1788612xztEN8012Hc; Sun, 14 Mar 2021 20:59:50 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 20:59:50 -0700 IronPort-SDR: Fgr5vYDNXjua5BVtseizdQpOOGXR6wjYA3JYV2eI1EglpfDjIiPHnd0jPlGZwl/u/e6CVPwB+h hUy2oi20PPsw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926770" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926770" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:39 -0700 IronPort-SDR: jQnBiT92k4n80bJpWaj/q+v7yPyDSgpf2st+RhO9jpEuVctUEyA+Z7xSPVVoDvyPbhffSOZkCq tRkll7XYD6fw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298070" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:37 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [edk2-devel] [patch 15/28] NetworkPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:31 +0800 Message-Id: <20210315035844.32756-16-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: HcechLvFbaANTsmf7XmRU5tPx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780790; bh=cr2EK/aH2T4/0dYMrGlPVWe09LK+h5xS8gTzDka/n70=; h=Cc:Date:From:Reply-To:Subject:To; b=DPKWXjXp7vwN3OfyfDTrTDNhZ/5A8UMNYZsGM3LjDHmXiie5CT4ejVwZHpz9okQbfNW nA766yRe1/BivgwcevCBk4audYAiSUQpkE4xXZPUfw21xoti8YONm++BVq0512u6/+n5C 3v7FeZTpFyHzsD8UqNRbD6XFrsbpLDwCyTA= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Dandan Bi --- NetworkPkg/NetworkPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index 531da841e9..f269a421fb 100644 --- a/NetworkPkg/NetworkPkg.dsc +++ b/NetworkPkg/NetworkPkg.dsc @@ -41,10 +41,11 @@ PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL= ib.inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 !ifdef CONTINUOUS_INTEGRATION BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf !else --=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 (#72769): https://edk2.groups.io/g/devel/message/72769 Mute This Topic: https://groups.io/mt/81341941/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 Sun May 5 09:13:09 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+72770+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+72770+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780794; cv=none; d=zohomail.com; s=zohoarc; b=YKU8GOSrdnkyjXOorxo9A5VRy09Cl+aM3YQt4u4XxAdV552mi2hZoHmZY3/Uip/T854XjN21NttE+FF8XLQ7xBKrcRPWGspWGfjUx+BfAAuyCUS2Z45SazUjqcIkzZ+ePpp+nFdLivleUsuVnvDae0MUyaTDa5aPxP0Bfck4EuY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780794; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=ORbmlufIqVziciiJpQ/ENkSL4PsZx3sFUCAk/6fr3cQ=; b=li99heNt7Kaz3a/sQ1OUuz0HusEAK/OTbEC4/bzOabJqYHMCY6BlV23IK4OJyfaWHuNMx5JBRCSSZwv80EDVIcqI30kdTmKb471JkDz9peSfHOJFHgi8YMWz+XUcwev39Ja8ov5uak/+J3vB42D4DRlCgkA6NPp5jeYHI1l250Q= 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+72770+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 1615780794142181.21168949885703; Sun, 14 Mar 2021 20:59:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id gzLGYY1788612xssv6CPfSd2; Sun, 14 Mar 2021 20:59:53 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 20:59:53 -0700 IronPort-SDR: btFpKvZw7uBEkLJBKK9eP7RrmGP3VCpquXhLc/tMf0jomdcurmYtIajT7ZcQYSoMr7mGFhVChp 8ovV3xvZADGg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926790" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926790" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:40 -0700 IronPort-SDR: 2Y0LA83LtNi2TPv8funhjAsvh3UGzrWkyLxef66NDuWLgUPWk3ClKTZ++tbp4gjvgVLiK9jClW QHafW249A58Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298081" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:39 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Jordan Justen Subject: [edk2-devel] [patch 16/28] OvmfPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:32 +0800 Message-Id: <20210315035844.32756-17-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 3j59FWcZthRWMOPVChM58bjOx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780793; bh=YeOTTf+puNoefSX3ksgBDDvs553Cv9hb1HKUtO9hO9w=; h=Cc:Date:From:Reply-To:Subject:To; b=OiMS3Ua5UyJKYBDmjFDuTXeJbfnJnGz7ILpYVkchsAf7bNsTIyhkMtUYh9XskBqeoJR kcX+ySvV9R7kAxB8iBY4GgSOb7D8Ekj1nJlr3mra1pg7bbP5cqf0m6FqswBdUpuvE3duj 4Qomm7xa8RGuXEsNAfSwhnoRb+g9IXD158s= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Signed-off-by: Dandan Bi --- OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfXen.dsc | 1 + 4 files changed, 4 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 1eaf3e99c6..46a2bc02a9 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -169,10 +169,11 @@ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFw= CfgSimpleParserLib.inf VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLi= b.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf !if $(SMM_REQUIRE) =3D=3D FALSE LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf !endif CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 4a5a430147..812c2af48b 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -173,10 +173,11 @@ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFw= CfgSimpleParserLib.inf VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLi= b.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf !if $(SMM_REQUIRE) =3D=3D FALSE LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf !endif CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index d4d601b444..76a41aa351 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -173,10 +173,11 @@ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFw= CfgSimpleParserLib.inf VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLi= b.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf !if $(SMM_REQUIRE) =3D=3D FALSE LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf !endif CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 507029404f..f057c9d7c1 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -163,10 +163,11 @@ QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoad= ImageLib.inf MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLi= b.inf LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltL= ib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 !if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDeb= ug/PeCoffExtraActionLibDebug.inf DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibS= erialPort/DebugCommunicationLibSerialPort.inf !else --=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 (#72770): https://edk2.groups.io/g/devel/message/72770 Mute This Topic: https://groups.io/mt/81341943/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 Sun May 5 09:13:09 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+72771+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+72771+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780796; cv=none; d=zohomail.com; s=zohoarc; b=jEx19t0G+d+yRcV0N8J0tJfZm75LMQy0m0BtW5NpR5/TKhWrUErv9Gf/HsBoDXF/1k4PN/MWpivQrRl1Obb1K74co6SEoM+OLmHlzJ+xMjkfYzJkBShnlhQz1P8i/Jkq+Kk0MnM9dTzoJ/JKGTH/XTUFVMxrgNO9EcE4/e+NPmU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780796; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=2dge2m2Hk1FVqOO0B+y8VMrKnNVFVBPcwCD/HC5puBk=; b=hFt23qLzVdjlDIDM9dPcrvhP//BHofTilrNpykHa/G/xhYOFmT2S/kgzsHPEJ0p6AVmQNqkRQIKs8CTzVGoLAl1k0eXgCT2yg6hs4xkK8xB7WsTYfDaRYZuR/ThPTK88poW7o/VFpknNBYBCEHHd8gC7myGFbOKZhbzrxAjru/c= 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+72771+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 1615780796917840.637163594919; Sun, 14 Mar 2021 20:59:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vdxRYY1788612xnDfRdNGDUc; Sun, 14 Mar 2021 20:59:55 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 20:59:55 -0700 IronPort-SDR: HkEH2knd9No0IyFEcHx7xkh0IobiAAkFl6EK1mBbn0lW0pX7DJEu4dnH0IStqHxPFZW05QmX12 qhfdvuySp4Dg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926796" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926796" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:42 -0700 IronPort-SDR: ZmuSM4Baqub1hCZPFHzB07CwQh+GHvYmuRyROtFk6QIIkOjU3xCmjsuepV9xUA8E8JQ8Y30yRO onwr1BWeMsVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298093" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:40 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [patch 17/28] PcAtChipsetPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:33 +0800 Message-Id: <20210315035844.32756-18-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: VSJ9PaCpLBrWWfPoXg3cK14Px1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780795; bh=wbmc5OxdrkB3YVGAqUa4b5E6HLFP32OkvfiNEgABXqI=; h=Cc:Date:From:Reply-To:Subject:To; b=GAI6oIZFodH+eO56s56VfWJSrf6pxZuPrM3/nfZLdAGZI8xETa1TBr3D71kP22BqPtD PArddFf9zy/AiOVylr5JFBH2IoZpa6xRmZAFlW2J6kEruU/79AlnIHnW2vFALbkMI1vFj 1xEcYBQD3HqysRZPfEIUjMGk+iOdjVwfqOQ= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Ray Ni Signed-off-by: Dandan Bi --- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dsc b/PcAtChipsetPkg/PcAtChipset= Pkg.dsc index 3d1fb816f5..228a0c721b 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dsc +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dsc @@ -41,10 +41,11 @@ IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [Components] PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.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 (#72771): https://edk2.groups.io/g/devel/message/72771 Mute This Topic: https://groups.io/mt/81341944/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 Sun May 5 09:13:09 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+72772+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+72772+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780798; cv=none; d=zohomail.com; s=zohoarc; b=Rl2Me+nVcnY0Ja9ZuE6q7g2GOFDnBNwxI6CyVMbwWdqbKlEIKRgCQ7aGQGJBNfprKHRD0iHtpLIz/6Dww+6xqTUPivaWI2xngErmZhGY8EKxiY+QY9YzVfaGWVLkkOFzmvjnzeb15B6A0WLVAhR9Ha4MSL4OB1qMqdaFpcswHw0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780798; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=Uddi2HVDvm6naTyLsD68kyYIuxxU+k0Sbyk/Zfzq9Vc=; b=FxZ4uKLRkuIrnuuFNJdjh/ydG8gkkHJNAOWQ1gJo6Ugtj/AVMamVLeBvY0x3RYF6l39qFvSFeIS86W7loPbYOLWItVZ2HA59G0leSD68mXLyg6HLPj7rlxTpePfJZrEJKJ/rmr9RkQNSs6Tk4wjfKkDn17EMOMbMncim0CN4UP0= 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+72772+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 1615780798319162.9281019346795; Sun, 14 Mar 2021 20:59:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id iLhyYY1788612xJiQC0IzrSo; Sun, 14 Mar 2021 20:59:58 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 20:59:57 -0700 IronPort-SDR: uIavZ1cNdJfz9hnnVY1ufOSjU0lTkrUZYL11VNDqQB8X+nOBmP4GMSRQ1Js3pUWgnDRAIr9Fmi Mwh+0K9LwN4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926801" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926801" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:43 -0700 IronPort-SDR: +7VoLoKrg019hK2dnkErc+Pbt38zCF5eYXK6HMotzHJExNofJ6URG9Dd/7BKtOUXIlHHGkHJip iNH8ZZy+dWqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298095" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:42 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Abner Chang , Nickle Wang Subject: [edk2-devel] [patch 18/28] RedfishPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:34 +0800 Message-Id: <20210315035844.32756-19-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: E2bImpEAYlFVPWGpjd6UBh52x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780798; bh=rTf3Cae7IkJ53rJdofVcLWKVfpoDB1ZyI28bh0KVeYo=; h=Cc:Date:From:Reply-To:Subject:To; b=tpb8hYO6765g50RMVUNgv/587hm9rqmblDTIZLl5ujNPSxf+IJxjWJw2gLsd5GKEyyj sFCqk+eYwzMTzZ546GCFBErkvPuUPg+7bsEYXwGg5gLOtpb9MVw5+hx5B1U+uz96GYA9L NY09wwp561ERNC5c8ws/XCnHDMJ7u1HBVAU= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Abner Chang Cc: Nickle Wang Signed-off-by: Dandan Bi Reviewed-by: Abner Chang Reviewed-by: Nickle Wang --- RedfishPkg/RedfishPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc index e0052290b5..e93010fe7d 100644 --- a/RedfishPkg/RedfishPkg.dsc +++ b/RedfishPkg/RedfishPkg.dsc @@ -36,10 +36,11 @@ HttpIoLib|NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.inf NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf DpcLib|NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf RedfishPlatformCredentialLib|RedfishPkg/Library/PlatformCredentialLibNul= l/PlatformCredentialLibNull.inf RedfishContentCodingLib|RedfishPkg/Library/RedfishContentCodingLibNull/R= edfishContentCodingLibNull.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.ARM, LibraryClasses.AARCH64] # # This library provides the instrinsic functions generated by a given co= mpiler. # --=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 (#72772): https://edk2.groups.io/g/devel/message/72772 Mute This Topic: https://groups.io/mt/81341945/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 Sun May 5 09:13:09 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+72773+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+72773+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780800; cv=none; d=zohomail.com; s=zohoarc; b=Ee5tIsYs2Gcu0deuqMiPrccoWw60UGu4CQDIecXvdcSRl2mzMHc+yWLgA8ryMh/c8DdJtdgqjEkYjtr5kWRhUrVv50qf9EsIwB0rB8Uaqi3NBQcW0o54p0RTwVgnZKpWbhG05hcL62PjO6m1Q4Uzq4+eoZQcEtTK/4/jDiwP3QQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780800; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=pI+FUstV9Y5k0mALDsMEh6RuLMJqGxZdDCRfM4Tv1LE=; b=M+kqg8DUhExepXvz5UVJLJGVYkXX/oopPky0+adEUR4Ux2TVTzoEOe/dAFMd7nZGNzEpeNF961XeE4B/CEzKLttoh/Vdxi5KJ8n2t6RnBjxFAJBgszOkkW4oPIT1qdI7buB1cSC+LDSwX45woEHWLD8xdBqUvVoUd+FWOWjS4gM= 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+72773+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 1615780800340146.67817268255942; Sun, 14 Mar 2021 21:00:00 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YAMgYY1788612xqhaK5djKQY; Sun, 14 Mar 2021 20:59:59 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 20:59:59 -0700 IronPort-SDR: I70/b7XOkz/WT75L7pxH8JtsRrtgyXOWzGObslzDYvP9xvbUZ5YAZeebqJnQraVEL8R1tsVFxt u5U42kLQXDnw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926809" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926809" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:44 -0700 IronPort-SDR: 76rc9S5tm4ZNn1BNoX1M+CQmHzwokTYB0YO2xcGzaEOgvmExOwXL+ELiMNQIs6ggCSDfsLiT0h //kpAiyiyxyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298118" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:43 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang Subject: [edk2-devel] [patch 19/28] SecurityPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:35 +0800 Message-Id: <20210315035844.32756-20-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 5kAsPj28hGMztZtHll4LA7ngx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780799; bh=PHUjEl6/JQH1z++t6+ADGBVSpEAciqm30LNzOVFIRMg=; h=Cc:Date:From:Reply-To:Subject:To; b=suKb0GXhnArD8p/88SzIhUQpPW3PQ40WjFdKDxCmrEP3X8amYymDwuhcHm5s7bRJXe7 s9bgG+xF31ZoNWIqr+xkBVUQXfwCurCS22axKgU6quIcAAtRBAZUllMyIiUAS/aoB9Vgc tfejQ+bO5BEuJw0EexiXNUUNZ6hkNH/Z3hw= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Dandan Bi --- SecurityPkg/SecurityPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index a77665518b..e02797d2c4 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -28,10 +28,11 @@ PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.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 (#72773): https://edk2.groups.io/g/devel/message/72773 Mute This Topic: https://groups.io/mt/81341946/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 Sun May 5 09:13:09 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+72774+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+72774+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780803; cv=none; d=zohomail.com; s=zohoarc; b=NpUneyNOq8hLxbHiBGCebbhy2CII1zkdMDRD/3z9YCdtHDHzAkLCWIn8fEx9v6JBsgMlgnWZIoBHTnzb0+GTxxgZQLoyHjeRClksF6qDOreM18oxznpRol5fsyAnqOLMasQLb2WmAb6SPmA5udFlRqBy8qgL1oxps3LAk1ASImw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780803; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=OOKIrgdEWM/cALuCY6VfQIkGXk667SCX2m1/bvcV7nA=; b=O7MUb/ZN7GylsnKmdMJKpghaj60+qkRhleu1zTP+JMut0l3WQUmlatwyn7jnWtowKJ/TfEW12DKaCbqMUb89Ppf+m6dB8OMilY6GyMFV/mPG2HjD7fxRyImy4Ac60h66eRNjofWwIc9rMUkudBbOOK56uN2LzQqD2QgRwB5807o= 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+72774+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 1615780803876515.7360930329407; Sun, 14 Mar 2021 21:00:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id kEeDYY1788612xXJOKLZmtwK; Sun, 14 Mar 2021 21:00:03 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 21:00:03 -0700 IronPort-SDR: OsA/JIIAcSTqss5HHHPuRfZ8WNWRte7lOfN9lHCZL+kfXtg1OVFzpwWF1hmBqMGvFBGaxk308L gcY1NM2ZNFQQ== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926822" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926822" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:46 -0700 IronPort-SDR: YsRrSYHYav/F1+u8tKxI5SCcJKhtp4c0cFMecC+ZSM126KLWi7Ann+oHw80KlFAqHa4SuUWICN wMPLuD/gOy3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298130" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:44 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [edk2-devel] [patch 20/28] ShellPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:36 +0800 Message-Id: <20210315035844.32756-21-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: fwLJKTpbGZj2K44WVXyqUYvxx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780803; bh=uU385DpodrLBGF9R3c1E5LbXNFINCqNIqvogtYYO1O4=; h=Cc:Date:From:Reply-To:Subject:To; b=jcHnaWTS8Dk6QlmyIHvLDAfKJLFDUkc90w8qiDTQhzj9D44AKnWjGuuxN7jctZ3eC2p rtf6EvSu3pW6TApraTuCydE65HhIa/XVyriKQNvzgCsBe/G7H/jx1YDiLtt9jXT4Z9FVv BBWpltij2m503MAjhIK61nJhHu+78HMpFTg= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Dandan Bi Reviewed-by: Zhichao Gao --- ShellPkg/ShellPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc index a8b6de3342..e6ad8e8960 100644 --- a/ShellPkg/ShellPkg.dsc +++ b/ShellPkg/ShellPkg.dsc @@ -51,10 +51,11 @@ =20 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCom= mandLib.inf AcpiViewCommandLib|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShel= lAcpiViewCommandLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL= ib.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 (#72774): https://edk2.groups.io/g/devel/message/72774 Mute This Topic: https://groups.io/mt/81341947/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 Sun May 5 09:13:09 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+72775+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+72775+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780804; cv=none; d=zohomail.com; s=zohoarc; b=WXA5BsH2mNBPUgsxgdN8ovdWCgk5rHKNMfOsiub/CxVui3ICPwUHRH8YsizJdfGLF5pMCvlJ5bAT40p0CKiZ8MHKfpns2Yg+DJ5Io5kYe149bh/fTnuzO6Ugd5HGfs1W57Zg3pLyGwh6Vos0EYei/GTohIAikbmQYKHrXdmrLoY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780804; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=Du8NIfNqa3dF+IrdvA0xbd123KmfszYIFWcgzfknIfU=; b=Wc1YbCIIE0/OVEswwPTmReHtvicdUS7HZp/ZXqoQa4+npYdbM5l3V8TkqG2U1m3lSEW1kYsicL4iS2xYGkIsUzAzXZ7TBppy+CWGKkjqnZI2dd7cQ2bDoYUK+37aaehtUdMsNmbtrlwp1BAxLJAqFark/XJqhZX7Ql0aV/79Wr0= 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+72775+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 1615780804809523.188392416395; Sun, 14 Mar 2021 21:00:04 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id U0odYY1788612xun0MHewUgz; Sun, 14 Mar 2021 21:00:04 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.4292.1615780790198470207 for ; Sun, 14 Mar 2021 21:00:04 -0700 IronPort-SDR: JllB0WvuY6eb+7lAx5bTy+m+gp/LZZttVDTv5pQaogDgFXLWpQs56L9tOiGgVnrjMmwHeKl1P9 48fm+ljYNiDw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926823" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926823" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:47 -0700 IronPort-SDR: r9n1730RK9EOCGygaI14p3fb3SOuHWCHYIDt58ABHdthU6fMTw4hO6BcDu1/xj573Unx3qfemC OYccdrcshs5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298133" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:46 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Jian Subject: [edk2-devel] [patch 21/28] SignedCapsulePkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:37 +0800 Message-Id: <20210315035844.32756-22-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: Xf2CCfQ5IKx7mut7jb5FNsMYx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780804; bh=FPA5SbK2SzT9hjX/BpRL7zJSXxZjvPmHW/b1yk8kLmw=; h=Cc:Date:From:Reply-To:Subject:To; b=OT9iBP0iZQ+ceCrt/p438fB7Q8H21lcPA08GV+5AFkVnPY0n+o/Ur1A9yVK/P0eIVeA nEjDAyqneg2HnG56OT6sXPxJFwn+R62iogtS34se/yZm9qjwOH70EgE+Oid3mKel5j6dC w1+fqKip24l+NazpRAn1Tq52fhqaC/jORBs= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Jian J Wang --- SignedCapsulePkg/SignedCapsulePkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/Signe= dCapsulePkg.dsc index c5080ec1dd..3eb07dff7a 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dsc +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc @@ -39,10 +39,11 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf # # UEFI & PI # UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.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 (#72775): https://edk2.groups.io/g/devel/message/72775 Mute This Topic: https://groups.io/mt/81341949/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 Sun May 5 09:13:09 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+72776+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+72776+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780805; cv=none; d=zohomail.com; s=zohoarc; b=F5tLIC8ef+unYoD675qDLm/3S4e8S9xZJHZbXpCU1FfqrENPLYYXN7GycOEFVWqVuGPzynXT6sOmzJusudT/1kMd6po75US95RJrg4jIhKgeIgDgkjDSSUPQH/nHv7uvOKL4vE2pLweXMkAk5g4NgTHU77WO+CHRhCLpJQ3lSp8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780805; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=+c1QJuxki1tdKurz0FTGI8SKweRg9pGZrpgkJkLkggw=; b=aAONjgMOZ4T54pwiKOckfX1m+ppFQRDSBZjJWJ7x9dO7nBRPzYeIQ4XpLvCdDFuUdJfb7GTv+0e+MjJz+SnUUhMsrq1+AHIitHNeoK3WDlxKZqmgZg8VkDtxs1WJQijC4fFrGvTPm8bbE6YxtPujKyyrsiZijpaFM/XtTUv89mg= 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+72776+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 1615780805227935.1534176551492; Sun, 14 Mar 2021 21:00:05 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tLOiYY1788612xO0MvgmAxOG; Sun, 14 Mar 2021 21:00:04 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web08.4389.1615780804181444359 for ; Sun, 14 Mar 2021 21:00:04 -0700 IronPort-SDR: O4qwjVktDOCF3J1fA9ZwmehyHNzZOcsbQL9xHJr/NSoqNJKGtACSi5Qys0ubBWeLjT6VYYdyDN KDpX3bJXda1Q== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926825" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926825" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:48 -0700 IronPort-SDR: FluFgCVePB+M13YL8IheDOOH48YqnUNMOVmvCq2vNVcOfDBLuy9gmW+IYX5GSDPyZF7kN4iAW8 Eee7U6wkXjeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298153" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:47 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Hao A Wu Subject: [edk2-devel] [patch 22/28] SourceLevelDebugPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:38 +0800 Message-Id: <20210315035844.32756-23-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: uQM8nqeA6BZasb2PXUY1noufx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780804; bh=FXO0BiIssGTmE4iLQ5cGHPBoATv6f7NMuZLEWyrsdIk=; h=Cc:Date:From:Reply-To:Subject:To; b=tpUPHe5uusyxnCq0lzjH29AC7g9kCeHX9C/9YcCJYBDnyvvSQ4cyWi/OMtUST7ZO1UJ u7QpOJ1mPbp9sqfY/rjMVwdgMDeS/AZwohFfcPehepGbiO5op7yTscPy2m5wBsW3PLNSw evsfzRtCvl451xRv0ulzJme/Fc17oW24rRM= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Hao A Wu Signed-off-by: Dandan Bi Reviewed-by: Hao A Wu --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDebug= Pkg/SourceLevelDebugPkg.dsc index 20eb10ba07..73a6555077 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc @@ -40,10 +40,11 @@ TimerLib|UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUe= fiCpu.inf ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSyst= emLibNull.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 !ifdef $(SOURCE_DEBUG_USE_USB) DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibU= sb/DebugCommunicationLibUsb.inf !else !ifndef $(SOURCE_DEBUG_USE_USB3) --=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 (#72776): https://edk2.groups.io/g/devel/message/72776 Mute This Topic: https://groups.io/mt/81341950/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 Sun May 5 09:13:09 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+72777+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+72777+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780806; cv=none; d=zohomail.com; s=zohoarc; b=F8NWvnAx/zh1lzyWIYMNQjK48ONjIjP2OIfKogzieN2KjN21J2ixzdDSB7m0ede7F+fJmTomw8O+SFBPanbL3yOxVnGC+dBBTijc/DVC2yZPHVHazCzTCAPmPkHT86C6mJyJmEjGxgtDZ8UYJijU2M6G3KvhOaiwlHikRYb+rHE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780806; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=IERIfqw/Ul50zcFJl6zJKaJ/0mcHghcxkJUAC0nZ0c0=; b=JqmjBoltN8T8r/rgekvxKs0ce1Nrj/tz56QoKrAKjAM4yl7rp3TpXEuPo/bbTdGyD9nNP/18y2YyVosUyjzERUuA5QDsExytGNRuiOmJMZTm8SOTYHdulSKPsHewiom2DoPICAiVu46Xzw/wDYgLo75mZNJRZgPhU6pMMz4b3ZY= 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+72777+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 1615780806872465.1300961136536; Sun, 14 Mar 2021 21:00:06 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 066iYY1788612xigbGyAHDCV; Sun, 14 Mar 2021 21:00:06 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web09.4352.1615780806007459307 for ; Sun, 14 Mar 2021 21:00:06 -0700 IronPort-SDR: HU8NGfhAZGRPSMVDPPxWzJbadidOIBT2LCHOr61ZeloaKmXgDVKp5e0pxA3D+5SJuTzgDTEIDk hRYZHlqvjpdg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926835" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926835" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:50 -0700 IronPort-SDR: uXedm2r2N/E9D9z74Y1d25ec7Y4YzOj7g0z8SY+/jD20sTkHz/rmTXGMJUZAX2oymd1qxd3Fu2 hlQ0rcU6Z9nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298172" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:48 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh Subject: [edk2-devel] [patch 23/28] StandaloneMmPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:39 +0800 Message-Id: <20210315035844.32756-24-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: NXR4aQNkLinkbZ5QSMJdE4Jbx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780806; bh=uKb1VoPdoatQ2DvGhzmMF684QUp92xIhmE6y2vCiTTI=; h=Cc:Date:From:Reply-To:Subject:To; b=ibj/5o8KTb4WlhFwRkHB9Z6mG5HSC4XOlpo84yPbGdZ6YGfRJ5f73YAXRHObklSQPIc 2PxHHSzjC6be4djwMgMKvf/sg3tRyfwT1ExmP1FiV71iyg8rGYR0oJXTCZ+IX9HBHNzPR IaeyWstTr4ukmggE8wmBRNJrXympAo8/HU4= 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 Add RegisterFilterLibNull in dsc 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 --- StandaloneMmPkg/StandaloneMmPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/Standalo= neMmPkg.dsc index 73f3f0f6b1..92b8b31b35 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -54,10 +54,11 @@ PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntry= Point/StandaloneMmCoreEntryPoint.inf StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint= /StandaloneMmDriverEntryPoint.inf VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/Variab= leMmDependency.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.AARCH64] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmL= ib.inf ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.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 (#72777): https://edk2.groups.io/g/devel/message/72777 Mute This Topic: https://groups.io/mt/81341963/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 Sun May 5 09:13:09 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+72778+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+72778+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780807; cv=none; d=zohomail.com; s=zohoarc; b=TgLzzNshoqY5ddlmUluEz910PrXbodcLP1gdJtuc2WTZUJ9dyhCYdSW1PsPjW3Fvn80VQS5cA8V6MUO4I/VLAot6ZzUEdK4+1u0VqJ606Jfx1oxVxbFPU1cxQzn71dW73baM6WidxO0CEFVmHysATsDNg8kZ1rlfsK/EwnVL3jA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780807; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=IvWgQEET1GUBhBnu8JKFwfhjmAZ5PkwthPnspgT/T7k=; b=QtAK8IC0p58CS9sOg7RCqE5iryiqwWoPgUXJ3tAWgFLhq8NiXenuaREcWoqpiuT7erAKnVDch954x6cRVHSHwHPTJuRzpD78ipIBFs7hd6i4ETrTf82J2/Xk/Vs/4ya4kORVzDwM0Us2LFTxIBanQ8++VPIhLg5DzgGbMvNZQiM= 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+72778+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 1615780807506810.8402741793351; Sun, 14 Mar 2021 21:00:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id syuDYY1788612xIrz2vL2dCh; Sun, 14 Mar 2021 21:00:07 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web09.4352.1615780806007459307 for ; Sun, 14 Mar 2021 21:00:06 -0700 IronPort-SDR: YgCIVbdaxeI2e0TqnV7syubiqK058a6ZyvkHNUM/324VsISEFYGRpuchJhFcbzLDa3VKo1hHEQ LNkQF3MfV0qw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926842" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926842" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:51 -0700 IronPort-SDR: QHFhXuyAvs/Q8Dj5FOJwELX8w7Ltxso2Z7ozvcVI9pziKyvLdTdM1kUe620fespujB2zzWzAky pKJnSvTWlvxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298183" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:50 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Laszlo Ersek , Rahul Kumar Subject: [edk2-devel] [patch 24/28] UefiCpuPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:40 +0800 Message-Id: <20210315035844.32756-25-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 8CTxMqYeYU8JLCWl3jjFY36Dx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780807; bh=MGYeNECQhSylQFBxGky+33I2BEI8mcfHfXY5rYv0dFQ=; h=Cc:Date:From:Reply-To:Subject:To; b=tJ1GPRQT3w8Bcsi2hL6wMR2T7ResovvOUAsfXt4WRxNIS1QdGpLEoF/7VZHzReGQdJj 2R/R+MLZR1v/ZRY/ExY01JgkclE775B8vjyt9tC6bi7AyyIqrnpcdGD9BUcZ+Du5IzgYh T97qHpTgU0uQj4HSZZjB8mTB+ZJODksTlb0= 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 Add RegisterFilterLibNull in dsc 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 Reviewed-by: Laszlo Ersek --- UefiCpuPkg/UefiCpuPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 7db419471d..9e5dbb271f 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -56,10 +56,11 @@ SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib= .inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem= entLibNull.inf VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 [LibraryClasses.common.SEC] PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.= inf !if $(TOOL_CHAIN_TAG) =3D=3D "XCODE5" CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5S= ecPeiCpuExceptionHandlerLib.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 (#72778): https://edk2.groups.io/g/devel/message/72778 Mute This Topic: https://groups.io/mt/81341968/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 Sun May 5 09:13:09 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+72779+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+72779+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780808; cv=none; d=zohomail.com; s=zohoarc; b=CX91yMA9NUK8GVA9SZwawcJ+Tsx5oapsY/cKsySSWIwjPO7r2FQdUhHI8uJl/ZMEbJLAxD8WCIdhWnH2F/k4PCrCd8gjERydGRm1GfB9pF/5gIcOJS0PfDG5orQAtlByEcQ8jM0HNHKHfO6dO7lGTw/TyCigQfPsqwCc8AaRsYk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780808; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=Cu9AfpvsCOn5fjNVhaeM8mV/VvxaL5B/9Dza4s6HxpY=; b=ajv8Y4i9ShSWV7IvOGbTaig5iSVNhmTYgm5gB7MqV2ilvjncvxcjfVOh4T0Gp3cHJ+gEXojvcx61YnqjTAGkcskMdFmv6RUEbemcPDZjJ6yCKVNDiuO4s3xV6o08+L/cwofZO8KGxqwWyrPytJxxx/pK0gwQYpSQ9s18SH0+P9M= 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+72779+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 1615780808136995.4451860307005; Sun, 14 Mar 2021 21:00:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id CiOZYY1788612xoFRmuH5mcR; Sun, 14 Mar 2021 21:00:07 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web09.4352.1615780806007459307 for ; Sun, 14 Mar 2021 21:00:07 -0700 IronPort-SDR: uv2Kysb7J5oiIP4V3FNGrbI930LCA5gJ6YxGNolYbGp7BquYm4a7XLmmkQ/AsXt6XiQn1JV2lb 9hMKGfWdDj7w== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926843" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926843" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:53 -0700 IronPort-SDR: yYVqHLhWRN7iuFbjUosOQB1ahvGhaTBwY8WKo6ci9fZhmeyHeOCNUfbJe3CSt8bd/y3nCyAncD 8oVVsHDd5nKQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298194" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:51 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You Subject: [edk2-devel] [patch 25/28] UefiPayloadPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:41 +0800 Message-Id: <20210315035844.32756-26-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 2LN7Ps8Zpnf50SXQVB0fpPXBx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780807; bh=2QY0PItOhTFAfNC0PPol4wn07kkS+vAF6Zk/ABZV3FE=; h=Cc:Date:From:Reply-To:Subject:To; b=QOEQVV9q39gdqww93ixHabvLidSjBnIDtSKEMtH8JiAHtZRJ22eW3w7h5qutCsUMSdj nCCNT+ZHLw2Xr3Netg2JwTQpbiKY74rCsUnDcX0Pn+4KTk6uMlaGdc92yigH6qhPUkL4l 0YwQXp0ChdZFtZXLfFBHPgSvpJN18Uxp7As= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Dandan Bi Reviewed-by: Maurice Ma --- UefiPayloadPkg/UefiPayloadPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 23edd163e9..56c8147f01 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -141,10 +141,11 @@ PciSegmentInfoLib|UefiPayloadPkg/Library/PciSegmentInfoLibAcpiBoardInfo/= PciSegmentInfoLibAcpiBoardInfo.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 # # UEFI & PI # UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.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 (#72779): https://edk2.groups.io/g/devel/message/72779 Mute This Topic: https://groups.io/mt/81341971/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 Sun May 5 09:13:09 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+72780+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+72780+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780815; cv=none; d=zohomail.com; s=zohoarc; b=mcAVoxIewVs3GASFAsT7XzeHXObc5jhiTikDjtgfSmJlWkEPDeTzr/DPOYrRgb4xQZhusg4asWFiIA7vAEhSOwIXwEtt8IvrGKM4h3EcVqfEh6GueYPusCU0wjzSuoSo00R3qUi4IFA2TLeWZ7pyoeYodJ1pD4ANbcRJOuhXs9I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780815; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=PS8Pevxe3y/r7SRlP9iG+L9JJTkJy+/W1CRlaBkH7PY=; b=UKCgCsrad/pDBJ6KWGYczOpQ0bA70PJZSK/6TeywdvMm9Aw13prxWplJcbDtNhpWBBOmYb/a0NiuXwQxwes+Gi+ae15xe1CNwusIiHjQBgJtUAYMtC2TQUCrlXmPPM3htJpUPzgbdMpwJy9r4rzd3S3s1I2+ntLHuJNRobr85mo= 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+72780+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 1615780815821908.5221323245136; Sun, 14 Mar 2021 21:00:15 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VVjPYY1788612xWHDGRx2sQk; Sun, 14 Mar 2021 21:00:15 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.4353.1615780814589881695 for ; Sun, 14 Mar 2021 21:00:14 -0700 IronPort-SDR: Aan/SJdRDNRggaT5AlkeTsKHdrbvDOmGS8dzUNg44rpQ/QIrr61v9zjNIm2B5Y9Dci2mvCVzs4 N4Sfh/Mi7ZQg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926852" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926852" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:54 -0700 IronPort-SDR: do5buJPAc9jspE3p5GMnUE5vj+g/nHQ1NzaIPmQNYjIQhvEqPqic7O+vERyXhPDDDR5hOfW0YD MTGIIGNUx6HA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298205" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:53 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Sean Brogan , Bret Subject: [edk2-devel] [patch 26/28] UnitTestFrameworkPkg: Consume RegisterFilterLibNull instance Date: Mon, 15 Mar 2021 11:58:42 +0800 Message-Id: <20210315035844.32756-27-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: FwKQ8tnAOGahQXHYGthO9JiCx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780815; bh=x6BY4mmATNVKXFT65MxbaBhfQZsmKwV513Q3jHaowTc=; h=Cc:Date:From:Reply-To:Subject:To; b=QrlCgilAyEEtjm/A5pIHYhFEJv2bV+xPyDRt3uWVi/CkJEVTQ12X294Y+lNFY1tRI+8 al5fCtJhsOlzgMdgy0SthWpGMAVwDf6cEuo/kZN+CeGY+hrPP6WoX9MQmrEXQ5Rl8AWiA PQRdL69fEvxBYVanOLs92gArNfFt1nvXnVE= 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 Add RegisterFilterLibNull in dsc which will be consumed by IoLib and BaseLib. Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew --- UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc b/Unit= TestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc index 8adf690098..a43e52a9f6 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc @@ -23,10 +23,11 @@ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf + RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLib= Null.inf =20 UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceL= ibNull/UnitTestPersistenceLibNull.inf UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultRepor= tLib/UnitTestResultReportLibDebugLib.inf NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAs= sertLib.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 (#72780): https://edk2.groups.io/g/devel/message/72780 Mute This Topic: https://groups.io/mt/81342000/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 Sun May 5 09:13:09 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+72781+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+72781+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780816; cv=none; d=zohomail.com; s=zohoarc; b=HGSd9IjeglFj3DSEAfl0HUh2cgCfcU7RTUof+E25hoUqxa3Cp3jsHEcPwOfXduEOqZ/lhNlNRWhJvKbBZ5xG3JlQSPwi00pgGbfZYQlJJBaLZS4PU2NmQzq6Hcp3imvgdbhxUi10Xkx0g19XWgHEbAPBbsot7F4CfivJlb0wZXk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780816; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=IjL20jJQZWcsDD1/JelcjUwI+/5AWREtfAtDR4Iv7s8=; b=dJX2EMs2H7EcKtYR/OKbJf5arigkAh1aJAKZljCNnlLO0Hc8bAMVEI/TVP3F2xlVyHXYyET7Z3kxnAZRUiRxQJ4Bocv12ve1L+P4MKKi2M8N9BjEEw751OtXX7+rcyBW9d+nUhpf/q5fkagCtE0FE6xHr+PJq+Cnc0wRtB0J03Q= 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+72781+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 1615780816132466.92426682181076; Sun, 14 Mar 2021 21:00:16 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id aAJaYY1788612xSh3bn7bO3N; Sun, 14 Mar 2021 21:00:15 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web11.4353.1615780814589881695 for ; Sun, 14 Mar 2021 21:00:15 -0700 IronPort-SDR: /Yn7G8HkngjGR+nta6v3qsYPFUvJn5eBB00v82qTXuo+GMBBtIvl396YFM0yGt45zL+6PBbD/a ammIinWmNaAg== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926854" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926854" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:56 -0700 IronPort-SDR: xiVypGjSbRzFPeYAEYQ20DRYowdsMyvg7QMEiJ7Sif3GTsG8vlmHsMA1N/fd7FIyIOTncs+62Z ZKvv/DXeetgw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298220" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:54 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch 27/28] MdePkg/IoLib: Filter/trace port IO/MMIO access Date: Mon, 15 Mar 2021 11:58:43 +0800 Message-Id: <20210315035844.32756-28-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: 1MrBQ1DZXReOe4WfA60UyYvPx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780815; bh=8eUJVVGrhHLcsbUIhEYK1/vUFHIIStdTtfZW4GE8/vw=; h=Cc:Date:From:Reply-To:Subject:To; b=eZotJp/0mNYxaN50O50jteBUfZKFZOe22BGQIKtoZQ132gl+KarX/H2yK2+At3jhx/r pAtzHddIx1d1xNexU80mtLyokXt3V9SySCM81fR0xal7aGbcRCobYfoVjYYWW2Y6BAors qbtIrLlFhLlWUU8k7oqdL9LP2naEPGalLcM= 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 --- .../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 @@ 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 @@ 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 @@ 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 (#72781): https://edk2.groups.io/g/devel/message/72781 Mute This Topic: https://groups.io/mt/81342001/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 Sun May 5 09:13:09 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+72782+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+72782+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1615780821; cv=none; d=zohomail.com; s=zohoarc; b=fi++7XwWnNA/5Hlods6lQ58qoKAAM0JfBoYdpb9bYL1oLmoQv158tZ4eeo/lF4j8FoZ/Psc8L3Z/bZ3tDv3l6w6fAbZxzzXGkqaxwxMoWG8Rynqc2YB8Ao1LaV/G4vrYVKMJ30IwYrNFQuaYBBDYV5FoyHHxU09YHAtmW+YIJHI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615780821; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=gV2HxGour4QtIJO+ovWyVQQsuMk3a23IZ2gZA+x2wxA=; b=d4WJd0/5yI7g/fa8C51IwQk1kfruv2+fGEN/yNxYSlZNuDtaV2uYCu9lOYd4Cx74dXsd9LRlUi5JwH0At+0dPAwcjFrPNEhgnx2AjJtPKYAdbEP8SB5EpUMb0tEqUN4uS17KU2SdV989M/NkqDrlTJ4LH6zDOEm00d9XjWp94jg= 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+72782+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 161578082125352.14086844583778; Sun, 14 Mar 2021 21:00:21 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id neORYY1788612xbILJpRlFTi; Sun, 14 Mar 2021 21:00:20 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web11.4353.1615780814589881695 for ; Sun, 14 Mar 2021 21:00:15 -0700 IronPort-SDR: f859f8tV44eVawXPfW77eUkNiVYe54ri3VNa+nbxI1kza7ICQnevT5QxROIhppwFw5J7/82dzA Yglpi/8WGkkw== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="208926864" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="208926864" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2021 20:59:57 -0700 IronPort-SDR: I6t9Layk13JqVScqbbl1xfYMnOFPZmZ5CusM4iFyWQyu47PN+dTh1082jdUD/v3qR4ipx+LCKJ gxkjGZ8hphYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="373298226" X-Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 14 Mar 2021 20:59:56 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [patch 28/28] MdePkg/Baseib: Filter/trace MSR access for IA32/X64 Date: Mon, 15 Mar 2021 11:58:44 +0800 Message-Id: <20210315035844.32756-29-dandan.bi@intel.com> In-Reply-To: <20210315035844.32756-1-dandan.bi@intel.com> References: <20210315035844.32756-1-dandan.bi@intel.com> Precedence: Bulk List-Unsubscribe: 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: SsdT2BKOe8NlBIeZ4dzNneHwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1615780820; bh=Wzw0ukcY+/xFX05bBxlruJB/4/5JmoXq+zQg6vuRMmQ=; h=Cc:Date:From:Reply-To:Subject:To; b=voHThuxDPJ4Z3SBG5/8yjk+k/4YopKihfSE+K+QKcRCP/Pdu6FZOZ1aKDjHIksQQ3Cv DN1UtiJNpmt36BG3RTxsR/RvFThoorG41YEe/spZEMNub+0wgDOPuyeIKH4L2CzLyIACN WEuGzuUFjqDeTKgxveMtGMMlcOsKo1HesRQ= 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 --- MdePkg/Library/BaseLib/BaseLib.inf | 5 ++- MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c | 36 ++++++++++++------ MdePkg/Library/BaseLib/Ia32/ReadMsr64.c | 38 +++++++++++++++++-- MdePkg/Library/BaseLib/Ia32/WriteMsr64.c | 22 +++++++---- MdePkg/Library/BaseLib/X64/GccInlinePriv.c | 41 ++++++++++++++------- MdePkg/Library/BaseLib/X64/ReadMsr64.c | 15 +++++++- MdePkg/Library/BaseLib/X64/WriteMsr64.c | 13 ++++++- 7 files changed, 128 insertions(+), 42 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 @@ [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..7e9cd82c94 100644 --- a/MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c +++ b/MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c @@ -8,10 +8,11 @@ =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..7f92da6a0c 100644 --- a/MdePkg/Library/BaseLib/X64/GccInlinePriv.c +++ b/MdePkg/Library/BaseLib/X64/GccInlinePriv.c @@ -8,10 +8,11 @@ =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 (#72782): https://edk2.groups.io/g/devel/message/72782 Mute This Topic: https://groups.io/mt/81342002/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-