From: Igor Kozhukhov Subject: Re: changes for illumos in public headers Date: Thu, 12 Dec 2013 15:15:39 +0400 Message-ID: <5F58D7D2-5083-4BA6-8FCD-A6FDF0D6E582@gmail.com> References: <9CAE0927-1426-447B-B9D1-21E75B5161EB@gmail.com> <52A997BD.4070806@citrix.com> Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52A997BD.4070806@citrix.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: Andrew Cooper Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. -Igor > ~Andrew