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] Using mini-os ioremap()

To: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>
Subject: Re: [Xen-devel] Using mini-os ioremap()
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Thu, 6 Jan 2011 18:19:21 +0100
Cc: Rolf Neugebauer <rolf.neugebauer@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 06 Jan 2011 09:19:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D25F514.3010502@xxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Rolf Neugebauer <rolf.neugebauer@xxxxxxxxxxxxx>
References: <4D24C587.6060907@xxxxxxxxxx> <20110105225552.GI4618@xxxxxxxxxxxxxxxxxxxxxxxxx> <4D25F514.3010502@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Matthew Fioravante, le Thu 06 Jan 2011 12:00:04 -0500, a écrit :
>  My box doesn't have more than 4GB. I've tried this on 32 bit and 64 bit.

How much does it have? Could you post the memory map recorded in xm
dmesg?

> I tried nuking the mfn_is_ram check. When I do that the call returns a 
> virtual memory address but when I try to read and write to it, it 
> appears to act just like a normal page of memory and not the device.

Mmm... I wonder how that can be possible if your address is really an IO
area.

> Does anyone know offhand of a mini-os project that either tested the 
> ioremap() call or actually does some memory mapped io operations?

It was implemeted by Rolf Neugebauer <rolf.neugebauer@xxxxxxxxxxxxx>,
Cc-ed.

Samuel

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

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