aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simple "cmd" module to issue a CLI commandsyslinux-3.74-pre1Michael Brown2009-02-172-1/+43
| | | | | | A simple "cmd" COM32 module, which only echoes a CLI command. This is mostly useful when running on an alternate CLI, e.g. on top of the native gPXE COMBOOT interface.
* Update gPXE to version 0.9.6+ 277b84c6e7d49f3cf01c855007f591de8c7cb75fH. Peter Anvin2009-02-17430-13535/+45138
| | | | | | | | | Update gPXE to version 0.9.6+, from commit 277b84c6e7d49f3cf01c855007f591de8c7cb75f in the main gPXE repository. The only differences is src/config/general.h which has a few protocols added, and src/arch/i386/prefix/boot1a.S which was called boot1a.s in the upstream repository.
* syslinux.txt: document -r (for RAID) option and bootsecfileVicente Jimenez Aguilar2009-02-171-2/+6
| | | | | | | | | | Document the new -r (for RAID) option and bootsecfile as pointed out by Gert Hulselmans. -r (RAID) option is described correctly in the man page, so I cut and paste this description here. bootsecfile parameter perhaps needs more explanation.
* doc/comboot.txt: update to reflect dir branch now in mainlineH. Peter Anvin2009-02-161-8/+9
| | | | | The "dir" branch has been promoted to mainline, so make the documentation reflect that.
* Merge branch 'dir'H. Peter Anvin2009-02-1621-6/+1742
|\
| * COM32 module: Read-Only shellGene Cumm2009-02-155-1/+1024
| | | | | | | | | | | | | | | | | | | | | | | | | | Well, here's the read-only shell (rosh) that I've been working on. It's functional but still quite rough. My primary intention of posting it at this time is such that people have an easy way to demonstrate to themselves that the library calls I made work. This should apply as a patch to the head of the "dir" branch and the patch for c_cflag/c_lflag. The patch is only needed for Linux(without it, segfaults will occur). I've designed it to compile as a COM32 module and Linux binary when using GNU C (as Syslinux currently requires GNU C, if I read the Makefiles correctly).
| * Merge branch 'master' into dirH. Peter Anvin2009-02-154-28/+22
| |\
| * | ldlinux: move es manipulation into ucs2_to_cpH. Peter Anvin2009-02-101-6/+4
| | | | | | | | | | | | | | | | | | | | | If currently the only caller of ucs2_to_cp wants to use ES, we might as well move the ES set/restore into ucs2_to_cp. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | ldlinux: readdir: trivial optimizationH. Peter Anvin2009-02-101-4/+3
| | | | | | | | | | | | | | | | | | Trivially optimize the readdir code Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | ldlinux: fix interface to ucs2_to_cpH. Peter Anvin2009-02-101-4/+4
| | | | | | | | | | | | | | | The interface to ucs2_to_cp has changed slightly, it now returns ZF=0 on failure, not CF=1.
| * | Merge branch 'charset' into dirH. Peter Anvin2009-02-102-4/+29
| |\ \
| | * | Reorganize the codepage handling to allow ucs2 -> codepage conversionH. Peter Anvin2009-01-252-4/+29
| | | | | | | | | | | | | | | | | | | | Reorganize the codepage handling to make it easier to do ucs2 -> codepage conversion, this will be used for a future directory lister.
| * | | COM32 API: Add functions for directory useGene Cumm2009-02-109-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COM32: Add directory functions getcwd(), opendir(), readdir() and closedir(). This depends on the patch that I just submitted creating the COMBOOT API calls. Signed-off-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | COMBOOT API: Add calls for directory functions; Implement for FATGene Cumm2009-02-096-1/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMBOOT API: Add calls for directory functions; Implement most only for FAT (SYSLINUX). Uses INT 22h AX= 001Fh, 0020h, 0021h and 0022h to prepare for the COM32 C functions getcwd(), opendir(), readdir(), and closedir(), respectively. INT22h, AX=001Fh will return a valid value for all variants. INT22h, AX= 0020h, 0021h, and 0022h are only implemented for SYSLINUX while other variants will call comapi_err for these 3. Signed-off-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | pxelinux: compactify the getting cached packets messageH. Peter Anvin2009-02-161-4/+8
| | | | | | | | | | | | | | | | | | | | Slightly compactify the getting cached packets messages, by putting them all on one line.
* | | | pxelinux: Minimum size for PXENV+ is 0x28 bytesH. Peter Anvin2009-02-161-0/+3
| | | | | | | | | | | | | | | | | | | | The minimum size for the PXENV+ structure is 0x28 bytes (for PXE 1.x/2.0); the size will be 0x2C if the !PXE pointer is provided.
* | | | pxelinux: clean up and correct the entry point searchH. Peter Anvin2009-02-161-94/+116
| |_|/ |/| | | | | | | | | | | Clean up and bug fixes of the entry point search. Verify that all methods work, and print the one we eventually used.
* | | COM32 libutil: Fix error in flags in console_ansi_std(void)Gene Cumm2009-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ICANON and ECHO were applied to the control flags not local flags. If ICANON or ECHO were applied to a serial port on Linux on the x86 architecture, this would change the serial ports baud rate. From my /usr/include/bits/termios.h (select in-order lines): /* c_cflag bit meaning */ #define B150 0000005 #define B300 0000007 #define B9600 0000015 #define B38400 0000017 /* c_lflag bits */ #define ICANON 0000002 #define ECHO 0000010 The different baud rates are defined here. If someone set the baud rate to 9600 and set ICANON on c_cflag, it should change the baud rate to 38400, dropping communication. Another example is if someone set the baud rate to 150 the set ICANON and ECHO on c_cflag, it should change the baud to 38400. If I am interpreting the rest of the file correctly, a bitmask covering all of the bits used in c_cflag for the baud rate is 0010017. Signed-off-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | ifcpu64: fix handing with less than three argumentsH. Peter Anvin2009-02-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a silly coding error, when passed with only two arguments we would use them in order 1 -- 2 -- 1 instead of 1 -- 2 -- 2 as was intended. Fix. Reported-by: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | find-mingw: handle the names used in Fedora 10+H. Peter Anvin2009-02-111-0/+8
| | | | | | | | | | | | | | | Handle the names used in Fedora, now when Fedora includes MinGW32 in the standard distribution.
* | | Fix minor errors in keytab-liloOlivier Korn2009-02-101-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H. Peter Anvin wrote: > Thanks for the warning. I have updated keytab-lilo in the git tree with > keytab-lilo.pl from LILO 22.8. Thank you H. Peter. I just checked it and the new version doesn't work "out of the box". It says... syntax error at keytab-lilo line 4, near "eval " Execution of keytab-lilo aborted due to compilation errors. Furthermore, after correcting lines 3 and 4 (which are responsible of the above error), keyboard maps can't be found (by loadkeys utility) because of an added bad extension (.map instead of .kmap). Attached is a patch I wrote in order to make it fully work (apply it against the version of keytab-lilo which is now in the git tree).
* | | Update keytab-lilo from LILO 22.8H. Peter Anvin2009-02-091-21/+5
|/ /
* | kbdmap.c32: new module to load a keyboard map dynamicallyH. Peter Anvin2009-02-033-1/+58
| | | | | | | | Load a new keyboard map dynamically
* | Add comboot interface to access the keyboard remapping tableH. Peter Anvin2009-02-035-1/+127
| | | | | | | | | | | | Add a comboot interface to access the keyboard remapping table, which can be used for either querying or changing the keyboard map.
* | parseconfig.inc: use "skipline" where appropriateH. Peter Anvin2009-01-311-2/+2
| | | | | | | | Use "skipline" where appropriate instead of reading into the trackbuf.
* | Make sure we eat the input when ignoring a DEFAULT commandH. Peter Anvin2009-01-312-11/+13
| | | | | | | | | | | | | | | | | | Make sure we eat the rest of the input line when we encounter a DEFAULT command that is to be ignored because we have a UI command already. Do this by making skipline a subroutine. Based on a patch by Sebastian Hebszt <herbszt@gmx.de>, although substantially modified.
* | Merge branch 'ui'H. Peter Anvin2009-01-259-16/+99
|\ \ | | | | | | | | | | | | Conflicts: NEWS
| * | Merge branch 'master' into uiH. Peter Anvin2009-01-252-1/+40
| |\|
| * | Fix the new "UI" directiveSebastian Herbszt2008-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new directive doesn't seem to work here. Looks like DefaultLevel is never changed: core/parseconfig.inc:pc_default: cmp ax,[DefaultLevel] core/parseconfig.inc:DefaultLevel dw 0 ; The current level of default core/ui.inc: cmp word [DefaultLevel],1 ; Active UI statement?
| * | Add new "UI" directive instead of abusing the DEFAULT directiveH. Peter Anvin2008-12-149-16/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new "UI" directive to specify a user interface module, instead of abusing the DEFAULT directive. This allows the DEFAULT directive to be used for setting the default, even when the menu system is enabled. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | Call the next version 3.74H. Peter Anvin2009-01-251-1/+1
| | |
* | | Bump copyright year to 2009syslinux-3.73H. Peter Anvin2009-01-251-1/+1
| | |
* | | Document the config.c32 moduleH. Peter Anvin2009-01-251-0/+3
| |/ |/|
* | config.c32: new module to just load a configuration fileH. Peter Anvin2009-01-252-1/+40
|/ | | | | Trivial module to load a new configuration file from the command line.
* PXELINUX: local domain is option 15, not option 16syslinux-3.73-pre7H. Peter Anvin2008-12-011-1/+1
| | | | | | The local domain name is option 15, not option 16. Fix. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core/Makefile: fix dependency generation with old versions of NASMH. Peter Anvin2008-12-011-1/+6
| | | | | | | Fix dependency generation with certain old versions of NASM, which omitted the '\n' between dependency lines. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c: prefer ELF header over multiboot headersyslinux-3.73-pre6Ralf Ertzinger2008-10-201-63/+57
| | | | | | | | | | If a loaded kernel is in ELF format and contains a multiboot header indicating valid relocation information, prefer the informations from the ELF header. This is in violation of the Multiboot spec, but it's the way GRUB does things and Solaris kernels rely on this behaviour. Signed-of-by: Ralf Ertzinger <ralf@skytale.net> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c32: add <stdint.h> and <stdbool.h>syslinux-3.73-pre5H. Peter Anvin2008-10-191-0/+2
| | | | | | We need <stdbool.h>; we might as well add <stdint.h> as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: Document mboot.c32 -solarisH. Peter Anvin2008-10-191-0/+3
|
* mboot.c32: reorganize print messagesH. Peter Anvin2008-10-191-8/+7
| | | | | | Reorganize the mboot.c32 Solaris print messages slightly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c32: change DHCP_ACK_SIZE to 2048H. Peter Anvin2008-10-191-1/+1
| | | | | | | Change DHCP_ACK_SIZE to 2048 just to prevent some systems from doing stupid things. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c32: add Solaris modeRalf Ertzinger2008-10-191-0/+43
| | | | | | | Add a "Solaris" mode to mboot.c32, which mimics a nonstandard extension to Multiboot used by Solaris' pxeboot program. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* MEMDISK: in safeint mode, don't bother testing for unchanged INT 15hsyslinux-3.73-pre4H. Peter Anvin2008-10-151-26/+14
| | | | | | | | | | | In safeint mode, don't bother testing for unchanged INT 15h. It points back at ourselves, anyway, and we end up doing, in the end, the same thing as the safeint stub would do. Furthermore, the test was broken for years, and so this is actually closer to what we originally tested. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: fix check for unchanged INT 15h handler in safeint modeSergey Vlasov2008-10-151-1/+1
| | | | | Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: make _Exit just an ordinary symbolH. Peter Anvin2008-10-142-5/+8
| | | | | | | | Make _Exit just an ordinary symbol which aliases _exit. This avoids some versions of gcc complaining about the inline, which is rather unnecessary anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Older binutils wants parens around macrosDag Wieers2008-10-141-1/+1
| | | | | | | Older versions of gcc/binutils apparently really want parentheses around macro arguments. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: document naming policy changeH. Peter Anvin2008-10-141-3/+7
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* SYSLINUX -> SyslinuxH. Peter Anvin2008-10-1411-92/+96
| | | | | | | | Adopt the moniker "The Syslinux Project", ordinary proper noun capitalization, to refer to the project as a whole. This leaves the all-caps SYSLINUX to refer to the FAT loader only. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* MEMDISK: drop unnecessary newlineH. Peter Anvin2008-10-141-1/+1
| | | | | | Drop a newline we didn't need after all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* MEMDISK: default to "safeint" modesyslinux-3.73-pre3H. Peter Anvin2008-10-143-18/+45
| | | | | | | | | | There is enough evidence that "safeint" is a decent compromise between The Right Thing[TM] and dealing with the reality of ultra-broken DOSen. Make it the default. Clean up some of the command-line parsing code and status printing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>