Received: from eggs.gnu.org ([140.186.70.92]:49245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql0dW-0000MX-AY for qemu-devel@nongnu.org; Sun, 24 Jul 2011 11:30:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql0dU-0005Sp-SM for qemu-devel@nongnu.org; Sun, 24 Jul 2011 11:30:34 -0400 Received: from gula.weinholt.se ([95.80.32.2]:56342 helo=mail.weinholt.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql0dU-0005SW-5f for qemu-devel@nongnu.org; Sun, 24 Jul 2011 11:30:32 -0400 From: =?utf-8?Q?G=C3=B6ran?= Weinholt References: <87ei1ggf36.fsf@industria.weinholt.se> Date: Sun, 24 Jul 2011 17:29:35 +0200 In-Reply-To: (Alexander Graf's message of "Sun, 24 Jul 2011 15:02:22 +0200") Message-ID: <87aac3hf34.fsf@industria.weinholt.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] [PATCH] multiboot: Fix bss segment support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alexander Graf writes: > On 24.07.2011, at 12:14, G=C3=B6ran Weinholt wrote: > >> Multiboot images can specify a bss segment. The boot loader must clear >> the memory of the bss and ensure that no modules or structures are >> allocated inside it. Several fields are provided in the Multiboot >> header that were previously not used properly. The header is now used >> to determine how much data should be read from the image and how much >> memory should be reserved to the bss segment. > > This patch still doesn't zero the BSS region out, no? Does it work > properly after system_reset? Thank you, that's a good point. The problem could even arise on the first boot, because the buffer that holds the kernel is allocated with qemu_malloc(). I'll send a new version of the patch shortly. Regards, =2D-=20 G=C3=B6ran Weinholt You never give me your money, you only give me your funny paper. -- The Bea= tles --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJOLDpfAAoJEOM+YaLpuMOiyt0P/RFCO8UtdOE4VysMAn+31b3N ASGqyP3kCBJjt4p0xC5QlIO+SexPZR6GCPwwS19/4SnOxR+wsPknwLCqMs1wQ/IC OgpSFwAZEWy0/2vawJq0HqcHsjKW4RZbHruWVNmoLspEs5+mtRX0y2UVh8mfq894 b6nn3ZtF8esyF9u2XW9AuctkkbpkM3Nuj4CCqni31xMFtcqk90bj1AllzyiDaTVE S5JB3cwqaVipMwEjxAMQHRBT/m2Gk96iczkpgdAouJ1vShwBNjblATRxDKScvitU hhnd8RWjoC7KIxFCWKz0SuK5UOA1EQAs0Xo4N9PvJnIPZ81aMk0iMgwiZy3eKz98 xr6MnWHCK/+GxPD2xfe+9Su9G2L5vZyZJLIuDhduuuUi3NdX8BdUm58qE+LfyqtO vET2HJM4dRqRZ33MOQmW7ZqWvnZVsW4WA23DcZX7fRprBhvhJDXExPnRg74n7tgy 0en8oZh13grh4sOLsV97ZBfFecI1SZfayillUatfcogsdTHC3Li1Ua6fedSEhFcQ EbCa0+b6U3GWyBnhAWuC30Z+gb2LKC9DGoWoX3Dy9at8t8YraiHxZCwdBSIRDArZ fmODPDpqhXlSm/gnF9pc2gM07xPntdTTFPdqMbxhreDFj5QNo/zSaUa6KFUAnbnN 7hD9WL728cnPRZQlJQ6a =b6bS -----END PGP SIGNATURE----- --=-=-=--