mbox series

[v2,0/3] util/fifo8: Introduce fifo8_peek_buf()

Message ID 20230705131859.53970-1-philmd@linaro.org
Headers show
Series util/fifo8: Introduce fifo8_peek_buf() | expand

Message

Philippe Mathieu-Daudé July 5, 2023, 1:18 p.m. UTC
Extracted from "hw/char/pl011: Implement TX (async) FIFO":
https://lore.kernel.org/qemu-devel/20230522153144.30610-1-philmd@linaro.org/

All series reviewed.

Philippe Mathieu-Daudé (3):
  util/fifo8: Fix typo in fifo8_push_all() description
  util/fifo8: Allow fifo8_pop_buf() to not populate popped length
  util/fifo8: Introduce fifo8_peek_buf()

 include/qemu/fifo8.h | 39 +++++++++++++++++++++++++++++++++------
 util/fifo8.c         | 28 +++++++++++++++++++++++-----
 2 files changed, 56 insertions(+), 11 deletions(-)