|
From: | Richard Henderson |
Subject: | Re: [PATCH-for-8.2 v4 02/10] util/fifo8: Introduce fifo8_peek_buf() |
Date: | Thu, 9 Nov 2023 15:15:04 -0800 |
User-agent: | Mozilla Thunderbird |
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 <frasse.iglesias@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> --- include/qemu/fifo8.h | 27 +++++++++++++++++++++++++++ util/fifo8.c | 22 ++++++++++++++++++---- 2 files changed, 45 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |