ldlinux: Parse configuration files
authorMatt Fleming <matt.fleming@linux.intel.com>
Tue, 8 Mar 2011 19:25:37 +0000 (19:25 +0000)
committerMatt Fleming <matt.fleming@linux.intel.com>
Wed, 9 Mar 2011 14:32:36 +0000 (14:32 +0000)
commit5c907b4f4fbbe9ee565aa4fdfec6ae9be6d28580
tree37c42fe279e900bb3ec17a5ad4792a160baffcc7
parent5fd19f467ae4e8f5dc7298b56c63f5d9d7569b9d
ldlinux: Parse configuration files

Use the configuration file parser provided by ldlinux to search for
and parse any configuration files. If a kernel or ui module is found
in the configuration file, it is executed once parsing completes.

Parsing and loading kernels is now entirely done in C!

The parser also builds the data structures for later use by the menu
system. Previously, after the asm config parser had parsed the config
file and found a kernel image to boot (or dropped the user at a
command prompt), the menu.c32 module had to open the config file and
re-parse it. Now, we only need to parse the file once.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/ldlinux.c
core/isolinux.asm