Skip to content

Commit

Permalink
OvmfPkg: Copy the same new INF as QemuFwCfgLibMmio.inf
Browse files Browse the repository at this point in the history
Copy QemuFwCfgLibMmio.inf to QemuFwCfgMmioDxeLib.inf,
QemuFwCfgLibMmio.inf will be deleted when all platforms switching is
completed.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4755

Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Chao Li <[email protected]>
  • Loading branch information
kilaterlee authored and mergify[bot] committed Apr 30, 2024
1 parent fcce7f7 commit 3d87214
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioDxeLib.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
## @file
#
# Stateful, implicitly initialized fw_cfg library.
#
# Copyright (C) 2013 - 2014, Red Hat, Inc.
# Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
INF_VERSION = 0x00010005
BASE_NAME = QemuFwCfgLib
FILE_GUID = B271F41F-B841-48A9-BA8D-545B4BC2E2BF
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = QemuFwCfgLib|DXE_DRIVER UEFI_DRIVER

CONSTRUCTOR = QemuFwCfgInitialize

#
# The following information is for reference only and not required by the build
# tools.
#
# VALID_ARCHITECTURES = ARM AARCH64 RISCV64 LOONGARCH64
#

[Sources]
QemuFwCfgLibMmio.c
QemuFwCfgMmioDxe.c

[Packages]
MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
EmbeddedPkg/EmbeddedPkg.dec

[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
HobLib
IoLib
UefiBootServicesTableLib

[Protocols]
gFdtClientProtocolGuid ## CONSUMES

[Guids]
gQemuFirmwareResourceHobGuid

[Depex]
gFdtClientProtocolGuid

0 comments on commit 3d87214

Please sign in to comment.