Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LoKVn-0007wN-6P for mharc-grub-devel@gnu.org; Mon, 30 Mar 2009 12:38:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoKVj-0007vz-Qp for grub-devel@gnu.org; Mon, 30 Mar 2009 12:38:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoKVe-0007t8-Ro for grub-devel@gnu.org; Mon, 30 Mar 2009 12:38:55 -0400 Received: from [199.232.76.173] (port=51624 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoKVe-0007t5-NK for grub-devel@gnu.org; Mon, 30 Mar 2009 12:38:50 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:38713) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoKVe-0000yb-8G for grub-devel@gnu.org; Mon, 30 Mar 2009 12:38:50 -0400 Received: by ti-out-0910.google.com with SMTP id y8so1407785tia.10 for ; Mon, 30 Mar 2009 09:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=q8HEHZ1Ryb6UfDdUWIPPNmJsyxd9FKVBpkdzYHaSlvM=; b=Iwytd9Yj9HcQ2bY5BogbE58Oem+VIwmT7SBPcU3U9+tyaaBXdqX0dm+J86kQi0s7dN Az+I2uZRFP9XEzrA7CbTGCTf+A/URgGDz0nap+o00f7+PLwGClTIC2BHRoHd95xFkEFd neBh3CGJmtCgBVb3E2122/lYcYNSoyJ58rvSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UvPg3HoSwmocxAhnpMXc0SJqqmxXoHe2bgFEcYtnaprAO0HFtFgMFebQSpSij0s5yc om9eM3kowCIsRuUobsWDIfN/DTFak9EyPysnHd4zQ1VhlRABA4g068gHOBJqOzDSzDj/ 7MBaB8uAUll4nzGWvjf0G2nKme5PsSZQCpGLg= MIME-Version: 1.0 Received: by 10.110.40.8 with SMTP id n8mr8724517tin.28.1238431128617; Mon, 30 Mar 2009 09:38:48 -0700 (PDT) In-Reply-To: <200903310122.07638.okuji@enbug.org> References: <200903292029.26967.okuji@enbug.org> <49CFDC60.3060706@gmail.com> <200903310122.07638.okuji@enbug.org> Date: Tue, 31 Mar 2009 00:38:48 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Split of the normal mode 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: Mon, 30 Mar 2009 16:38:55 -0000 On Tue, Mar 31, 2009 at 12:22 AM, Yoshinori K. Okuji wrote: > On Tuesday 31 March 2009 00:43:01 Bean wrote: >> Hi, >> >> I see the main objection here is about too many new modules, and the >> use of script to configure boot process. > > I don't object to the latter any longer. Did you read my message? Hi, Oh sorry, I just saw your reply. It works for me, but perhaps we could split it a little bit more: normal.mod sh.mod textmenu.mod menu.mod misc.mod setjmp.mod menu.mod is for generic menu function, like menu_viewer registration, etc. misc.mod for misc function. For example, the function to read a line from file can be useful in other places, completion is used by menu viewers, etc. Also combine with old crc and hexdump in lib directory. setjmp.mod is for setjmp function. Now normal.mod don't need to use setjmp anymore. setjmp is platform dependent. By moving it out, we can include normal.mod in common.rmk. -- Bean