diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2024-08-28 13:22:51 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-13 20:11:13 +0200 |
commit | 0b73afec0e0f9230ba6f16a2d667dc214680b4f0 (patch) | |
tree | 30ae78cddc166fc5d30473bc0be2445429b72b4c /python/scripts | |
parent | f9309d965a70c12244c84d034420c036d18691ce (diff) | |
download | qemu-0b73afec0e0f9230ba6f16a2d667dc214680b4f0.zip qemu-0b73afec0e0f9230ba6f16a2d667dc214680b4f0.tar.gz qemu-0b73afec0e0f9230ba6f16a2d667dc214680b4f0.tar.bz2 |
fifo8: introduce head variable for fifo8_peekpop_bufptr()
Rather than operate on fifo->head directly, introduce a new head
variable which is set to the value of fifo->head and use it instead.
This is to allow future adjustment of the head position within the
internal FIFO buffer.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Octavian Purdila <tavip@google.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240828122258.928947-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions