Re: [edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-24 Thread Laszlo Ersek
On 05/24/18 16:54, Ard Biesheuvel wrote: > On 24 May 2018 at 16:50, Laszlo Ersek wrote: >> On 05/24/18 10:13, Ard Biesheuvel wrote: >>> On 23 May 2018 at 22:21, Laszlo Ersek wrote: Add a library class, and a UEFI_DRIVER lib instance, that are layered on

Re: [edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-24 Thread Ard Biesheuvel
On 24 May 2018 at 16:54, Ard Biesheuvel wrote: > On 24 May 2018 at 16:50, Laszlo Ersek wrote: >> On 05/24/18 10:13, Ard Biesheuvel wrote: >>> On 23 May 2018 at 22:21, Laszlo Ersek wrote: Add a library class, and a UEFI_DRIVER

Re: [edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-24 Thread Ard Biesheuvel
On 24 May 2018 at 16:50, Laszlo Ersek wrote: > On 05/24/18 10:13, Ard Biesheuvel wrote: >> On 23 May 2018 at 22:21, Laszlo Ersek wrote: >>> Add a library class, and a UEFI_DRIVER lib instance, that are layered on >>> top of PciCapLib, and allow clients to

Re: [edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-24 Thread Laszlo Ersek
On 05/24/18 10:13, Ard Biesheuvel wrote: > On 23 May 2018 at 22:21, Laszlo Ersek wrote: >> Add a library class, and a UEFI_DRIVER lib instance, that are layered on >> top of PciCapLib, and allow clients to plug an EFI_PCI_IO_PROTOCOL backend >> into PciCapLib, for config space

Re: [edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-24 Thread Ard Biesheuvel
On 23 May 2018 at 22:21, Laszlo Ersek wrote: > Add a library class, and a UEFI_DRIVER lib instance, that are layered on > top of PciCapLib, and allow clients to plug an EFI_PCI_IO_PROTOCOL backend > into PciCapLib, for config space access. > > (Side note: > Again, please

[edk2] [PATCH v2 3/7] OvmfPkg: introduce PciCapPciIoLib

2018-05-23 Thread Laszlo Ersek
Add a library class, and a UEFI_DRIVER lib instance, that are layered on top of PciCapLib, and allow clients to plug an EFI_PCI_IO_PROTOCOL backend into PciCapLib, for config space access. (Side note: Although the UEFI spec says that EFI_PCI_IO_PROTOCOL_CONFIG() returns EFI_UNSUPPORTED if "[t]he