]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/IndustryStandard/Virtio10.h
OvmfPkg/Virtio10Dxe: convert to PciCapLib
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / Virtio10.h
index c5efb5cfcb8a298f86c3c06a8942886f50ce96e0..7d51aa36b326939e1f27a3ef80a67aadf842b56f 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef _VIRTIO_1_0_H_\r
 #define _VIRTIO_1_0_H_\r
 \r
+#include <IndustryStandard/Pci23.h>\r
 #include <IndustryStandard/Virtio095.h>\r
 \r
 //\r
 //\r
 #pragma pack (1)\r
 typedef struct {\r
-  UINT8 CapId;   // Capability identifier (generic)\r
-  UINT8 CapNext; // Link to next capability (generic)\r
-} VIRTIO_PCI_CAP_LINK;\r
-\r
-typedef struct {\r
+  EFI_PCI_CAPABILITY_VENDOR_HDR VendorHdr;\r
   UINT8  ConfigType; // Identifies the specific VirtIo 1.0 config structure\r
   UINT8  Bar;        // The BAR that contains the structure\r
   UINT8  Padding[3];\r