From: Ian Campbell Subject: Re: changes for illumos in public headers Date: Thu, 12 Dec 2013 11:25:04 +0000 Message-ID: <1386847504.11201.4.camel@kazak.uk.xensource.com> References: <9CAE0927-1426-447B-B9D1-21E75B5161EB@gmail.com> <52A997BD.4070806@citrix.com> <5F58D7D2-5083-4BA6-8FCD-A6FDF0D6E582@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5F58D7D2-5083-4BA6-8FCD-A6FDF0D6E582@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Igor Kozhukhov Cc: Andrew Cooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-12-12 at 15:15 +0400, Igor Kozhukhov wrote: > On Dec 12, 2013, at 3:02 PM, Andrew Cooper wrote: > > > On 12/12/2013 09:15, Igor Kozhukhov wrote: > >> Hello All, > >> > >> i'm working on port xen-4.2 to DilOS - illumos based platform. > >> > >> I have a questions about changes in public headers. > >> > >> for build i need changes: > >> > >> diff -r 9640d9c4b223 xen/include/public/arch-x86/xen-x86_32.h > >> --- a/xen/include/public/arch-x86/xen-x86_32.h Tue Dec 10 16:21:57 2013 +0100 > >> +++ b/xen/include/public/arch-x86/xen-x86_32.h Thu Dec 12 13:07:50 2013 +0400 > >> @@ -36,6 +36,19 @@ > >> * Clobbered: Argument registers (e.g., 2-arg hypercall clobbers %ebx,%ecx) > >> */ > >> > >> +#if defined(__sun) > >> +/* > >> + * Direct hypercall interface: > >> + * As above, except the entry sequence to the hypervisor is: > >> + * mov $hypercall-number*32,%eax ; int $0x82 > > > > Have you done substantial hacking to the Xen entry points? If not, this > > comment appears wrong. > > > > Furthermore, why are you not using a hypercall page? > > At this moment i'm using xen-3.4 implementation in illumos based on Sun Xen ports. > I'm learning how to port xen-4.2. The hypercall page support has been present since at least Xen 3.0.4, actually before, but I can't be bothered to search further back than d87addffb118. Ian.