X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FInclude%2FProtocol%2FVirtioDevice.h;h=f8afa7120a4c68724c2bc453cbbade350b64cf03;hp=15750f450cb2497d831c6ce7aa1541029de1298f;hb=235be6a0f197d6c103615ae2bf7b329ece890da1;hpb=bc8fde6f62fd038e709b4981babda0f7c7ba8418 diff --git a/OvmfPkg/Include/Protocol/VirtioDevice.h b/OvmfPkg/Include/Protocol/VirtioDevice.h index 15750f450c..f8afa7120a 100644 --- a/OvmfPkg/Include/Protocol/VirtioDevice.h +++ b/OvmfPkg/Include/Protocol/VirtioDevice.h @@ -126,27 +126,6 @@ EFI_STATUS IN UINT64 Features ); -/** - Read the queue address field from the Virtio Header. - - QueueAddress is the address of the virtqueue divided by 4096. - - @param[in] This This instance of VIRTIO_DEVICE_PROTOCOL - - @param[out] QueueAddress The 32-bit queue address field. - - @retval EFI_SUCCESS The data was read successfully. - @retval EFI_UNSUPPORTED The underlying IO device doesn't support the - provided address offset and read size. - @retval EFI_INVALID_PARAMETER QueueAddress is NULL -**/ -typedef -EFI_STATUS -(EFIAPI *VIRTIO_GET_QUEUE_ADDRESS) ( - IN VIRTIO_DEVICE_PROTOCOL *This, - OUT UINT32 *QueueAddress - ); - /** Write the queue address field in the Virtio Header. @@ -356,7 +335,6 @@ struct _VIRTIO_DEVICE_PROTOCOL { VIRTIO_GET_DEVICE_FEATURES GetDeviceFeatures; VIRTIO_SET_GUEST_FEATURES SetGuestFeatures; - VIRTIO_GET_QUEUE_ADDRESS GetQueueAddress; VIRTIO_SET_QUEUE_ADDRESS SetQueueAddress; VIRTIO_SET_QUEUE_SEL SetQueueSel;