From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzcPc-00005V-4B for qemu-devel@nongnu.org; Mon, 10 Nov 2008 14:27:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzcPa-000051-23 for qemu-devel@nongnu.org; Mon, 10 Nov 2008 14:26:58 -0500 Received: from [199.232.76.173] (port=36794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzcPZ-00004y-UW for qemu-devel@nongnu.org; Mon, 10 Nov 2008 14:26:57 -0500 Received: from mail.gmx.net ([213.165.64.20]:46624) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KzcPX-0007tY-Sp for qemu-devel@nongnu.org; Mon, 10 Nov 2008 14:26:57 -0500 Message-ID: <02FE818AB4F84FE3B4709B4AF0E7F89D@FSCPC> From: "Sebastian Herbszt" References: <20081103092620.8058.91416.stgit@dhcp-1-237.local> <20081103092640.8058.55798.stgit@dhcp-1-237.local> <20081108075117.GA19237@redhat.com> In-Reply-To: <20081108075117.GA19237@redhat.com> Date: Mon, 10 Nov 2008 20:25:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [Bochs-developers] [PATCH v2 4/6] Execute rombios32 code fromromaddress 0xe0000. 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 Gleb Natapov wrote: > On Sat, Nov 08, 2008 at 12:20:56AM +0100, Sebastian Herbszt wrote: >>> diff --git a/bios/rombios32start.S b/bios/rombios32start.S >>> index 601e2b0..1900261 100644 >>> --- a/bios/rombios32start.S >>> +++ b/bios/rombios32start.S >>> @@ -32,10 +32,17 @@ _start: >>> /* clear bss section */ >>> xor %eax, %eax >>> mov $__bss_start, %edi >>> - mov $_end, %ecx >>> + mov $__bss_end, %ecx >>> sub %edi, %ecx >>> rep stosb >> >> We do overwrite data at 0x700 here. Is this acceptable for S3 resume? >> > First page is reserved for BIOS use. I might have missed something, but Ralf Brown's MEMORY MAP Release 61 says "MEM 0070h:0000h - DOS 2+ IO.SYS LOAD ADDRESS". Which specification do you refer to? - Sebastian