From: Muli Ben-Yehuda Subject: Re: Hypercall number assignment convension (was Re: Re: [PATCH]: kexec: framework and i386) Date: Mon, 24 Apr 2006 14:20:48 +0300 Message-ID: <20060424112048.GC9942@rhun.haifa.ibm.com> References: <20060407074234.GA19846@verge.net.au> <20060417060617.GA20303@verge.net.au> <58C6650A4C9627takebe_akio@jp.fujitsu.com> <200604231545.23238.mark.williamson@cl.cam.ac.uk> <5DC6673BE47612takebe_akio@jp.fujitsu.com> <20060424015307.GA26453%yamahata@valinux.co.jp> <78430b99202d9be921745fea24a8041c@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <78430b99202d9be921745fea24a8041c@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Akio Takebe , Isaku Yamahata , Magnus Damm , Horms , Mark Williamson List-Id: xen-devel@lists.xenproject.org On Mon, Apr 24, 2006 at 08:32:09AM +0100, Keir Fraser wrote: > The list of __HYPERVISOR_* defines in public/xen.h in the main xen > repository is the canonical place. For hypercalls in our tree, simply > grabbing the next number in sequence usually makes sense. I'm not sure > whether having structure to the hypercall numbers makes sense (e.g., a > range for arch-specific usage) -- if so then maybe allocating from 64 > upwards would make sense. Won't having discontigous regions of hcalls break the NR_hypercall masking check? Cheers, Muli