summaryrefslogtreecommitdiff
path: root/com32
Commit message (Collapse)AuthorAgeFilesLines
* sysdump: dump ACPI informationH. Peter Anvin2010-06-183-0/+177
| | | | | | Dump ACPI tables. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: use lmalloc/lfreeH. Peter Anvin2010-06-182-3/+10
| | | | | | Use lmalloc/lfree instead of using the fixed (obsolete) bounce buffer. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sysdump: tftp: use lmalloc(), and set the gatewayH. Peter Anvin2010-06-181-6/+21
| | | | | | | Use lmalloc() rather than the fixed (obsolete) bounce buffer, and set the gateway for PXE stacks that need it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe: centralize all the IP information and export it to modulesH. Peter Anvin2010-06-181-0/+9
| | | | | | | | | It appears that there still are PXE stacks in the field which needs the crutch of being pointed to the default gateway. As such, put all the IP information into a single memory structure and allow modules to see it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge remote branch 'sha0/boot_args' into pathbasedH. Peter Anvin2010-06-172-6/+12
|\
| * ifcpuXX: Support multiple parameters with labelsShao Miller2010-06-122-6/+12
| | | | | | | | | | | | | | | | | | | | The ifcpu.c32 and ifcpu64.c32 modules take arguments including the form <true_label> -- <false_label>. It is convenient to allow these labels to be not just a single word, but to include parameters. This is useful for <TAB>-editing and modifying the command-line to include parameters you'd like to pass. Not-yet-tested: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* | Merge remote branch 'sherbszt/gfxboot32' into pathbasedH. Peter Anvin2010-06-131-10/+12
|\ \
| * | gfxboot: set media typeSebastian Herbszt2010-06-131-0/+6
| | | | | | | | | | | | | | | | | | Set media type according to the drive number and cd mode. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | gfxboot: use syslinux_derivative_info()Sebastian Herbszt2010-05-301-10/+6
| |/ | | | | | | | | | | Use syslinux_derivative_info() instead of open coding it. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | Unify instances of integer log2H. Peter Anvin2010-06-093-8/+51
| | | | | | | | | | | | Unify multiple open-coded instances of integer binary logarithm. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | mboot.c32: don't rely on possibly incomplete fieldsH. Peter Anvin2010-06-081-6/+9
| | | | | | | | | | | | | | | | | | Since load_end_addr and bss_end_addr may be incomplete, we can't actually use them for information. An alternative would be to actually modify these fields in-memory, but it is unclear if that is permitted by the spec. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | mboot.c32: handle non-self-terminating imagesH. Peter Anvin2010-06-081-6/+14
| | | | | | | | | | | | | | | | | | Handle non-ELF Multiboot images with 0 entries for data and/or bss end, which means "until end of the file" and "nothing" for the two fields, respectively. Reported-and-tested-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | chain.c32: add support for loading GRUB stage2Paul Bolle2010-06-071-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds (basic) support for GRUB stage2 image files. Loading a stage2 image will probably give you a GRUB prompt, with GRUB's "root" set at "(hd0)" (ie, entire first disk). Maybe the "root" will differ in less common setups. (One can of course select another disk and/or partition with GRUB's "root" command.) This has only been tested with version 3.2 stage2 images (as used by GRUB 0.97). I'm not familiair with differences with other versions. GRUB's loading mechanism allows to somehow provide stage2 with the selected disk and partition, BSD slice, etc. (ie, to tell stage2 what it's "root" is). I don't yet understand the notation used in that mechanism. Besides, since stage2 images will not necessarily be loaded from the disk (and partition, etc.) they were installed to, it seems best to just use the first disk. GRUB stage1_5 image files load quite similarly. However, for some reason, a short test only got those images to print an error ("Error 17"). This could be related to the partition info these images are provided with when they're loaded. I have never used stage1_5 images, and do not know how to properly use and configure those, so my test stopped there, and stage1_5 images are not supported. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | 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
| |\ \