summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Virtio10Dxe/Virtio10.inf
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2018-05-04 16:40:52 +0200
committerLaszlo Ersek <lersek@redhat.com>2018-05-24 21:23:18 +0200
commit5685a243b6f85113591f4bac6cb8ecaa1376094e (patch)
treeceedbf75e6f74f94f8e4dd1ab9d06eac03bb3aa7 /OvmfPkg/Virtio10Dxe/Virtio10.inf
parent3815101ff854459e74a18571475c1d9ffee6af91 (diff)
downloadedk2-5685a243b6f85113591f4bac6cb8ecaa1376094e.tar.gz
edk2-5685a243b6f85113591f4bac6cb8ecaa1376094e.tar.bz2
edk2-5685a243b6f85113591f4bac6cb8ecaa1376094e.zip
OvmfPkg/Virtio10Dxe: convert to PciCapLib
Replace the manual capability list parsing in OvmfPkg/Virtio10Dxe with PciCapLib and PciCapPciIoLib API calls. The VIRTIO_PCI_CAP_LINK structure type is now superfluous. (Well, it always has been; we should have used EFI_PCI_CAPABILITY_HDR.) Also, EFI_PCI_CAPABILITY_VENDOR_HDR is now included at the front of VIRTIO_PCI_CAP. No driver other than Virtio10Dxe relies on VIRTIO_PCI_CAP. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'OvmfPkg/Virtio10Dxe/Virtio10.inf')
-rw-r--r--OvmfPkg/Virtio10Dxe/Virtio10.inf2
1 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/Virtio10Dxe/Virtio10.inf b/OvmfPkg/Virtio10Dxe/Virtio10.inf
index c4ef15d94b..db0cb1189a 100644
--- a/OvmfPkg/Virtio10Dxe/Virtio10.inf
+++ b/OvmfPkg/Virtio10Dxe/Virtio10.inf
@@ -32,6 +32,8 @@
BaseMemoryLib
DebugLib
MemoryAllocationLib
+ PciCapLib
+ PciCapPciIoLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib