From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: need to explain the code Date: Thu, 05 Nov 2009 07:58:36 +0000 Message-ID: References: <26208586.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <26208586.post@talk.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "James (song wei)" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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)" 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)