On Wed, Jan 29, 2014 at 4:48 AM, Beniamino Galvani wrote:
> On Tue, Jan 28, 2014 at 10:43:28AM +, Peter Maydell wrote:
>> On 28 January 2014 00:04, Peter Crosthwaite
>> wrote:
>> > On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell
>> > wrote:
>> >>> void fifo8_reset(Fifo8 *fifo)
>> >>> {
>>
On Tue, Jan 28, 2014 at 10:43:28AM +, Peter Maydell wrote:
> On 28 January 2014 00:04, Peter Crosthwaite
> wrote:
> > On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell
> > wrote:
> >>> void fifo8_reset(Fifo8 *fifo)
> >>> {
> >>> fifo->num = 0;
> >>> +fifo->head = 0;
> >>
> >> This is
On Tue, Jan 28, 2014 at 10:04:09AM +1000, Peter Crosthwaite wrote:
> On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell
> wrote:
> > On 26 January 2014 21:39, Beniamino Galvani wrote:
> >> In some circumstances it is useful to be able to push the entire
> >> content of a memory buffer to the fifo or
On 28 January 2014 00:04, Peter Crosthwaite
wrote:
> On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell
> wrote:
>>> void fifo8_reset(Fifo8 *fifo)
>>> {
>>> fifo->num = 0;
>>> +fifo->head = 0;
>>
>> This is a bug fix, right? It should go in its own patch.
>>
>
> No bug - where the ring bu
On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell wrote:
> On 26 January 2014 21:39, Beniamino Galvani wrote:
>> In some circumstances it is useful to be able to push the entire
>> content of a memory buffer to the fifo or to pop multiple bytes with a
>> single operation.
>>
>> The functions fifo8_h
On 26 January 2014 21:39, Beniamino Galvani wrote:
> In some circumstances it is useful to be able to push the entire
> content of a memory buffer to the fifo or to pop multiple bytes with a
> single operation.
>
> The functions fifo8_has_space() and fifo8_push_all() added by this
> patch allow to
In some circumstances it is useful to be able to push the entire
content of a memory buffer to the fifo or to pop multiple bytes with a
single operation.
The functions fifo8_has_space() and fifo8_push_all() added by this
patch allow to perform the first kind of operation efficiently.
The function