OvmfPkg: 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: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Dandan Bi 2021-03-12 13:28:57 +08:00 committed by mergify[bot]
parent d04b47962d
commit d4ab7201f2
6 changed files with 24 additions and 6 deletions

View File

@ -3,7 +3,7 @@
# virtual machine remote attestation and secret injection # virtual machine remote attestation and secret injection
# #
# Copyright (c) 2020 James Bottomley, IBM Corporation. # Copyright (c) 2020 James Bottomley, IBM Corporation.
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# #
# SPDX-License-Identifier: BSD-2-Clause-Patent # SPDX-License-Identifier: BSD-2-Clause-Patent
@ -114,6 +114,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf

View File

@ -1,6 +1,6 @@
# #
# Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com> # Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) 2014, Pluribus Networks, Inc. # Copyright (c) 2014, Pluribus Networks, Inc.
# #
@ -114,6 +114,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf

View File

@ -1,7 +1,7 @@
## @file ## @file
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
# #
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) Microsoft Corporation. # Copyright (c) Microsoft Corporation.
# #
@ -118,6 +118,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf

View File

@ -1,7 +1,7 @@
## @file ## @file
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
# #
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) Microsoft Corporation. # Copyright (c) Microsoft Corporation.
# #
@ -122,6 +122,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf

View File

@ -1,7 +1,7 @@
## @file ## @file
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
# #
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) Microsoft Corporation. # Copyright (c) Microsoft Corporation.
# #
@ -122,6 +122,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf

View File

@ -1,7 +1,7 @@
## @file ## @file
# EFI/Framework Open Virtual Machine Firmware (OVMF) platform # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
# #
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
# Copyright (c) 2019, Citrix Systems, Inc. # Copyright (c) 2019, Citrix Systems, Inc.
# Copyright (c) Microsoft Corporation. # Copyright (c) Microsoft Corporation.
@ -112,6 +112,9 @@
# Library Class section - list of all Library Classes needed by this Platform. # Library Class section - list of all Library Classes needed by this Platform.
# #
################################################################################ ################################################################################
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses] [LibraryClasses]
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf