Philippe Mathieu-Daudé writes:
> To be able to poke at FIFO content without popping it,
peek/poke are different operations in my head. You peek to read stuff
and poke to change stuff, or at least thats what I did in BASIC back in
the 80s.
Either way I don't think peek and poke are synonyms.
On [2023 May 22] Mon 17:31:35, Philippe Mathieu-Daudé wrote:
> To be able to poke at FIFO content without popping it,
> introduce the fifo8_peek_buf() method by factoring
> common content from fifo8_pop_buf().
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> include/qemu/fifo8.h | 26 ++
To be able to poke at FIFO content without popping it,
introduce the fifo8_peek_buf() method by factoring
common content from fifo8_pop_buf().
Signed-off-by: Philippe Mathieu-Daudé
---
include/qemu/fifo8.h | 26 ++
util/fifo8.c | 22 ++
2 files