On 22/07/2024 17:07, Philippe Mathieu-Daudé wrote:
Since fifo8_peek_buf() return a const buffer (which points
directly into the FIFO backing store), rename it using the
'constbuf' suffix. This will help differentiate with methods
*copying* the FIFO data.
Perhaps fifo8_peek_bufptr() is a better
On 7/22/24 09:07, Philippe Mathieu-Daudé wrote:
Since fifo8_peek_buf() return a const buffer (which points
directly into the FIFO backing store), rename it using the
'constbuf' suffix. This will help differentiate with methods
*copying* the FIFO data.
Signed-off-by: Philippe Mathieu-Daudé
---
Since fifo8_peek_buf() return a const buffer (which points
directly into the FIFO backing store), rename it using the
'constbuf' suffix. This will help differentiate with methods
*copying* the FIFO data.
Signed-off-by: Philippe Mathieu-Daudé
---
include/qemu/fifo8.h | 4 ++--
hw/scsi/esp.c