From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/5] KVM paravirt_ops core infrastructure Date: Mon, 18 Jun 2007 11:03:55 +0300 Message-ID: <46763C6B.9050004@qumranet.com> References: <4675F462.1010708@codemonkey.ws> <4675F4C3.6050700@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4675F4C3.6050700-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Anthony Liguori Cc: kvm-devel , virtualization List-Id: virtualization@lists.linuxfoundation.org Anthony Liguori wrote: > - nr = vcpu->regs[VCPU_REGS_RBX] & -1u; > - a0 = vcpu->regs[VCPU_REGS_RAX] & -1u; > + nr = vcpu->regs[VCPU_REGS_RAX] & -1u; > + a0 = vcpu->regs[VCPU_REGS_RBX] & -1u; > - * Each hypercall may have 0-6 parameters. > - * > - * 64-bit hypercall index is in RAX, goes from 0 to __NR_hypercalls-1 > - * > - * 64-bit parameters 1-6 are in the standard gcc x86_64 calling convention > - * order: RDI, RSI, RDX, RCX, R8, R9. > + * Each hypercall may have 0-4 parameters. > * > - * 32-bit index is EBX, parameters are: EAX, ECX, EDX, ESI, EDI, EBP. > - * (the first 3 are according to the gcc regparm calling convention) > + * 32-bit index is EAX, parameters are: EBX, ECX, EDX, ESI. What's the motivation for these changes? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/