Hi Gerd,

So, what I understand that is I can move the Fdt16550SerialPortHookLib into OvmfPkg?


Thanks,
Chao
在 2023/10/16 15:47, Gerd Hoffmann 写道:
On Mon, Oct 16, 2023 at 10:58:29AM +0800, Chao Li wrote:
Hi Ard,

I'm porting the LoongArch virt-machine to edk2. LoongArch virt-machine uses
Fdt16550SerialPortHookLib to handle the UartBase, and the
gEarly16550UartBaseAddressGuid is defined in ArmVirtPkg.dec.

I think this library can be used in other Arch, like RISC-V LoongArch and so
on, so can we feasibility this library into OvmfPkg?
Yes, OvmfPkg is the home for virtualization-related packages.  We moved
libs from ArmVirtPkg to OvmfPkg before so risc-v can easily share them.

take care,
  Gerd





_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#109623) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_