public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib
@ 2021-03-22  8:20 Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 01/35] Drivers/ASIX: " Dandan Bi
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel
  Cc: Andrew Fish, Laszlo Ersek, Leif Lindholm, Michael D Kinney,
	Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246
RFC: https://edk2.groups.io/g/devel/message/72530
edk2 change: https://edk2.groups.io/g/devel/message/73071

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

--
V2:
Update Platform dsc to consume the MdeLibs.dsc.inc.

Cc: Andrew Fish <afish@apple.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Dandan Bi (35):
  Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/PowerManagement: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/SystemInformation: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/AMD: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/ARM: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/BeagleBoard: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/BoardModulePkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/MinPlatformPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/QuarkPlatformPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Platform/Vlv2TbltDevicePkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Platform/LeMaker: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Qemu: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/Socionext: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Platform/SoftIron: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/Hisilicon: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/CoffeelakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/KabylakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/QuarkSocPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/TigerlakeSiliconPkg: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/Marvell: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/NXP: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/Openmoko: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
  Silicon/Synopsys/DesignWare: Consume MdeLibs.dsc.inc for
    RegisterFilterLib
  Silicon/TexasInstruments: Consume MdeLibs.dsc.inc for
    RegisterFilterLib

 Drivers/ASIX/Asix.dsc                                         | 2 ++
 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc         | 2 ++
 Drivers/OptionRomPkg/OptionRomPkg.dsc                         | 4 +++-
 .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc          | 4 +++-
 .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc          | 4 +++-
 .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc  | 4 +++-
 .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc          | 4 +++-
 .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc      | 4 +++-
 .../IpmiFeaturePkg/Include/IpmiFeature.dsc                    | 4 +++-
 .../SpcrFeaturePkg/Include/SpcrFeature.dsc                    | 4 +++-
 .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc  | 4 +++-
 .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc                | 4 +++-
 .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc      | 4 +++-
 .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc            | 4 +++-
 .../Include/VirtualKeyboardFeature.dsc                        | 4 +++-
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc                | 2 ++
 Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc                  | 2 ++
 Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc                  | 2 ++
 Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc        | 4 +++-
 Platform/Intel/BoardModulePkg/BoardModulePkg.dsc              | 4 +++-
 Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc   | 4 +++-
 Platform/Intel/QuarkPlatformPkg/Quark.dsc                     | 2 ++
 Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc                  | 2 ++
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc          | 4 +++-
 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc           | 4 +++-
 Platform/LeMaker/CelloBoard/CelloBoard.dsc                    | 2 ++
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc                           | 2 ++
 Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc              | 2 ++
 Platform/RaspberryPi/RPi3/RPi3.dsc                            | 4 +++-
 Platform/RaspberryPi/RPi4/RPi4.dsc                            | 4 +++-
 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc    | 2 ++
 .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc      | 2 ++
 Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc          | 2 ++
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc  | 2 ++
 Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc   | 2 ++
 Silicon/Hisilicon/Hisilicon.dsc.inc                           | 2 ++
 Silicon/Intel/CoffeelakeSiliconPkg/CoffeelakeSiliconPkg.dsc   | 2 ++
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc             | 4 +++-
 Silicon/Intel/KabylakeSiliconPkg/KabylakeSiliconPkg.dsc       | 4 +++-
 Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc                     | 4 +++-
 Silicon/Intel/TigerlakeSiliconPkg/TigerlakeSiliconPkg.dsc     | 2 ++
 Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc                 | 2 ++
 Silicon/NXP/NxpQoriqLs.dsc.inc                                | 2 ++
 Silicon/Openmoko/Openmoko.dsc                                 | 2 ++
 Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc             | 2 ++
 Silicon/Synopsys/DesignWare/DesignWare.dsc                    | 2 ++
 Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc          | 2 ++
 47 files changed, 117 insertions(+), 23 deletions(-)

-- 
2.18.0.windows.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 01/35] Drivers/ASIX: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 02/35] Drivers/DisplayLink: " Dandan Bi
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Samer El-Haj-Mahmoud, Ray Ni

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Drivers/ASIX/Asix.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Drivers/ASIX/Asix.dsc b/Drivers/ASIX/Asix.dsc
index 5e02e11760..f6a0d56e33 100644
--- a/Drivers/ASIX/Asix.dsc
+++ b/Drivers/ASIX/Asix.dsc
@@ -25,10 +25,12 @@ [Defines]
 #
 # Library Class section - list of all Library Classes needed by this Platform.
 #
 ################################################################################
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 02/35] Drivers/DisplayLink: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 01/35] Drivers/ASIX: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: " Dandan Bi
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Ard Biesheuvel, Andy Hayes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Andy Hayes <andy.hayes@displaylink.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
index 955331ba60..5c9f6b934e 100644
--- a/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
+++ b/Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc
@@ -15,10 +15,12 @@ [Defines]
   SUPPORTED_ARCHITECTURES        = X64|IA32|AARCH64|ARM
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT
 
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 01/35] Drivers/ASIX: " Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 02/35] Drivers/DisplayLink: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-25 23:31   ` Ni, Ray
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 04/35] Features/Debugging: " Dandan Bi
                   ` (9 subsequent siblings)
  12 siblings, 1 reply; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Ray Ni

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Drivers/OptionRomPkg/OptionRomPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Drivers/OptionRomPkg/OptionRomPkg.dsc b/Drivers/OptionRomPkg/OptionRomPkg.dsc
index 8a13cc54e6..d6bd88b58e 100644
--- a/Drivers/OptionRomPkg/OptionRomPkg.dsc
+++ b/Drivers/OptionRomPkg/OptionRomPkg.dsc
@@ -4,11 +4,11 @@
 # This package is designed to interoperate with the EDK II open source project
 # at http://www.tianocore.org, and this package is required to build PCI compliant
 # Option ROM image for all CPU architectures, including EBC target.
 # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.
 #
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 # Copyright (c) 2020, ARM Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -37,10 +37,12 @@ [Defines]
 ################################################################################
 [SkuIds]
   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
 
 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf  
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 04/35] Features/Debugging: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (2 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 05/35] Features/Network: " Dandan Bi
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Eric Dong, Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc          | 4 +++-
 .../BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc          | 4 +++-
 .../PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc  | 4 +++-
 .../Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc          | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc b/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
index 3e6b1f69c2..c49cd796e9 100644
--- a/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
+++ b/Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/AcpiDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
diff --git a/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc b/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
index 65e00b5979..6949dedc0e 100644
--- a/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
+++ b/Features/Intel/Debugging/BeepDebugFeaturePkg/Include/BeepDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -42,10 +42,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
diff --git a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
index 2852b9cf7c..0fdd1dfb23 100644
--- a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
+++ b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Include/PostCodeDebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -42,10 +42,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
diff --git a/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc b/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
index 95adb01a74..4e0278f8b3 100644
--- a/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
+++ b/Features/Intel/Debugging/Usb3DebugFeaturePkg/Include/Usb3DebugFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 05/35] Features/Network: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (3 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 04/35] Features/Debugging: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 06/35] Features/OutOfBandManagement: " Dandan Bi
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../Network/NetworkFeaturePkg/Include/NetworkFeature.dsc      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc b/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
index c59c21ee6c..11a1593e13 100644
--- a/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
+++ b/Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -44,10 +44,12 @@ [LibraryClasses]
   !include NetworkPkg/NetworkLibs.dsc.inc
 
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 06/35] Features/OutOfBandManagement: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (4 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 05/35] Features/Network: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 07/35] Features/PowerManagement: " Dandan Bi
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../IpmiFeaturePkg/Include/IpmiFeature.dsc                    | 4 +++-
 .../SpcrFeaturePkg/Include/SpcrFeature.dsc                    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
index a82f18a68c..70904b7cf8 100644
--- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
+++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   IpmiLib|MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
diff --git a/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc b/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
index 89ef648f31..732848ec35 100644
--- a/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
+++ b/Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/SpcrFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 07/35] Features/PowerManagement: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (5 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 06/35] Features/OutOfBandManagement: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 08/35] Features/SystemInformation: " Dandan Bi
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc b/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
index 647dc3f93a..65e30174b8 100644
--- a/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
+++ b/Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
   PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 08/35] Features/SystemInformation: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (6 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 07/35] Features/PowerManagement: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 09/35] Features/UserInterface: " Dandan Bi
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../SmbiosFeaturePkg/Include/SmbiosFeature.dsc                | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc b/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
index a59fdf3702..677f62054f 100644
--- a/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
+++ b/Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/SmbiosFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [edk2-platforms] [patch V2 09/35] Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
                   ` (7 preceding siblings ...)
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 08/35] Features/SystemInformation: " Dandan Bi
@ 2021-03-22  8:20 ` Dandan Bi
       [not found] ` <20210322082040.14104-21-dandan.bi@intel.com>
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: Dandan Bi @ 2021-03-22  8:20 UTC (permalink / raw)
  To: devel; +Cc: Liming Gao

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 .../UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc      | 4 +++-
 .../UserAuthFeaturePkg/Include/UserAuthFeature.dsc            | 4 +++-
 .../Include/VirtualKeyboardFeature.dsc                        | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc b/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
index d2dcdeb36a..2e8b0f0693 100644
--- a/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
+++ b/Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
diff --git a/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc b/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
index 7d784f4dff..6c2d8eb8ec 100644
--- a/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
+++ b/Features/Intel/UserInterface/UserAuthFeaturePkg/Include/UserAuthFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
diff --git a/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc b/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
index c10fb2d567..c6b9d287b7 100644
--- a/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
+++ b/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc
@@ -4,11 +4,11 @@
 #
 # The DEC files are used by the utilities that parse DSC and
 # INF files to generate AutoGen.c and AutoGen.h files
 # for the build infrastructure.
 #
-# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2020 - 2021, Intel Corporation. All rights reserved.<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
 
@@ -32,10 +32,12 @@ [Defines]
 ################################################################################
 [LibraryClasses]
   #######################################
   # Edk2 Packages
   #######################################
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
-- 
2.18.0.windows.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [edk2-platforms] [patch V2 20/35] Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib
       [not found] ` <20210322082040.14104-21-dandan.bi@intel.com>
@ 2021-03-23  2:18   ` Abner Chang
  0 siblings, 0 replies; 15+ messages in thread
From: Abner Chang @ 2021-03-23  2:18 UTC (permalink / raw)
  To: Dandan Bi, devel@edk2.groups.io; +Cc: Schaefer, Daniel, Chen, Gilbert

We can remove the indent (as Laszlo mentioned) to make all changes in consistent.
All other changes on RISC-V are the same. Thanks

Reviewed-by: Abner Chang <abner.chang@hpe.com>

> -----Original Message-----
> From: Dandan Bi [mailto:dandan.bi@intel.com]
> Sent: Monday, March 22, 2021 4:20 PM
> To: devel@edk2.groups.io
> Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>;
> Schaefer, Daniel <daniel.schaefer@hpe.com>; Chen, Gilbert
> <gilbert.chen@hpe.com>
> Subject: [edk2-platforms] [patch V2 20/35] Platform/RISC-V: Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: INVALID URI REMOVED
> 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid-
> 3D3246&d=DwIBAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulks
> kz6qU3NYRO03nHp9P7Z5q59A3E&m=Us0bEx6-
> rMuxeAV21PFz3igajFEdNSWCnZ3L5n-wUv8&s=O-PHg5t3PRykzhU-
> mwLPjR5EyFarY4iRfUiz8oBOxjo&e=
> 
> MdeLibs.dsc.inc was added for some basic/default library
> instances provided by MdePkg and RegisterFilterLibNull Library
> was also added into it as the first version of MdeLibs.dsc.inc.
> 
> So update platform dsc to consume MdeLibs.dsc.inc for
> RegisterFilterLibNull which will be consumed by IoLib and BaseLib.
> 
> Cc: Abner Chang <abner.chang@hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
> Cc: Gilbert Chen <gilbert.chen@hpe.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
>  Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> index 092717d2ef..78a737317f 100644
> --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> @@ -35,10 +35,12 @@ [BuildOptions]
> 
> ##########################################################
> ######################
>  [SkuIds]
>    0|DEFAULT
> 
>  [LibraryClasses.common]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    RiscVOpensbiPlatformLib|Platform/RISC-
> V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf
>    RiscVCpuLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
>    RiscVEdk2SbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
>    RiscVOpensbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> --
> 2.18.0.windows.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-platforms] [patch V2 21/35] Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib
       [not found] ` <20210322082040.14104-22-dandan.bi@intel.com>
@ 2021-03-23  2:18   ` Abner Chang
  0 siblings, 0 replies; 15+ messages in thread
From: Abner Chang @ 2021-03-23  2:18 UTC (permalink / raw)
  To: Dandan Bi, devel@edk2.groups.io; +Cc: Schaefer, Daniel, Chen, Gilbert

Reviewed-by: Abner Chang <abner.chang@hpe.com>

> -----Original Message-----
> From: Dandan Bi [mailto:dandan.bi@intel.com]
> Sent: Monday, March 22, 2021 4:20 PM
> To: devel@edk2.groups.io
> Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>;
> Schaefer, Daniel <daniel.schaefer@hpe.com>; Chen, Gilbert
> <gilbert.chen@hpe.com>
> Subject: [edk2-platforms] [patch V2 21/35] Platform/SiFive: Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: INVALID URI REMOVED
> 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid-
> 3D3246&d=DwIBAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulks
> kz6qU3NYRO03nHp9P7Z5q59A3E&m=jv-
> Sqmyi65KaeOTmUoxighDAOojpy7Rj3pwxnxyDd6c&s=kgiJelzEkQHidZiKxNnU
> VzaI7MW1iDi0KSAbbkEs2Hk&e=
> 
> MdeLibs.dsc.inc was added for some basic/default library
> instances provided by MdePkg and RegisterFilterLibNull Library
> was also added into it as the first version of MdeLibs.dsc.inc.
> 
> So update platform dsc to consume MdeLibs.dsc.inc for
> RegisterFilterLibNull which will be consumed by IoLib and BaseLib.
> 
> Cc: Abner Chang <abner.chang@hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
> Cc: Gilbert Chen <gilbert.chen@hpe.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
>  Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc      | 2 ++
>  .../SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> index 2d652d215f..8e66d82863 100644
> --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
> @@ -59,10 +59,12 @@ [SkuIds]
>  #
>  # Library Class section - list of all Library Classes needed by this Platform.
>  #
> 
> ##########################################################
> ######################
>  [LibraryClasses]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>    BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
>    SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> diff --git
> a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d
> sc
> b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.
> dsc
> index 9f60475189..bce0c21501 100644
> ---
> a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d
> sc
> +++
> b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.
> dsc
> @@ -59,10 +59,12 @@ [SkuIds]
>  #
>  # Library Class section - list of all Library Classes needed by this Platform.
>  #
> 
> ##########################################################
> ######################
>  [LibraryClasses]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
>    BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
>    SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> --
> 2.18.0.windows.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-platforms] [patch V2 33/35] Silicon/RISC_V: Consume MdeLibs.dsc.inc for RegisterFilterLib
       [not found] ` <20210322082040.14104-34-dandan.bi@intel.com>
@ 2021-03-23  2:18   ` Abner Chang
  0 siblings, 0 replies; 15+ messages in thread
From: Abner Chang @ 2021-03-23  2:18 UTC (permalink / raw)
  To: Dandan Bi, devel@edk2.groups.io; +Cc: Schaefer, Daniel, Chen, Gilbert

Reviewed-by: Abner Chang <abner.chang@hpe.com>

> -----Original Message-----
> From: Dandan Bi [mailto:dandan.bi@intel.com]
> Sent: Monday, March 22, 2021 4:21 PM
> To: devel@edk2.groups.io
> Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>;
> Schaefer, Daniel <daniel.schaefer@hpe.com>; Chen, Gilbert
> <gilbert.chen@hpe.com>
> Subject: [edk2-platforms] [patch V2 33/35] Silicon/RISC_V: Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: INVALID URI REMOVED
> 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid-
> 3D3246&d=DwIBAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulks
> kz6qU3NYRO03nHp9P7Z5q59A3E&m=h9ydZB2YbOPN5OCbey0EPnA6wC4jwR
> oWiqqOOcuvwbQ&s=rsby2VGTzapy_xwQCHVcGgFe4HZdGKVYRed3LQSIUU
> U&e=
> 
> MdeLibs.dsc.inc was added for some basic/default library
> instances provided by MdePkg and RegisterFilterLibNull Library
> was also added into it as the first version of MdeLibs.dsc.inc.
> 
> So update platform dsc to consume MdeLibs.dsc.inc for
> RegisterFilterLibNull which will be consumed by IoLib and BaseLib.
> 
> Cc: Abner Chang <abner.chang@hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
> Cc: Gilbert Chen <gilbert.chen@hpe.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
>  Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
> b/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
> index 5f88f5e89f..3bdb394cb4 100644
> --- a/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
> +++ b/Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dsc
> @@ -35,10 +35,12 @@ [BuildOptions]
> 
> ##########################################################
> ######################
>  [SkuIds]
>    0|DEFAULT
> 
>  [LibraryClasses.common]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    CpuExceptionHandlerLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVExceptionLib/CpuExceptionHandlerDxeLib.inf
>    RiscVCpuLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
>    RiscVEdk2SbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
>    RiscVOpensbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
>    TimerLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVTimerLib/BaseRiscVTimerLib.inf
> --
> 2.18.0.windows.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [edk2-platforms] [patch V2 26/35] Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
       [not found] ` <20210322082040.14104-27-dandan.bi@intel.com>
@ 2021-03-25 23:31   ` Ni, Ray
  0 siblings, 0 replies; 15+ messages in thread
From: Ni, Ray @ 2021-03-25 23:31 UTC (permalink / raw)
  To: Bi, Dandan, devel@edk2.groups.io; +Cc: Chaganty, Rangasai V

[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]

Reviewed-by: ray.ni@intel.com<mailto:ray.ni@intel.com>

thanks,
ray
________________________________
From: Bi, Dandan <dandan.bi@intel.com>
Sent: Monday, March 22, 2021 4:20:31 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Ni, Ray <ray.ni@intel.com>; Chaganty, Rangasai V <rangasai.v.chaganty@intel.com>
Subject: [edk2-platforms] [patch V2 26/35] Silicon/IntelSiliconPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
index 6dff68f681..62e405e1d5 100644
--- a/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
+++ b/Silicon/Intel/IntelSiliconPkg/IntelSiliconPkg.dsc
@@ -1,9 +1,9 @@
 ## @file
 # This package provides common open source Intel silicon modules.
 #
-# Copyright (c) 2017 - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) Microsoft Corporation.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 ##
@@ -17,10 +17,12 @@ [Defines]
   SUPPORTED_ARCHITECTURES        = IA32|X64
   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
   SKUID_IDENTIFIER               = DEFAULT

 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
--
2.18.0.windows.1


[-- Attachment #2: Type: text/html, Size: 3897 bytes --]

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
  2021-03-22  8:20 ` [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: " Dandan Bi
@ 2021-03-25 23:31   ` Ni, Ray
  0 siblings, 0 replies; 15+ messages in thread
From: Ni, Ray @ 2021-03-25 23:31 UTC (permalink / raw)
  To: Bi, Dandan, devel@edk2.groups.io

[-- Attachment #1: Type: text/plain, Size: 2450 bytes --]

Reviewed-by: ray.ni@intel.com<mailto:ray.ni@intel.com>

thanks,
ray
________________________________
From: Bi, Dandan <dandan.bi@intel.com>
Sent: Monday, March 22, 2021 4:20:08 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Ni, Ray <ray.ni@intel.com>
Subject: [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: Consume MdeLibs.dsc.inc for RegisterFilterLib

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
 Drivers/OptionRomPkg/OptionRomPkg.dsc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Drivers/OptionRomPkg/OptionRomPkg.dsc b/Drivers/OptionRomPkg/OptionRomPkg.dsc
index 8a13cc54e6..d6bd88b58e 100644
--- a/Drivers/OptionRomPkg/OptionRomPkg.dsc
+++ b/Drivers/OptionRomPkg/OptionRomPkg.dsc
@@ -4,11 +4,11 @@
 # This package is designed to interoperate with the EDK II open source project
 # at http://www.tianocore.org, and this package is required to build PCI compliant
 # Option ROM image for all CPU architectures, including EBC target.
 # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.
 #
-# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
 # Copyright (c) 2020, ARM Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -37,10 +37,12 @@ [Defines]
 ################################################################################
 [SkuIds]
   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.

 [LibraryClasses]
+  !include MdePkg/MdeLibs.dsc.inc
+
   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
--
2.18.0.windows.1


[-- Attachment #2: Type: text/html, Size: 3951 bytes --]

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-03-25 23:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22  8:20 [edk2-platforms] [patch V2 00/35] Consume MdeLibs.dsc.inc for RegisterFilterLib Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 01/35] Drivers/ASIX: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 02/35] Drivers/DisplayLink: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 03/35] Drivers/OptionRomPkg: " Dandan Bi
2021-03-25 23:31   ` Ni, Ray
2021-03-22  8:20 ` [edk2-platforms] [patch V2 04/35] Features/Debugging: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 05/35] Features/Network: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 06/35] Features/OutOfBandManagement: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 07/35] Features/PowerManagement: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 08/35] Features/SystemInformation: " Dandan Bi
2021-03-22  8:20 ` [edk2-platforms] [patch V2 09/35] Features/UserInterface: " Dandan Bi
     [not found] ` <20210322082040.14104-21-dandan.bi@intel.com>
2021-03-23  2:18   ` [edk2-platforms] [patch V2 20/35] Platform/RISC-V: " Abner Chang
     [not found] ` <20210322082040.14104-22-dandan.bi@intel.com>
2021-03-23  2:18   ` [edk2-platforms] [patch V2 21/35] Platform/SiFive: " Abner Chang
     [not found] ` <20210322082040.14104-34-dandan.bi@intel.com>
2021-03-23  2:18   ` [edk2-platforms] [patch V2 33/35] Silicon/RISC_V: " Abner Chang
     [not found] ` <20210322082040.14104-27-dandan.bi@intel.com>
2021-03-25 23:31   ` [edk2-platforms] [patch V2 26/35] Silicon/IntelSiliconPkg: " Ni, Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox