WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Where is hypercall_page?

To: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: Re: [Xen-devel] Where is hypercall_page?
From: Daniel Stodden <stodden@xxxxxxxxxx>
Date: Mon, 07 Jul 2008 02:16:58 -0700
Cc: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 07 Jul 2008 02:17:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50807070143l99c8fbs590c2655773a654@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fakultät für Informatik I10, Technische Universität München
References: <fdaac4d50807070143l99c8fbs590c2655773a654@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2008-07-07 at 17:43 +0900, Jun Koi wrote:
> 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?

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

-- 
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:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



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

<Prev in Thread] Current Thread [Next in Thread>