Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Milos-0004QU-8I for mharc-grub-devel@gnu.org; Wed, 02 Sep 2009 05:07:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Milop-0004QP-FC for grub-devel@gnu.org; Wed, 02 Sep 2009 05:07:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Milol-0004Q9-2R for grub-devel@gnu.org; Wed, 02 Sep 2009 05:07:54 -0400 Received: from [199.232.76.173] (port=37403 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Milok-0004Q6-OZ for grub-devel@gnu.org; Wed, 02 Sep 2009 05:07:50 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:36235) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Milok-0002WB-77 for grub-devel@gnu.org; Wed, 02 Sep 2009 05:07:50 -0400 Received: by fxm26 with SMTP id 26so767396fxm.42 for ; Wed, 02 Sep 2009 02:07:49 -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=7LAMSYElKrwcE+ZxYdiE8vwSWIhHPrK8vxc9t7TkDiQ=; b=xXE/2p2/D1jWAaOVR2D8q7dOUgFm/Bu9E8dSOU3sW/qHAK3MkibFsCCA2N6b+h/w3b db6+p3oA9uLyTtq3oodXP+e0eMqWLHC2gObr3pra8TzSl6kEqdJMIQXQXxzt2k5EPqFU R1lflFQf1ba/n0Fvv+gVn3kdqWfaWD3fDBTe0= 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=By4LF8eSEg6MtEdYKmOEaakOSSOwP/N5FgApT90teusLJFZbvDdK9tjyfPet7/6u0W VEdA9b76ZICTyqjt9Xw8IgFCh+u/3MMJh9LEgRREa8kdR7B7OYD3DTv4TP+6Z4mzOAZR FMsWjqgGpVcPR/lpZWsPTCuofFuE5y6V79oUA= MIME-Version: 1.0 Received: by 10.204.154.198 with SMTP id p6mr6527956bkw.131.1251882469218; Wed, 02 Sep 2009 02:07:49 -0700 (PDT) In-Reply-To: References: <20090818175751.GA8971@thorin> <20090823120116.GP4130@thorin> Date: Wed, 2 Sep 2009 11:07:49 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Module autoloading? 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: Wed, 02 Sep 2009 09:07:56 -0000 On Wed, Sep 2, 2009 at 7:04 AM, Seth Goldberg wrote: > Hi, > > =A0Has the idea come up of having a file that maps commands to module nam= es > along with the required code to autoload the corresponding module(s) when > the corresponding commands are used (something like: Actually it's already implemented. Look a commands.lst and normal/dyncmd.c > > : =A0.mod [, .mod ...] > > i.e.: > > multiboot: =A0 =A0 =A0multiboot.mod > linux: =A0 =A0 =A0 =A0 =A0linux.mod > ... > \ > > > (Obviously, we could also have the convention of trying to load > .mod, but having an explicit mapping would remove the overhe= ad > of trying to find a module that doesn't exist, and loading multiple modul= es > may not be needed as well). > > =A0--S > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git