| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Dump ACPI tables.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
|
|
| |
Use lmalloc/lfree instead of using the fixed (obsolete) bounce buffer.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Set media type according to the drive number and cd mode.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
| | |/
| |
| |
| |
| |
| | |
Use syslinux_derivative_info() instead of open coding it.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
| | |
| |
| |
| |
| |
| | |
Unify multiple open-coded instances of integer binary logarithm.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Resolved Conflicts:
com32/modules/cat.c
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| | |
-Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Fix the type of the login_handler() function.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Clean up warnings, even though this is sample code.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Fix a signedness error, which in turn was caused by needlessly
complicated code.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Make it a prototype
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Is this really correct?!
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
-Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
-Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Fix signedness errors as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
Fix signedness error, part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| | |
| |
| |
| |
| |
| | |
-Werror cleanup: remove unused variable.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| | |
login_handler have to follow the (t_menusystem * ms, t_menuitem * mi)
prototype defined by t_handler_return
|
| | |
| |
| |
| |
| | |
const char * confuse the *argv++ assignation
Casting to char * removes this warning
|
| | | |
|
| | |
| |
| |
| | |
print_history have to follow the exec prototype
|
| | |
| |
| |
| | |
argv isn't a number ;)
|
| | | |
|
| | |
| |
| |
| | |
get_error prototype changed since this module was written
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Resolved Conflicts:
com32/modules/Makefile
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| | |
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>
|
| |\ \
| |/ |
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |\ \ \
| |/ / |
|
| | |\ \ |
|