]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VirtioGpuDxe: add VirtioGpuSendCommandWithReply
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 8 Apr 2022 08:23:28 +0000 (10:23 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 25 Apr 2022 21:01:13 +0000 (21:01 +0000)
commitecc79b092ee5ddd02df6a07c4d4c0ed72c219097
tree53cde0a31d5ff24f03c4603cd0188a75bdeffb35
parent483d3bb716bfd1a90fde165a761067c50c482d4e
OvmfPkg/VirtioGpuDxe: add VirtioGpuSendCommandWithReply

Extend VirtioGpuSendCommand() to support commands which return data,
rename the function to VirtioGpuSendCommandWithReply() to indicate that.

Add a new VirtioGpuSendCommand() function which is just a thin wrapper
around VirtioGpuSendCommandWithReply() so existing code continues to
work without changes.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/VirtioGpuDxe/Commands.c