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] PAE, Elf headers, and Extended CR3 registers

To: Randy Thelen <rthelen@xxxxxxxxxx>
Subject: Re: [Xen-devel] PAE, Elf headers, and Extended CR3 registers
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 16 Sep 2006 17:04:32 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 16 Sep 2006 09:14:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2A970A72-3E2D-4FAA-9699-949210F6F36E@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbZqcvjCrX46UWdEduRKQANk04WTA==
Thread-topic: [Xen-devel] PAE, Elf headers, and Extended CR3 registers
User-agent: Microsoft-Entourage/11.2.5.060620
On 15/9/06 8:40 pm, "Randy Thelen" <rthelen@xxxxxxxxxx> wrote:

> My concern had been that 'extended CR3' implied hardware support for
> a 64 bit CR3 register.  Instead it means that I shouldn't really care
> if the mfn of my Page Table Directory Pointer is above 4GB, Xen will
> handle the condition for me.  And, the way I'll decode the mfn, if
> necessary (which I would agree should be rare), would be with those
> macros.

Yes, that's correct. You *must* decode/encode any CR3 value passed to/from
Xen using those macros or you simply will not work properly on >4GB systems.
Luckily, as I pointed out for Linux, this will probably only be an issue you
come across when initialising secondary VCPUs.

 -- Keir



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