Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyFko-0001mk-SS for qemu-devel@nongnu.org; Thu, 06 Nov 2008 20:03:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyFko-0001mN-3H for qemu-devel@nongnu.org; Thu, 06 Nov 2008 20:03:14 -0500 Received: from [199.232.76.173] (port=54188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyFkn-0001m4-Pq for qemu-devel@nongnu.org; Thu, 06 Nov 2008 20:03:13 -0500 Received: from imta-38.everyone.net ([216.200.145.38]:52629 helo=omta0101.mta.everyone.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyFAk-0001un-2t for qemu-devel@nongnu.org; Thu, 06 Nov 2008 19:25:58 -0500 Date: Thu, 6 Nov 2008 19:25:52 -0500 From: Kevin O'Connor Message-ID: <20081107002552.GA31207@morn.localdomain> References: <20081103092620.8058.91416.stgit@dhcp-1-237.local> <20081103092646.8058.1107.stgit@dhcp-1-237.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081103092646.8058.1107.stgit@dhcp-1-237.local> Subject: [Qemu-devel] Re: [Bochs-developers] [PATCH v2 5/6] Don't use unreserved memory in BIOS. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: bochs-developers@lists.sourceforge.net, qemu-devel@nongnu.org On Mon, Nov 03, 2008 at 11:26:46AM +0200, Gleb Natapov wrote: > Use only first page and last page of low memory. OSes assumes that first > page is used by bios and last page is reserved in e820 map. [...] > ;; init the stack pointer > - mov esp, #0x00080000 > + mov esp, #0x9fbf0 Random note - I'm told that some option roms can relocate the EBDA. Setting the stack in the EBDA area will prevent that from working. I'm not sure if this is really a problem though - a relocated EBDA would likely break bochs bios today. Something to be aware of though. -Kevin