From: Keir Fraser Subject: Re: PATCH: console.c: use ioremap instead of __va to map video memory Date: Mon, 24 Apr 2006 08:28:16 +0100 Message-ID: References: <200604141437.22342.Tristan.Gingold@bull.net> <20060414144610.GP10412@granada.merseine.nu> <91a13822bf745def349861a374696d0c@cl.cam.ac.uk> <20060424070105.GA25175@granada.merseine.nu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060424070105.GA25175@granada.merseine.nu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 24 Apr 2006, at 08:01, Muli Ben-Yehuda wrote: >> No, it got removed as it wasn't used, but it can easily be added back. >> It's particularly easy since we probably don't need iounmap(). > > Hmm, looking at the hg logs, it looks like ioremap() was added for > x86-64 with the current __va() implementation. Can you please point me > at the old version? If you want the old ioremap(), see for example changeset 1452, and look for xen/arch/i386/ioremap.c. That implementation would still work even for x86/64 -- the bit that directly changes page tables should actually call map_pages_to_xen(). -- Keir