Where is hypercall_page?
Hi,
I am looking to see where "hypercall_page" is declared in Linux kernel. However, I only found the extern prototype of it in arch/i386/kernel/setup-xen.c:
extern char hypercall_page[PAGE_SIZE];
So I am wondering where this "hypercall_page" variable is actually declared. Any pointer?
Many thanks,
Jun
Hi Jun,
hypercall_page is declared in arch/{i386,x86_64}/kernel/head-xen.S
For i386, this takes the form:
ENTRY(hypercall_page)
While on x86_64, it looks like:
NEXT_PAGE(hypercall_page)
Regards,
Derek Murray.
Quoted 19 lines · Jun Koi
Hi,
I am looking to see where "
hypercall_page" is declared in Linux kernel. However, I only found the extern prototype of it inarch/i386/kernel/setup-xen.c:extern char hypercall_page[PAGE_SIZE];
So I am wondering where this "
hypercall_page" variable is actually declared. Any pointer?Many thanks,
Jun_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines · Jun Koi
Hi,
I am looking to see where "
hypercall_page" is declared in Linux kernel. However, I only found the extern prototype of it inarch/i386/kernel/setup-xen.c:extern char hypercall_page[PAGE_SIZE];
So I am wondering where this "
hypercall_page" variable is actually declared. Any pointer?
Only the space is reserved by guests. Never forget to grep assembly files as well.
Contents are built by Xen. Usually during domain build, or when requested by an MSR. The latter is probabily for PV drivers in HVM domains. See the traps.c files for reference.
Best,
Daniel
Signature · 5 lines
Daniel Stodden LRR - Lehrstuhl für Rechnertechnik und Rechnerorganisation Institut für Informatik der TU München D-85748 Garching http://www.lrr.in.tum.de/~stodden mailto:[email protected] PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B