Can someone let me know what exactly the array "hypercall_page " contains?
Are they function pointers?
How do I know which functions are going to be called when a HYPERVISOR_xxx
For instance, when the following asm code is to be executed:
define _hypercall3(type, sched_op, a1, a2, a3) \
long __res, __ign1, __ign2, __ign3; \
asm volatile ( \
"call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\
: "=a" (__res), "=b" (__ign1), "=c" (__ign2), \
"=d" (__ign3) \
: "1" ((long)(a1)), "2" ((long)(a2)), \
"3" ((long)(a3)) \
: "memory" ); \
The #define for __HYPERVISOR_sched_op is 6
how do I find out which subroutine is the "call" going to call?
The above asm code is present in /arch/xen/kernel/hypercall.h
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Xen-devel mailing list