On 11/9/23 11:28, Philippe Mathieu-Daudé wrote:
To be able to peek at FIFO content without popping it,
introduce the fifo8_peek_buf() method by factoring
common content from fifo8_pop_buf().

Reviewed-by: Francisco Iglesias <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
---
  include/qemu/fifo8.h | 27 +++++++++++++++++++++++++++
  util/fifo8.c         | 22 ++++++++++++++++++----
  2 files changed, 45 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to