Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Stefano Stabellini
On Fri, 27 Jul 2012, Christopher Covington wrote: > On 07/27/2012 05:19 AM, Ian Campbell wrote: > > On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: > >> Hi Stefano, > >> > >> On 07/26/2012 11:33 AM, Stefano Stabellini wrote: > >>> Use r12 to pass the hypercall number to the hypervis

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Christopher Covington
On 07/27/2012 05:19 AM, Ian Campbell wrote: > On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: >> Hi Stefano, >> >> On 07/26/2012 11:33 AM, Stefano Stabellini wrote: >>> Use r12 to pass the hypercall number to the hypervisor. >>> >>> We need a register to pass the hypercall number be

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-27 Thread Ian Campbell
On Thu, 2012-07-26 at 20:19 +0100, Christopher Covington wrote: > Hi Stefano, > > On 07/26/2012 11:33 AM, Stefano Stabellini wrote: > > Use r12 to pass the hypercall number to the hypervisor. > > > > We need a register to pass the hypercall number because we might not > > know it at compile time

Re: [PATCH 02/24] xen/arm: hypercalls

2012-07-26 Thread Christopher Covington
Hi Stefano, On 07/26/2012 11:33 AM, Stefano Stabellini wrote: > Use r12 to pass the hypercall number to the hypervisor. > > We need a register to pass the hypercall number because we might not > know it at compile time and HVC only takes an immediate argument. You're not going to JIT assemble th