summaryrefslogtreecommitdiff
path: root/com32/modules/linux.c
Commit message (Collapse)AuthorAgeFilesLines
* linux.c32: add missing break;syslinux-4.06-pre10H. Peter Anvin2012-06-291-0/+1
| | | | | | Add missing break; for ENOMEM. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* linux.c32: allow loading arbitrary setup_data blobsH. Peter Anvin2012-06-291-12/+36
| | | | | | | | | Allow loading arbitrary setup_data blobs via the syntax blob.NN=filename where NN is a decimal number. This also allows loading multiple device tree blobs. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* linux.c32: add support for a device tree blob (dtb)H. Peter Anvin2012-06-291-2/+25
| | | | | | | | | | | Based on a patch by Thierry Reding, add support for loading a device tree blob using the generic setup_data framework. I used the name dtb= instead of fdt= since it looks like dtb= is the common acronym for the filenames and what is used in the kernel. Originally-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Change fdt-specific loader into a generic setup_data loaderH. Peter Anvin2012-06-291-1/+1
| | | | | | | Make it a generic setup_data loader keyed by type. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Thierry Reding <thierry.reding@avionic-design.de>
* linux.c32: Make errors clearer for usersGene Cumm2012-06-091-7/+34
| | | | Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* Run Nindent on com32/modules/linux.cH. Peter Anvin2009-05-291-137/+137
| | | | | | | | | Automatically reformat com32/modules/linux.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* linux.c32: replace the kernel name with BOOT_IMAGE=syslinux-3.81-pre2H. Peter Anvin2009-05-051-13/+10
| | | | | | | | | The BOOT_IMAGE= argument is generated by replacing the kernel name in the argument array. As a result, we shouldn't advance argp. Move the code around slightly, to make it more obvious that that is what is happening. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* linux.c32: honor the "quiet" flagH. Peter Anvin2009-05-051-6/+34
| | | | | | | Honor the "quiet" flag for linux.c32, since some distros have odd notions about these things. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* linux.c32: move handling of mem= and vga= into the library functionsyslinux-3.80-pre5H. Peter Anvin2009-04-291-67/+1
| | | | | | | Move the handling of mem= and vga= into syslinux_boot_linux(), so that the user of that function doesn't need to worry about it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update copyright yearH. Peter Anvin2008-01-101-1/+1
|
* Handle vga={ask|normal|ext} in linux.c32syslinux-3.55-pre4H. Peter Anvin2008-01-041-2/+16
| | | | linux.c32 didn't handle vga={ask|normal|ext}, fix that.
* linux.c32: saturate memory size to 32 bits if too largeH. Peter Anvin2007-04-261-1/+7
|
* Fix the handling of namelen and argument parsing in linux.c32Ferenc Wagner2007-04-031-0/+1
|
* Linux-loading module with optional DHCP generation.syslinux-3.40-pre15H. Peter Anvin2007-03-151-0/+236
Load a Linux module, generate initramfs and optionally add /dhcpinfo.dat with the DHCP query information.