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 /module-common.c | |
parent | 06252bf5122f047ed5c14fb75f3167f11b882352 (diff) | |
download | qemu-23ad5711730f994d66520a3283aac2979d89389e.zip qemu-23ad5711730f994d66520a3283aac2979d89389e.tar.gz qemu-23ad5711730f994d66520a3283aac2979d89389e.tar.bz2 |
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 'module-common.c')
0 files changed, 0 insertions, 0 deletions