All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: "James (song wei)" <jsong@novell.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: need to explain the code
Date: Thu, 05 Nov 2009 07:58:36 +0000	[thread overview]
Message-ID: <C718362C.193CB%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <26208586.post@talk.nabble.com>

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@novell.com> 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)

  reply	other threads:[~2009-11-05  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05  6:25 need to explain the code James (song wei)
2009-11-05  7:58 ` Keir Fraser [this message]
2009-11-05  8:38   ` James Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C718362C.193CB%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=jsong@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.