diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-22 13:27:53 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-23 22:34:54 +0200 |
| commit | 23ad5711730f994d66520a3283aac2979d89389e (patch) | |
| tree | 1370a75038d2e2b2baf65a9473440a434423738a /hw/vfio/helpers.c | |
| parent | 06252bf5122f047ed5c14fb75f3167f11b882352 (diff) | |
| download | focaccia-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/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions