From: Daniel Stodden Subject: Re: Where is hypercall_page? Date: Mon, 07 Jul 2008 02:16:58 -0700 Message-ID: <1215422218.22922.42.camel@thinkpad.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jun Koi Cc: "List: Xen Developers" List-Id: xen-devel@lists.xenproject.org On Mon, 2008-07-07 at 17:43 +0900, Jun Koi wrote: > Hi, >=20 > 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: >=20 > extern char hypercall_page[PAGE_SIZE]; >=20 > 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 --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B