From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LlNFL-0001WD-Mp for mharc-grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlNFJ-0001US-VU for grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlNFI-0001SA-Hw for grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:44 -0400 Received: from [199.232.76.173] (port=33787 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlNFI-0001S3-CE for grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:44 -0400 Received: from mx20.gnu.org ([199.232.41.8]:51443) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LlNFH-0007ib-UT for grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:44 -0400 Received: from mail.nexedi.com ([91.121.25.85] helo=nexedi.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LlNFH-0006bu-6K for grub-devel@gnu.org; Sun, 22 Mar 2009 08:57:43 -0400 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 22FCE3D9F4 for ; Sun, 22 Mar 2009 13:57:39 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 22 Mar 2009 21:57:33 +0900 User-Agent: KMail/1.9.10 References: <49C63395.9090304@gmail.com> In-Reply-To: <49C63395.9090304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903222157.33568.okuji@enbug.org> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Move loader.c out of the kernel 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: Sun, 22 Mar 2009 12:57:46 -0000 On Sunday 22 March 2009 21:48:21 phcoder wrote: > Hello. Now when boot command isn't in kernel anymore I don't see why > loader.c stays in kernel. Here is the patch to move it to boot.mod This is not useful in reality, because the loader interface needs to be pre-loaded into core.img anyway. Note that the more you split code into modules, the more the size of core.img is, as long as they are all pre-loaded. Regards, Okuji