From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GYlWL-0003WZ-A3 for mharc-grub-devel@gnu.org; Sat, 14 Oct 2006 11:33:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYlWI-0003UA-TC for grub-devel@gnu.org; Sat, 14 Oct 2006 11:33:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYlWE-0003R0-WE for grub-devel@gnu.org; Sat, 14 Oct 2006 11:33:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYlWE-0003Ql-Dy for grub-devel@gnu.org; Sat, 14 Oct 2006 11:33:46 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYlev-0007Gd-EX for grub-devel@gnu.org; Sat, 14 Oct 2006 11:42:45 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id E1C523CC5156F for ; Sat, 14 Oct 2006 20:05:17 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id BBD763CC5156E for ; Sat, 14 Oct 2006 20:05:17 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 14 Oct 2006 17:33:44 +0200 User-Agent: KMail/1.8.2 References: <1160779061.21017.75.camel@basalt.austin.ibm.com> In-Reply-To: <1160779061.21017.75.camel@basalt.austin.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610141733.44320.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.448555, version=0.17.2 Subject: Re: [PATCH] generic ELF loading X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 15:33:52 -0000 On Saturday 14 October 2006 00:37, Hollis Blanchard wrote: > This patch adds generic ELF loading infrastructure for both 32-bit and > 64-bit ELF. It provides an "iterate" function for program headers, and a > "load" function for convenience. The idea is very good. But I don't like that loaded areas are always allocated from the heap. GRUB has a staging area for OS images on i386-pc, and I prefer to load an image directly instead of consuming the heap. Thanks, Okuji