summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux
Commit message (Collapse)AuthorAgeFilesLines
* runimage.c: remove unused variableH. Peter Anvin2010-05-121-1/+0
| | | | | | -Werror cleanup: remove unused variable. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* core: move idle handling into protected modeH. Peter Anvin2010-03-301-17/+7
| | | | | | | | Do the actual idling in protected mode. This both allows PM code a more efficient interface, but also handles bugs in HVM implementations which don't handle HLT in real mode. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* com32: replace hard-coded bounce buffer use in com32/libsyslinux-4.00-pre25H. Peter Anvin2010-02-246-38/+78
| | | | | | Replace hard-coded bounce buffer uses in com32/lib with lmalloc/lfree. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: add library function for DNS lookupH. Peter Anvin2010-02-061-0/+70
| | | | | | Add a library function for DNS lookup Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add support for "vga=current"H. Peter Anvin2010-01-221-0/+3
| | | | | | "vga=current" is a user-friendly synonym for "vga=0x0f04". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: remove unused variable in syslinux_getadv()H. Peter Anvin2010-01-101-1/+1
| | | | | | Remove unused variable, thus removing a warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: syslinux_report_video_mode returns voidH. Peter Anvin2009-12-221-1/+1
| | | | | | | syslinux_report_video_mode() never gave a return value, to have it return void unless we need something else. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* video: implement long-promised video functions; use themH. Peter Anvin2009-12-183-0/+141
| | | | | | | | Implement long-since-promised video functions defined in <syslinux/video.h>. Use these functions in initvesa.c instead of open-coding the same functionality. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/lib/syslinux/zonelist.cH. Peter Anvin2009-05-291-151/+151
| | | | | | | | | Automatically reformat com32/lib/syslinux/zonelist.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>
* Run Nindent on com32/lib/syslinux/zloadfile.cH. Peter Anvin2009-05-291-9/+9
| | | | | | | | | Automatically reformat com32/lib/syslinux/zloadfile.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>
* Run Nindent on com32/lib/syslinux/version.cH. Peter Anvin2009-05-291-8/+8
| | | | | | | | | Automatically reformat com32/lib/syslinux/version.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>
* Run Nindent on com32/lib/syslinux/shuffle_rm.cH. Peter Anvin2009-05-291-86/+86
| | | | | | | | | Automatically reformat com32/lib/syslinux/shuffle_rm.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>
* Run Nindent on com32/lib/syslinux/shuffle_pm.cH. Peter Anvin2009-05-291-31/+30
| | | | | | | | | Automatically reformat com32/lib/syslinux/shuffle_pm.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>
* Run Nindent on com32/lib/syslinux/shuffle.cH. Peter Anvin2009-05-291-157/+160
| | | | | | | | | Automatically reformat com32/lib/syslinux/shuffle.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>
* Run Nindent on com32/lib/syslinux/setadv.cH. Peter Anvin2009-05-291-58/+58
| | | | | | | | | Automatically reformat com32/lib/syslinux/setadv.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>
* Run Nindent on com32/lib/syslinux/serial.cH. Peter Anvin2009-05-291-7/+7
| | | | | | | | | Automatically reformat com32/lib/syslinux/serial.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>
* Run Nindent on com32/lib/syslinux/runimage.cH. Peter Anvin2009-05-291-18/+18
| | | | | | | | | Automatically reformat com32/lib/syslinux/runimage.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>
* Run Nindent on com32/lib/syslinux/run_default.cH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat com32/lib/syslinux/run_default.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>
* Run Nindent on com32/lib/syslinux/run_command.cH. Peter Anvin2009-05-291-8/+8
| | | | | | | | | Automatically reformat com32/lib/syslinux/run_command.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>
* Run Nindent on com32/lib/syslinux/reboot.cH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat com32/lib/syslinux/reboot.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>
* Run Nindent on com32/lib/syslinux/pxe_get_nic.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/pxe_get_nic.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>
* Run Nindent on com32/lib/syslinux/pxe_get_cached.cH. Peter Anvin2009-05-291-27/+27
| | | | | | | | | Automatically reformat com32/lib/syslinux/pxe_get_cached.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>
* Run Nindent on com32/lib/syslinux/movebits.cH. Peter Anvin2009-05-291-510/+511
| | | | | | | | | Automatically reformat com32/lib/syslinux/movebits.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>
* Run Nindent on com32/lib/syslinux/memscan.cH. Peter Anvin2009-05-291-94/+94
| | | | | | | | | Automatically reformat com32/lib/syslinux/memscan.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>
* Run Nindent on com32/lib/syslinux/memmap.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/memmap.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>
* Run Nindent on com32/lib/syslinux/localboot.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/lib/syslinux/localboot.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>
* Run Nindent on com32/lib/syslinux/loadfile.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/loadfile.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>
* Run Nindent on com32/lib/syslinux/load_linux.cH. Peter Anvin2009-05-291-365/+364
| | | | | | | | | Automatically reformat com32/lib/syslinux/load_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>
* Run Nindent on com32/lib/syslinux/keyboard.cH. Peter Anvin2009-05-291-8/+8
| | | | | | | | | Automatically reformat com32/lib/syslinux/keyboard.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>
* Run Nindent on com32/lib/syslinux/ipappend.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/ipappend.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>
* Run Nindent on com32/lib/syslinux/initramfs_loadfile.cH. Peter Anvin2009-05-291-6/+6
| | | | | | | | | Automatically reformat com32/lib/syslinux/initramfs_loadfile.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>
* Run Nindent on com32/lib/syslinux/initramfs_file.cH. Peter Anvin2009-05-291-83/+81
| | | | | | | | | Automatically reformat com32/lib/syslinux/initramfs_file.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>
* Run Nindent on com32/lib/syslinux/initramfs_archive.cH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat com32/lib/syslinux/initramfs_archive.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>
* Run Nindent on com32/lib/syslinux/initramfs.cH. Peter Anvin2009-05-291-24/+24
| | | | | | | | | Automatically reformat com32/lib/syslinux/initramfs.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>
* Run Nindent on com32/lib/syslinux/idle.cH. Peter Anvin2009-05-291-12/+12
| | | | | | | | | Automatically reformat com32/lib/syslinux/idle.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>
* Run Nindent on com32/lib/syslinux/getadv.cH. Peter Anvin2009-05-291-21/+21
| | | | | | | | | Automatically reformat com32/lib/syslinux/getadv.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>
* Run Nindent on com32/lib/syslinux/freelist.cH. Peter Anvin2009-05-291-6/+6
| | | | | | | | | Automatically reformat com32/lib/syslinux/freelist.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>
* Run Nindent on com32/lib/syslinux/floadfile.cH. Peter Anvin2009-05-291-57/+57
| | | | | | | | | Automatically reformat com32/lib/syslinux/floadfile.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>
* Run Nindent on com32/lib/syslinux/features.cH. Peter Anvin2009-05-291-6/+6
| | | | | | | | | Automatically reformat com32/lib/syslinux/features.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>
* Run Nindent on com32/lib/syslinux/dump_movelist.cH. Peter Anvin2009-05-291-8/+7
| | | | | | | | | Automatically reformat com32/lib/syslinux/dump_movelist.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>
* Run Nindent on com32/lib/syslinux/dump_mmap.cH. Peter Anvin2009-05-291-9/+8
| | | | | | | | | Automatically reformat com32/lib/syslinux/dump_mmap.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>
* Run Nindent on com32/lib/syslinux/dsinfo.cH. Peter Anvin2009-05-291-6/+6
| | | | | | | | | Automatically reformat com32/lib/syslinux/dsinfo.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>
* Run Nindent on com32/lib/syslinux/config.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/lib/syslinux/config.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>
* Run Nindent on com32/lib/syslinux/cleanup.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/lib/syslinux/cleanup.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>
* Run Nindent on com32/lib/syslinux/advwrite.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/lib/syslinux/advwrite.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>
* Run Nindent on com32/lib/syslinux/adv.cH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | Automatically reformat com32/lib/syslinux/adv.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>
* Run Nindent on com32/lib/syslinux/addlist.cH. Peter Anvin2009-05-291-10/+10
| | | | | | | | | Automatically reformat com32/lib/syslinux/addlist.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>
* Drop support for ACPI 3 E820 extended memory attributesH. Peter Anvin2009-05-211-9/+0
| | | | | | | | | | | | | | Drop all support for ACPI 3 E820 extended memory attributes. There are BIOSes in the field that report completely bogus information here, resulting in no memory at all being detected (we then fall back to E801 detection, but that is problematic in its own ways.) There is strong reasons to believe at this point that the extended memory attributes are not usable in their current form, so drop them and revert back to simple 20-byte support, including for MEMDISK spoofing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* load_linux.c: quiet warningH. Peter Anvin2009-05-041-1/+1
| | | | | | Quiet a (harmless) compiler warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* load_linux.c: consider a zImage kernel to be non-relocatableH. Peter Anvin2009-05-041-1/+1
| | | | | | | | It's pretty safe to say there has never been a working relocatable Linux zImage kernel, and the semantics for them are iffy at best. Consider zImage kernels to be non-relocatable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>