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] /dev/mem and /dev/kmem

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] /dev/mem and /dev/kmem
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 21 Mar 2007 16:15:51 +0800
Delivery-date: Wed, 21 Mar 2007 01:15:00 -0700
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: AcdrkSOYgXV9tRVkQniyC1DivAnLKA==
Thread-topic: /dev/mem and /dev/kmem
Based on different interfaces used by /dev/mem and /dev/kmem 
(direct_remap_pfn_range for former, and remap_pfn_range for the 
latter), could I think that /dev/mem is the interface for dom0 to map 
machine memory directly, while /dev/kmem is still geared to dom0's 
own memory? If yes, then I may understand how Xserver can map 
VGABIOS and why DOMID_IO is used for /dev/mem... :-)

Thanks,
Kevin

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

<Prev in Thread] Current Thread [Next in Thread>