aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Run Nindent on com32/gplinclude/dmi/dmi_ipmi.hH. Peter Anvin2009-05-291-9/+9
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_ipmi.h 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/gplinclude/dmi/dmi_chassis.hH. Peter Anvin2009-05-291-14/+14
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_chassis.h 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/gplinclude/dmi/dmi_bios.hH. Peter Anvin2009-05-291-56/+56
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_bios.h 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/gplinclude/dmi/dmi_battery.hH. Peter Anvin2009-05-291-16/+16
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_battery.h 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/gplinclude/dmi/dmi_base_board.hH. Peter Anvin2009-05-291-15/+15
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_base_board.h 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/gplinclude/dmi/dmi.hH. Peter Anvin2009-05-291-34/+31
| | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi.h 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/gplinclude/cpuid.hH. Peter Anvin2009-05-291-113/+111
| | | | | | | | | Automatically reformat com32/gplinclude/cpuid.h 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/gdbstub/serial.hH. Peter Anvin2009-05-291-3/+3
| | | | | | | | | Automatically reformat com32/gdbstub/serial.h 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/gdbstub/serial.cH. Peter Anvin2009-05-291-81/+84
| | | | | | | | | Automatically reformat com32/gdbstub/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/gdbstub/main.cH. Peter Anvin2009-05-291-31/+25
| | | | | | | | | Automatically reformat com32/gdbstub/main.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/gdbstub/gdbstub.cH. Peter Anvin2009-05-291-387/+427
| | | | | | | | | Automatically reformat com32/gdbstub/gdbstub.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/cmenu/simple.cH. Peter Anvin2009-05-291-47/+50
| | | | | | | | | Automatically reformat com32/cmenu/simple.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/cmenu/libmenu/tui.hH. Peter Anvin2009-05-291-14/+13
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/tui.h 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/cmenu/libmenu/tui.cH. Peter Anvin2009-05-291-258/+292
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/tui.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/cmenu/libmenu/syslnx.hH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/syslnx.h 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/cmenu/libmenu/syslnx.cH. Peter Anvin2009-05-291-48/+53
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/syslnx.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/cmenu/libmenu/scancodes.hH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/scancodes.h 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/cmenu/libmenu/passwords.hH. Peter Anvin2009-05-291-8/+8
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/passwords.h 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/cmenu/libmenu/passwords.cH. Peter Anvin2009-05-291-90/+109
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/passwords.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/cmenu/libmenu/menu.hH. Peter Anvin2009-05-291-121/+129
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/menu.h 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/cmenu/libmenu/menu.cH. Peter Anvin2009-05-291-982/+1070
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/menu.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/cmenu/libmenu/help.hH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/help.h 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/cmenu/libmenu/help.cH. Peter Anvin2009-05-291-150/+171
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/help.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/cmenu/libmenu/des.hH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/des.h 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/cmenu/libmenu/des.cH. Peter Anvin2009-05-291-825/+789
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/des.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/cmenu/libmenu/com32io.hH. Peter Anvin2009-05-291-30/+31
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/com32io.h 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/cmenu/libmenu/com32io.cH. Peter Anvin2009-05-291-64/+66
| | | | | | | | | Automatically reformat com32/cmenu/libmenu/com32io.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/cmenu/display.cH. Peter Anvin2009-05-291-9/+8
| | | | | | | | | Automatically reformat com32/cmenu/display.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/cmenu/complex.cH. Peter Anvin2009-05-291-326/+348
| | | | | | | | | Automatically reformat com32/cmenu/complex.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>
* Merge branch 'for-3.81'H. Peter Anvin2009-05-281-5/+11
|\
| * isohybrid: make isolinux.bin and isohybrid two-way compatiblesyslinux-3.81-pre16syslinux-3.81H. Peter Anvin2009-05-261-5/+11
| | | | | | | | | | | | | | | | | | It turns out we *can* determine if we have the extra partition offset information after all, by looking at the value of the stack pointer. This depends on the internals of the old isohdpfx code, but that's really all we need to worry about. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'for-3.81'H. Peter Anvin2009-05-261-14/+15
|\|
| * isohdpfx: don't clear %ds before parsing partiting infosyslinux-3.81-pre15H. Peter Anvin2009-05-261-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | The partition information is pointed to by ds:si; although ds will *usually* be 0 it isn't guaranteed (in particular, it may very well be 0x40 or 0x60); therefore, move the partition parsing up before the reset of %ds and %es. As a side benefit, we get to use push again... Also, fix the ordering of the two halves of the GPT LBA! Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | doc: add the Linux kernel coding style documentH. Peter Anvin2009-05-251-0/+831
| | | | | | | | | | | | | | We expect to use Linux kernel coding style, minus the indentation level. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Nindent: indent script from the NASM projectH. Peter Anvin2009-05-251-0/+18
|/ | | | | | | Add an indentation script from the NASM project. This is expected to be the Syslinux coding style for the future. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: we are backwards compatible again, change the error msgH. Peter Anvin2009-05-251-3/+2
| | | | | | | | We are backwards compatible again, at least as long as -partok is not used. However, there is no minor version number, so we can't check for that at this time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* altmbr: cap at 439 bytes so the partition select byte followsH. Peter Anvin2009-05-252-1/+3
| | | | | | | | | | | | Cap altmbr at 439 bytes, so that the partition select byte is not part of the file. This means that: a) updating the altmbr doesn't clobber the configuration; b) it is easier to simply concatenate the select byte to the file. This also matches gptmbr behavior. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: revert to a stack format compatible with previous versionsyslinux-3.81-pre14H. Peter Anvin2009-05-253-34/+32
| | | | | | | | Revert the isohybrid handover protocol so that it has a stack format compatible with the previous versions; that way we can also revert the magic number to a compatible one. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: add dependency on com32.ld -> *.elfsyslinux-3.81-pre13H. Peter Anvin2009-05-251-3/+4
| | | | | | All the *.elf files depend on com32.ld, so make that explicit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: document altmbr fixH. Peter Anvin2009-05-251-1/+3
|
* altmbr: fix accounting of logical partitionsH. Peter Anvin2009-05-251-15/+13
| | | | | | | Unlike the main MBR, we need to keep careful count when we process logical partitions... and we weren't. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Don't set the autocr flag on the serial console; clean up crapsyslinux-3.81-pre12H. Peter Anvin2009-05-236-45/+7
| | | | | | | | | | | | | libutil would set the autocr flag on the serial console, which really never was any point -- we already do \n -> \r\n conversion explicitly in the serial code. This was always very annoying to deal with if the menu was interrupted. Furthermore, drop completely unnecessary initialization/deinitialization routines that completely duplicated other code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: don't flush the serial port queue for a serial commandH. Peter Anvin2009-05-232-13/+20
| | | | | | | | | | | | | Don't flush the serial port queue when encountering a "serial" command. We don't actually want to lose data due to a repeated "serial", since it's quite likely it's exactly the same as before. Do flush the queue on hardware cleanup, however. Also fix some minor bugs, including a bunch of code in the .data segment. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: add file missing from previous checkin (serirq.inc)syslinux-3.81-pre11H. Peter Anvin2009-05-231-0/+184
| | | | | | Add the file serirq.inc missing from previous checkin. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: remove obsolete commentH. Peter Anvin2009-05-231-2/+0
| | | | | | Remove comment about flipping A20 for each 64K block copied. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: add a proper interrupt handler for the serial consoleH. Peter Anvin2009-05-237-43/+109
| | | | | | | | | If we enable interrupts for the serial console, add a proper interrupt handler. Since we don't know what vector we'll end up using, or if we are shared with other devices, simply hook *all* the interrupts and poll the serial port then. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* idle: set NoHalt back to 0 as it should besyslinux-3.81-pre10H. Peter Anvin2009-05-211-1/+1
| | | | | | NoHalt was set to 1 temporarily for debugging; return it to 0. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: add missing isohdppx.S fileH. Peter Anvin2009-05-211-0/+2
| | | | | | | Add a file missing from previous checkin e462c28ffaca0132c1761736bc93cb06a41dc7a6. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Drop support for ACPI 3 E820 extended memory attributesH. Peter Anvin2009-05-2110-87/+36
| | | | | | | | | | | | | | 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>
* NEWS: update isohybrid changesH. Peter Anvin2009-05-211-0/+4
|