|
From: | Seth Goldberg |
Subject: | Module autoloading? |
Date: | Tue, 01 Sep 2009 22:04:49 -0700 (PDT) |
User-agent: | Alpine 2.00 (GSO 1167 2008-08-23) |
Hi,Has the idea come up of having a file that maps commands to module names along with the required code to autoload the corresponding module(s) when the corresponding commands are used (something like:
<commandname>: <modulename>.mod [, <modulename>.mod ...] i.e.: multiboot: multiboot.mod linux: linux.mod ... \(Obviously, we could also have the convention of trying to load <commandname>.mod, but having an explicit mapping would remove the overhead of trying to find a module that doesn't exist, and loading multiple modules may not be needed as well).
--S
[Prev in Thread] | Current Thread | [Next in Thread] |