From: "Jan Beulich" Subject: Re: PAE is_guest_l2_slot() Date: Tue, 12 Sep 2006 15:30:12 +0100 Message-ID: <4506E094.76E4.0078.0@novell.com> References: <4506D993.76E4.0078.0@novell.com> <4506C362.10403@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4506C362.10403@suse.de> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Gerd Hoffmann 12.09.06 16:25 >>> >Jan Beulich wrote: >> Could anyone help me understand what the meaning of the hardcoded 3 in that >> macro is? > >xen address space window is in l2 table #3 (of 4) ... That's why I pointed out that the mask is 11 bits (not 2) - what you say would mean that the constant should be 0x600 (the top 11 bits of such a va), and comparison should be >= rather than ==. Jan