Re: [Xen-devel] [PATCH 01/27 v11] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-10-03 Thread Stefano Stabellini
On Fri, 29 Sep 2017, Stefano Stabellini wrote: > On Fri, 29 Sep 2017, Julien Grall wrote: > > Hi Stefano, > > > > On 09/29/2017 09:10 PM, Stefano Stabellini wrote: > > > On Wed, 27 Sep 2017, Bhupinder Thakur wrote: > > > > DEFINE_XEN_FLEX_RING(xencons) defines common helper functions such as > >

Re: [Xen-devel] [PATCH 01/27 v11] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-09-29 Thread Stefano Stabellini
On Fri, 29 Sep 2017, Julien Grall wrote: > Hi Stefano, > > On 09/29/2017 09:10 PM, Stefano Stabellini wrote: > > On Wed, 27 Sep 2017, Bhupinder Thakur wrote: > > > DEFINE_XEN_FLEX_RING(xencons) defines common helper functions such as > > > xencons_queued() to tell the current size of the ring

Re: [Xen-devel] [PATCH 01/27 v11] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-09-29 Thread Julien Grall
Hi Stefano, On 09/29/2017 09:10 PM, Stefano Stabellini wrote: On Wed, 27 Sep 2017, Bhupinder Thakur wrote: DEFINE_XEN_FLEX_RING(xencons) defines common helper functions such as xencons_queued() to tell the current size of the ring buffer, xencons_mask() to mask off the index, which are useful

Re: [Xen-devel] [PATCH 01/27 v11] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-09-29 Thread Stefano Stabellini
On Wed, 27 Sep 2017, Bhupinder Thakur wrote: > DEFINE_XEN_FLEX_RING(xencons) defines common helper functions such as > xencons_queued() to tell the current size of the ring buffer, > xencons_mask() to mask off the index, which are useful helper functions. > pl011 emulation code will use these

[Xen-devel] [PATCH 01/27 v11] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-09-27 Thread Bhupinder Thakur
DEFINE_XEN_FLEX_RING(xencons) defines common helper functions such as xencons_queued() to tell the current size of the ring buffer, xencons_mask() to mask off the index, which are useful helper functions. pl011 emulation code will use these helper functions. io/console.h includes io/ring.h which