WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] need to explain the code

To: "James (song wei)" <jsong@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] need to explain the code
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 05 Nov 2009 07:58:36 +0000
Cc:
Delivery-date: Wed, 04 Nov 2009 23:59:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <26208586.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpd4MyvrKatgFZxTTmG/SON1FsCEAADPpFY
Thread-topic: [Xen-devel] need to explain the code
User-agent: Microsoft-Entourage/12.20.0.090605
It gets assigned tro via that macro. I.e.,
HYPERVISOR_COMPAT_VIRT_START(d) = ...
Which is a bit odd. :-) You can grep for that, and find it in
arch/x86/domain.c and arch/x86/domain_build.c.

 -- Keir

On 05/11/2009 06:25, "James (song wei)" <jsong@xxxxxxxxxx> wrote:

> 
> I see the XEN code about "#define HYPERVISOR_COMPAT_VIRT_START(d)
> ((d)->arch.hv_compat_vstart)" in xen/include/asm-x86/config.h and be puzzled
> that where did the code allocate a value to hv_compat_vstart?
> Someone could tell me. thanks in advance!
> 
> -James (song wei)



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>