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] xen_phys_start for 32b

To: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen_phys_start for 32b
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 06 Jan 2009 08:42:47 +0000
Cc:
Delivery-date: Tue, 06 Jan 2009 00:43:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4F65016F6CB04E49BFFA15D4F7B798D92D3E7CA9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclvyQrixVQbl8uESyOiS/TNP5uIqAAEbUEW
Thread-topic: [Xen-devel] xen_phys_start for 32b
User-agent: Microsoft-Entourage/12.15.0.081119
On 06/01/2009 06:36, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote:

> On 64b builds of Xen, xen_phys_start holds the starting (physical) address of
> the hypervisor.  However, on 32b systems it is 0.  While I realize that 32b
> Xen does not relocate the hypervisor, why not set this variable to the start
> of the code (__pa(&_start)) so that it will represent the same thing on all
> builds?

For both i386 and x86/64:
 __pa(&_start) == xen_phys_start + 1ul<<20

xen_phys_start marks the start of the Xen heap, which Xen text and data is
embedded within.

 -- Keir



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