* need to explain the code
@ 2009-11-05 6:25 James (song wei)
2009-11-05 7:58 ` Keir Fraser
0 siblings, 1 reply; 3+ messages in thread
From: James (song wei) @ 2009-11-05 6:25 UTC (permalink / raw)
To: xen-devel
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)
--
View this message in context: http://old.nabble.com/need-to-explain-the-code-tp26208586p26208586.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need to explain the code
2009-11-05 6:25 need to explain the code James (song wei)
@ 2009-11-05 7:58 ` Keir Fraser
2009-11-05 8:38 ` James Song
0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2009-11-05 7:58 UTC (permalink / raw)
To: James (song wei), xen-devel@lists.xensource.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)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-05 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05 6:25 need to explain the code James (song wei)
2009-11-05 7:58 ` Keir Fraser
2009-11-05 8:38 ` James Song
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.