Hi Gerd,
So, what I understand that is I can move the
Fdt16550SerialPortHookLib into OvmfPkg?
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