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] [PATCH] alloc_{start,end} truncation

To: Gerd Knorr <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] alloc_{start,end} truncation
From: "Scott Parish" <srparish@xxxxxxxxxx>
Date: Mon, 8 Aug 2005 14:44:50 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Scott Parish <srparish@xxxxxxxxxx>
Delivery-date: Mon, 08 Aug 2005 15:59:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87u0i0lh99.fsf@xxxxxxxxxxx>
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>
References: <20050805175257.GB12423@xxxxxxxxxx> <87u0i0lh99.fsf@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Mon, Aug 08, 2005 at 02:56:02PM +0200, Gerd Knorr wrote:

> "Scott Parish" <srparish@xxxxxxxxxx> writes:
>
> But I think even better is to simply drop the ifdef and turn that into
> 
> "#define page_to_phys(page)  ((physaddr_t)(page - frame_table) << PAGE_SHIFT)"

Excellent idea

sRp

-- 
Scott Parish
Signed-off-by: srparish@xxxxxxxxxx

Attachment: dom0-physaddr-2.diff
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>