From: Marco Gerards Subject: Getting a console on the Intel mac / ioremap Date: Sun, 13 Aug 2006 17:47:35 +0200 Message-ID: <87u04gzlgo.fsf@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, As you might have noticed by now, I am working to get Xen working on the Intel Mac, this is for Google's Summer of Code. I am trying to get Xen booting from EFI now. In order to do some debugging and of course for a proper port, I need to have a console. Currently booting is done from EFI in graphics mode. The chipset is not running in a VGA compatible mode so I can not switch back to text mode using the code in xen/drivers/char/console.c:init_vga. I think this can be solved by switching back to VGA mode by programming some registers on the card. The problem I ran into is that only the first 4 MB (see IOREMAP_MBYTES) is usable when using ioremap(). For example, the videocard I am using does memory mapped IO at 0x90380000, thus above this 4MB. Changing IOREMAP_MBYTES just like that isn't possible either, it seems. What would be the right way to change the way ioremap will work, or is there an alternative way I can use to get access to this IO memory? Thanks, Marco