Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-14 Thread Ni, Ruiyu
On 10/12/2018 11:33 PM, Ard Biesheuvel wrote: On 12 October 2018 at 17:06, Sami Mujawar wrote: Hi Ard, I believe you are referring to MdeModulePkg\Library\BaseSerialPortLib16550\BaseSerialPortLib16550.inf I have tried using this Serial Port Library. However, this has a dependency on PciLib

Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-12 Thread Ard Biesheuvel
On 12 October 2018 at 17:06, Sami Mujawar wrote: > Hi Ard, > > I believe you are referring to > MdeModulePkg\Library\BaseSerialPortLib16550\BaseSerialPortLib16550.inf > I have tried using this Serial Port Library. However, this has a dependency > on PciLib which is difficult to resolve as we

Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-12 Thread Kinney, Michael D
l-boun...@lists.01.org] > On Behalf Of Sami Mujawar > Sent: Friday, October 12, 2018 8:06 AM > To: Ard Biesheuvel > Cc: Ni, Ruiyu ; nd ; > Stephanie Hughes-Fitt ; > edk2-devel@lists.01.org > Subject: Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add > MMIO Support to SerialIo L

Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-12 Thread Sami Mujawar
Hi Ard, I believe you are referring to MdeModulePkg\Library\BaseSerialPortLib16550\BaseSerialPortLib16550.inf I have tried using this Serial Port Library. However, this has a dependency on PciLib which is difficult to resolve as we use the Serial port early in the boot. Please do let me know

Re: [edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-12 Thread Ard Biesheuvel
On 12 October 2018 at 16:40, Sami Mujawar wrote: > Some virtual machine managers like kvmtool emulate the PC AT > Serial Port UART in the MMIO space so that architectures that > do not support I/O Mapped I/O can use the UART. > > This patch adds MMIO support to the PC AT SerialPortLib. > >

[edk2] [PATCH v1 1/6] PcAtChipsetPkg: Add MMIO Support to SerialIo Lib

2018-10-12 Thread Sami Mujawar
Some virtual machine managers like kvmtool emulate the PC AT Serial Port UART in the MMIO space so that architectures that do not support I/O Mapped I/O can use the UART. This patch adds MMIO support to the PC AT SerialPortLib. PcdSerialUseMmio is used to select I/O or MMIO support. If