mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg
Move the FdtSerialPortAddressLib to Ovmfpkg so that other ARCH can easily use it. Build-tested only (with "ArmVirtQemu.dsc and OvmfPkgX64.dsc"). BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584 Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
5a3788bfca
commit
0cca97e0a8
|
@ -122,7 +122,7 @@
|
||||||
# ARM PL011 UART Driver
|
# ARM PL011 UART Driver
|
||||||
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
|
||||||
SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
|
SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
|
||||||
FdtSerialPortAddressLib|ArmVirtPkg/Library/FdtSerialPortAddressLib/FdtSerialPortAddressLib.inf
|
FdtSerialPortAddressLib|OvmfPkg/Library/FdtSerialPortAddressLib/FdtSerialPortAddressLib.inf
|
||||||
|
|
||||||
PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
||||||
#PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
#PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h
|
ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h
|
||||||
FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h
|
|
||||||
|
|
||||||
[Guids.common]
|
[Guids.common]
|
||||||
gArmVirtTokenSpaceGuid = { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }
|
gArmVirtTokenSpaceGuid = { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
FdtSerialPortAddressLib.c
|
FdtSerialPortAddressLib.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
ArmVirtPkg/ArmVirtPkg.dec
|
|
||||||
EmbeddedPkg/EmbeddedPkg.dec
|
EmbeddedPkg/EmbeddedPkg.dec
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
OvmfPkg/OvmfPkg.dec
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
BaseLib
|
BaseLib
|
|
@ -29,6 +29,10 @@
|
||||||
## @libraryclass Verify blobs read from the VMM
|
## @libraryclass Verify blobs read from the VMM
|
||||||
BlobVerifierLib|Include/Library/BlobVerifierLib.h
|
BlobVerifierLib|Include/Library/BlobVerifierLib.h
|
||||||
|
|
||||||
|
## @libraryclass FdtSerialPortAddressLib
|
||||||
|
#
|
||||||
|
FdtSerialPortAddressLib|Include/Library/FdtSerialPortAddressLib.h
|
||||||
|
|
||||||
## @libraryclass Loads and boots a Linux kernel image
|
## @libraryclass Loads and boots a Linux kernel image
|
||||||
#
|
#
|
||||||
LoadLinuxLib|Include/Library/LoadLinuxLib.h
|
LoadLinuxLib|Include/Library/LoadLinuxLib.h
|
||||||
|
|
Loading…
Reference in New Issue