From: Keir Fraser Subject: Re: PAE, Elf headers, and Extended CR3 registers Date: Sat, 16 Sep 2006 17:04:32 +0100 Message-ID: References: <2A970A72-3E2D-4FAA-9699-949210F6F36E@netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2A970A72-3E2D-4FAA-9699-949210F6F36E@netapp.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Randy Thelen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/9/06 8:40 pm, "Randy Thelen" 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