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

[Xen-devel] [PASSTHRU][PATCH] Replace XC_PAGE_MASK with XC_PAGE_SIZE - 1

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PASSTHRU][PATCH] Replace XC_PAGE_MASK with XC_PAGE_SIZE - 1 in pt_iomem_map()
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Tue, 13 Nov 2007 13:17:04 +0800
Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Delivery-date: Mon, 12 Nov 2007 21:17:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcgltG3D2jyLjrqsTRu1PW8cCARbGw==
Thread-topic: [Xen-devel] [PASSTHRU][PATCH] Replace XC_PAGE_MASK with XC_PAGE_SIZE - 1 in pt_iomem_map()
Previos patch replaced magic number 0xFFF with XC_PAGE_MASK, it is not
correct and results in memory mapping failure. It should be XC_PAGE_SIZE
- 1.

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: pagemask.patch
Description: pagemask.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PASSTHRU][PATCH] Replace XC_PAGE_MASK with XC_PAGE_SIZE - 1 in pt_iomem_map(), Han, Weidong <=