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
..
2013-11-21 08:01:06 -08:00
2014-01-13 14:04:53 +01:00
2013-11-05 19:57:47 -08:00
2013-07-10 13:42:09 -04:00
2013-02-16 11:11:34 +00:00
2013-07-02 08:17:01 +02:00
2014-01-22 12:07:17 +01:00
2014-02-01 13:46:06 +04:00
2013-10-17 17:30:55 +02:00
2013-10-17 17:30:55 +02:00
2013-10-17 17:30:55 +02:00
2014-01-15 23:34:17 +04:00