aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MENU IMMEDIATE: hotkeys which do not require Entersyslinux-4.00-pre47H. Peter Anvin2010-05-273-6/+31
| | | | | | | The normal behavior for a hotkey is to jump to a specific menu entry. With MENU IMMEDIATE, it activates the menu entry as well. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge remote branch 'origin/master' into pathbasedsyslinux-4.00-pre46H. Peter Anvin2010-05-201-1/+1
|\
| * isohybrid: use getopt_long_only()syslinux-3.8xH. Peter Anvin2010-05-201-1/+1
| | | | | | | | | | | | | | For compatibility with isohybrid.pl, use getopt_long_only() so long options are accepted with a single dash. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge remote branch 'origin/master' into pathbasedH. Peter Anvin2010-05-206-13/+670
|\| | | | | | | | | | | | | Resolved Conflicts: com32/modules/cat.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * isohybrid: create a C versionP. J. Pandit2010-05-205-2/+655
| | | | | | | | | | | | | | Some Linux distributions have complained about Perl as a prerequisite for isohybrid, so create a C version. [ hpa: modified the array generator to put it all in one script ]
| * cat.c32: handle multiple files, use argv[0], copy 4K at a timeH. Peter Anvin2010-05-201-11/+14
| | | | | | | | | | | | | | Loop over multiple files, use argv[0] for the program name, and copy 4K at a time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | unify common parts of extlinux and syslinux installerAlek Du2010-05-2014-658/+754
| | | | | | | | | | | | | | | | | | | | | | Thus we can share same command line options and reduce a lot of dup code... Seems like a big patch, but the changes are quite safe, no much logical change. Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | syslinux: fix sector arraysAlek Du2010-05-203-4/+4
| | | | | | | | | | | | | | | | | | The first sector ptr is in bs->NextSector not in the array in the patch_area. And actually the ADV sectors counting is wrong for a while ... Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Restore skip CR and LF in the comboot API copies of the banner stringsH. Peter Anvin2010-05-171-2/+2
| | | | | | | | | | | | | | | | The comboot API should not report leading CR and LF in the banner strings. This was done in 3.86, but apparently was lost due to mismerge (52c9d5ba2af4e1f77aa2486a2af2bcab0b0af52c) in the 4.00 branch. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | core: fix "sector size" confusionsyslinux-4.00-pre45H. Peter Anvin2010-05-149-52/+47
| | | | | | | | | | | | | | | | | | | | | | Fix the case where the "sector size" used by the pm filesystem driver isn't the same thing as the SECTOR_SIZE/SECTOR_SHIFT macros used in the assembly code. This is a per-device property, and in the particular case of isolinux hybrid, they are not even currently the same (for all others, they are the same for now, but not necessarily in the future.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | diskstart: print CHS/EDD instead of CBIOS/EBIOSH. Peter Anvin2010-05-141-2/+2
| | | | | | | | | | | | The terms CHS or EDD are more well-known, so use them. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | comboot: fix comapi_openSebastian Herbszt2010-05-141-0/+5
| | | | | | | | | | | | | | | | Fix breakage introduced by commit e375515ddc712f1f69ee21337db2a3267caa5d49 (Add 32-bit versions of open file/close file). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: need to track the current position past discontinuitiessyslinux-4.00-pre44H. Peter Anvin2010-05-131-25/+14
| | | | | | | | | | | | | | | | When we have a discontiguous file (broken extent), then we need to keep track of where the next extent starts, not where the current extent ends. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | diskio: compare to the proper pointerH. Peter Anvin2010-05-131-1/+1
| | | | | | | | | | | | We need to compare against the advanced pointer, not the original one. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | fat: fix confusion between byte and sector countsH. Peter Anvin2010-05-131-10/+11
| | | | | | | | | | | | | | clust_shift is in units of sectors, not in bytes; this was mixed up in the extent finder. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | diskio: make maxtransfer per-device, cap to 127, imported from headsyslinux-4.00-pre43H. Peter Anvin2010-05-126-22/+40
| | | | | | | | | | | | | | | | | | | | Make the maxtransfer per device, as it should be; properly imported from the head loader (in case it is patched with -s). Also enforce capping to 127 for EBIOS and 63 for CBIOS. This is structured so that once EDD4 is approved we can remove the capping for that particular subcase. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | syslinux.ld: don't pad between .got and .dataH. Peter Anvin2010-05-121-2/+0
| | | | | | | | | | | | | | | | Adding padding between .got and .data is unnecessary, and can cause spurious decompression failures when .data is empty (which it almost is already...) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | diskio: sanitize the reduced transfer sizesH. Peter Anvin2010-05-121-3/+6
| | | | | | | | | | | | | | Simply shift the size left by 1 when computing the transfer sizes. This will always end with the values ..., 1, 0 as it should. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | cmenu: remove obsolete Makefile rulessyslinux-4.00-pre42H. Peter Anvin2010-05-121-15/+0
| | | | | | | | | | | | | | Remove Makefile rules which were both redundant (../MCONFIG contains the rules in a central manner) and just plain wrong. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | MCONFIG: add MCONFIG.devel for use from git, removed in tarballsH. Peter Anvin2010-05-123-1/+8
| | | | | | | | | | | | | | | | Add an MCONFIG.devel file which is present in git, but removed in tarballs. This lets us set -Werror there and still not break users who are using a different compiler. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | installers: fix warningsH. Peter Anvin2010-05-123-3/+6
| | | | | | | | | | | | CLean up warnings in the installers. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | hdt-cli.c: clean up unused warningsH. Peter Anvin2010-05-121-1/+4
| | | | | | | | | | | | -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | adv_menu.tpl: fix type of login_handler()H. Peter Anvin2010-05-121-1/+3
| | | | | | | | | | | | Fix the type of the login_handler() function. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | complex.c: fix warningsH. Peter Anvin2010-05-121-0/+4
| | | | | | | | | | | | Clean up warnings, even though this is sample code. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | libmenu/des.c: fix signedness errorH. Peter Anvin2010-05-121-4/+3
| | | | | | | | | | | | | | Fix a signedness error, which in turn was caused by needlessly complicated code. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | libmenu/passwords.h: function declaration isn't a prototypeH. Peter Anvin2010-05-121-1/+1
| | | | | | | | | | | | Make it a prototype Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | libmenu/syslnx.c: mark ipappend usedH. Peter Anvin2010-05-121-0/+2
| | | | | | | | | | | | Is this really correct?! Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | rosh.c: mark argument usedH. Peter Anvin2010-05-121-0/+2
| | | | | | | | | | | | -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | readconfig.c: avoid uninitialized variable warningsH. Peter Anvin2010-05-121-3/+3
| | | | | | | | | | | | -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | cat.c32: remove unused variableH. Peter Anvin2010-05-121-1/+0
| | | | | | | | | | | | Remove unused variable as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | vpdtest.c32: remove unused variableH. Peter Anvin2010-05-121-1/+0
| | | | | | | | | | | | Remove unused variable as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | sdi.c32: remove unused variableH. Peter Anvin2010-05-121-1/+0
| | | | | | | | | | | | Remove unused variable as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | pcitest.c32: mark argc/argv usedH. Peter Anvin2010-05-121-0/+3
| | | | | | | | | | | | Part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | disk.c32: remove unused variableH. Peter Anvin2010-05-121-3/+4
| | | | | | | | | | | | Remove unused variable as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | sha256/512: fix signedness errorsH. Peter Anvin2010-05-122-11/+11
| | | | | | | | | | | | Fix signedness errors as part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | get_key.c: fix signedness errorH. Peter Anvin2010-05-121-1/+1
| | | | | | | | | | | | Fix signedness error, part of -Werror cleanup. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | 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>
* | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-128-14/+13
|\|
| * CMENU: Fixing login_handler prototypeErwan Velu2010-05-121-1/+1
| | | | | | | | | | login_handler have to follow the (t_menusystem * ms, t_menuitem * mi) prototype defined by t_handler_return
| * com32: Fixing cast in argv to avoid warningErwan Velu2010-05-121-1/+1
| | | | | | | | | | const char * confuse the *argv++ assignation Casting to char * removes this warning
| * hdt: casting to avoid useless warningErwan Velu2010-05-121-1/+1
| |
| * hdt: Fixing print_history() prototypeErwan Velu2010-05-122-2/+2
| | | | | | | | print_history have to follow the exec prototype
| * cpuid: Typo between argv & argcErwan Velu2010-05-121-1/+1
| | | | | | | | argv isn't a number ;)
| * cmd: Adding proper include to syslinux_run_commandErwan Velu2010-05-121-0/+1
| |
| * disk: Fixing get_error() callErwan Velu2010-05-121-8/+6
| | | | | | | | get_error prototype changed since this module was written
* | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-113-9/+3
|\| | | | | | | | | | | | | Resolved Conflicts: com32/modules/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * cat.c32: move from samples to modules; remove debug codeH. Peter Anvin2010-05-113-9/+3
| | | | | | | | | | | | | | Move cat.c32 from samples to modules, and remove debugging messages. Real users may want to use this. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-111-2/+7
|\|
| * cat.c32: check if filename existsGert Hulselmans2010-05-111-2/+7
| | | | | | | | | | | | | | Don't crash if the file doesn't exist. Signed-off-by: Gert Hulselmans <gerth@zytor.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-111-1/+1
|\|