All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

* Re: need to explain the code
  2009-11-05  7:58 ` Keir Fraser
@ 2009-11-05  8:38   ` James Song
  0 siblings, 0 replies; 3+ messages in thread
From: James Song @ 2009-11-05  8:38 UTC (permalink / raw)
  To: Keir Fraser, xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 694 bytes --]

Thanks Keir, It's real a bit odd :-)
 
- James (song wei)
>>> Keir Fraser <keir.fraser@eu.citrix.com> 2009-11-5 15:58 >>>
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)



[-- Attachment #1.2: Type: text/html, Size: 1041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ 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.