need to explain the code
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)
Signature · 2 lines
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.
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
Quoted 7 lines · James (song wei)
I see the XEN code about "#define
HYPERVISOR_COMPAT_VIRT_START(d)((d)->arch.hv_compat_vstart)" inxen/include/asm-x86/config.hand be puzzled that where did the code allocate a value tohv_compat_vstart? Someone could tell me. thanks in advance!-James (song wei)
Thanks Keir, It's real a bit odd :-)
- James (song wei)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Keir Fraser <[email protected]> 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
Quoted 7 lines · James (song wei)
I see the XEN code about "#define
HYPERVISOR_COMPAT_VIRT_START(d)((d)->arch.hv_compat_vstart)" inxen/include/asm-x86/config.hand be puzzled that where did the code allocate a value tohv_compat_vstart? Someone could tell me. thanks in advance!-James (song wei)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel