qemu/include
Beniamino Galvani c4e57af852 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>
2014-02-08 14:50:48 +00:00
..
block qemu-iotests: Test pwritev RMW logic 2014-01-24 17:40:25 +01:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec migration/next for 20140204 2014-02-08 13:12:50 +00:00
fpu softfloat: Add support for ties-away rounding 2014-01-08 19:07:22 +00:00
hw arm_gic: Add GICC_APRn state to the GICState 2014-02-08 14:50:48 +00:00
migration vmstate: Add uint32 2D-array support 2014-02-08 14:50:48 +00:00
monitor readline: move readline to a generic location 2014-01-22 12:07:17 +01:00
net net: disallow to specify multicast MAC address 2013-11-08 17:32:34 +01:00
qapi qdict: Add qdict_array_split() 2014-01-22 12:07:17 +01:00
qemu util/fifo8: implement push/pop of multiple bytes 2014-02-08 14:50:48 +00:00
qom add optional 2nd stage initialization to -object/object-add commands 2014-01-28 12:47:02 -05:00
sysemu virtio_rng: replace custom backend API with UserCreatable.complete() callback 2014-01-28 12:47:11 -05:00
ui include: add missing config-host.h include 2013-12-16 10:12:20 +01:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h tcg-s390: Use qemu_getauxval in query_facilities 2013-11-30 07:45:30 +13:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h qmp: add interface blockdev-snapshot-delete-internal-sync 2013-09-12 10:12:47 +02:00
qemu-io.h qemu-io: add command completion 2014-01-22 12:07:17 +01:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00