summary refs log tree commit diff stats
path: root/hw/virtio/virtio-net-pci.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-22 13:27:53 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-23 22:34:54 +0200
commit23ad5711730f994d66520a3283aac2979d89389e (patch)
tree1370a75038d2e2b2baf65a9473440a434423738a /hw/virtio/virtio-net-pci.c
parent06252bf5122f047ed5c14fb75f3167f11b882352 (diff)
downloadfocaccia-qemu-23ad5711730f994d66520a3283aac2979d89389e.tar.gz
focaccia-qemu-23ad5711730f994d66520a3283aac2979d89389e.zip
util/fifo8: Expose fifo8_pop_buf()
Extract fifo8_pop_buf() from hw/scsi/esp.c and expose
it as part of the <qemu/fifo8.h> API. This function takes
care of non-contiguous (wrapped) FIFO buffer (which is an
implementation detail).

Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-7-philmd@linaro.org>
Diffstat (limited to 'hw/virtio/virtio-net-pci.c')
0 files changed, 0 insertions, 0 deletions