]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Protocol/VirtioDevice.h
OvmfPkg: VIRTIO_DEVICE_PROTOCOL: remove GetQueueAddress() member
[mirror_edk2.git] / OvmfPkg / Include / Protocol / VirtioDevice.h
index 15750f450cb2497d831c6ce7aa1541029de1298f..f8afa7120a4c68724c2bc453cbbade350b64cf03 100644 (file)
@@ -126,27 +126,6 @@ EFI_STATUS
   IN UINT64                   Features\r
   );\r
 \r
-/**\r
-  Read the queue address field from the Virtio Header.\r
-\r
-  QueueAddress is the address of the virtqueue divided by 4096.\r
-\r
-  @param[in] This                 This instance of VIRTIO_DEVICE_PROTOCOL\r
-\r
-  @param[out] QueueAddress        The 32-bit queue address field.\r
-\r
-  @retval EFI_SUCCESS             The data was read successfully.\r
-  @retval EFI_UNSUPPORTED         The underlying IO device doesn't support the\r
-                                  provided address offset and read size.\r
-  @retval EFI_INVALID_PARAMETER   QueueAddress is NULL\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *VIRTIO_GET_QUEUE_ADDRESS) (\r
-  IN  VIRTIO_DEVICE_PROTOCOL *This,\r
-  OUT UINT32                 *QueueAddress\r
-  );\r
-\r
 /**\r
   Write the queue address field in the Virtio Header.\r
 \r
@@ -356,7 +335,6 @@ struct _VIRTIO_DEVICE_PROTOCOL {
   VIRTIO_GET_DEVICE_FEATURES  GetDeviceFeatures;\r
   VIRTIO_SET_GUEST_FEATURES   SetGuestFeatures;\r
 \r
-  VIRTIO_GET_QUEUE_ADDRESS    GetQueueAddress;\r
   VIRTIO_SET_QUEUE_ADDRESS    SetQueueAddress;\r
 \r
   VIRTIO_SET_QUEUE_SEL        SetQueueSel;\r