aboutsummaryrefslogtreecommitdiffstats
path: root/com32
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 pathbasedH. Peter Anvin2010-05-201-11/+15
|\ | | | | | | | | | | | | Resolved Conflicts: com32/modules/cat.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * 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>
* | 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>
* | 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
|\|
| * Merge remote branch 'hdt-pierre/fixes-for-3.86'H. Peter Anvin2010-05-111-1/+1
| |\
| | * disk.c32: add disk geometry checkPierre-Alexandre Meyer2010-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Make sure the CHS geometry is valid before displaying disk information to avoid showing garbage. Debugging-info-by: Gert Hulselmans <gerth@zytor.com> Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-113-3/+3
|\| |
| * | Merge remote branch 'erwan/master'H. Peter Anvin2010-05-113-3/+3
| |\ \
| | * | VPD: Fixing base_addressErwan Velu2010-05-113-3/+3
| | | | | | | | | | | | | | | | This commit now save properly VPD's address.
* | | | cpuid.c32: print unsigned valuessyslinux-4.00-pre41H. Peter Anvin2010-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Print unsigned values; formatting was wrong for unsigned values anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | sysdump: use <sys/cpu.h>H. Peter Anvin2010-05-111-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use <sys/cpu.h> where it makes sense. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | com32: Unbreak <sys/cpu.h>H. Peter Anvin2010-05-111-32/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CPUID functions were apparently broken when made PIC-safe; clean up and fix. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-118-110/+200
|\| | |
| * | | Merge remote branch 'erwan/master'H. Peter Anvin2010-05-114-102/+168
| |\| |
| | * | DMI: Increasing processor buffer sizeErwan Velu2010-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Impact: avoid string truncation The version field could be bigger than 32 char.
| | * | DMI: Fixing memory corruptionErwan Velu2010-05-062-100/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: avoid memory corruption Too much usage of strcpy & sprintf was leading to serious memory corruption. Using snprintf & strncpy is prefered.
| | * | DMI: removing useless variableErwan Velu2010-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Impact: none Removing useless variable
| * | | mboot.c32: autodetect SolarisH. Peter Anvin2010-05-034-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Autodetect Solaris kernels (based on the ELF header OSABI field) and use the Solaris workarounds in that case. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | Merge remote branch 'origin/master' into pathbasedsyslinux-4.00-pre40H. Peter Anvin2010-04-282-51/+174
|\| | |
| * | | gfxboot: fix menu label handlingSteffen Winterfeldt2010-04-241-20/+28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: better error handlingSteffen Winterfeldt2010-04-241-23/+95
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>