diff options
author | Beniamino Galvani | 2014-01-30 23:02:04 +0100 |
---|---|---|
committer | Peter Maydell | 2014-02-08 15:50:48 +0100 |
commit | c4e57af85272f98c28ccaaace040d2abb0ec85c4 (patch) | |
tree | 938aac8abdac098c0fe345eabae33c033894ceb2 /hw | |
parent | disas: Implement disassembly output for A64 (diff) | |
download | qemu-c4e57af85272f98c28ccaaace040d2abb0ec85c4.tar.gz qemu-c4e57af85272f98c28ccaaace040d2abb0ec85c4.tar.xz qemu-c4e57af85272f98c28ccaaace040d2abb0ec85c4.zip |
util/fifo8: implement push/pop of multiple bytes
The patch adds functions fifo8_push_all() and fifo8_pop_buf() which
can be used respectively to push the content of a memory buffer to the
fifo and to pop multiple bytes obtaining a pointer to the fifo backing
buffer.
In addition, it implements fifo8_num_free() and fifo8_num_used() which
allow to check if a multi-byte operation can be performed.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions