Philippe Mathieu-Daudé 995d8348eb util/fifo8: Introduce fifo8_peek_buf()
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231109192814.95977-3-philmd@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2024-01-10 06:58:50 +00:00
..
2023-03-20 12:43:50 +01:00
2023-12-19 19:03:38 +01:00
2023-08-31 19:47:43 +02:00
2023-05-23 15:20:15 +08:00
2023-03-20 12:43:50 +01:00
2024-01-10 06:58:50 +00:00
2023-09-07 20:32:11 -05:00
2023-04-24 11:29:00 +02:00
2023-08-31 19:47:43 +02:00
2023-10-17 15:20:53 +02:00
2023-08-31 19:47:43 +02:00
2023-02-02 11:48:20 +00:00
2023-03-28 15:23:10 -07:00
2023-11-15 12:06:05 +03:00
2023-04-27 16:39:43 +02:00
2023-11-03 09:20:31 +01:00