From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Stecklina Subject: Re: Mini-OS in dom0 - virtual memory problems Date: Wed, 31 Jan 2007 20:57:06 +0100 Message-ID: References: <45BFBD2A.5060509@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45BFBD2A.5060509@cam.ac.uk> 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 Grzegorz Milos wrote: > Mini-OS assumes that the start of the text section is also the beginning > of virtual address space[1]. However, it is generally bad idea not to > start virtual address space at 4Mb boundary. The easiest way to fix your > problem is to move text to 0xc0000000 or 0xc0400000. More extensive fix, > which decouples VIRT_START from &_text is also possible, but I don't see > a reason why it would be needed. Instead I've included a runtime check. > Keir could you apply the patch? I changed the beginning of text to 0xC0000000 and the page table setup seems to work, as does the rest of Mini-OS (except XenBus of course). Thank you very much! Regards, Julian