| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
"vga=current" is a user-friendly synonym for "vga=0x0f04".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
Automatically reformat com32/lib/syslinux/load_linux.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
Quiet a (harmless) compiler warning.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
It's pretty safe to say there has never been a working relocatable
Linux zImage kernel, and the semantics for them are iffy at best.
Consider zImage kernels to be non-relocatable.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
The normal value for code32_start is based on the kernel load address
(in fact, it usually *is* the kernel load address); accordingly, it
needs to be updated if the kernel is relocated.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
We need <minmax.h> for min().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Linux itself is fine with sp = 0 for a 64K segment, but perhaps other
things aren't. Just to be safe, set the stack pointer to 64K-16
bytes.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Move the handling of mem= and vga= into syslinux_boot_linux(), so that
the user of that function doesn't need to worry about it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Update copyright notices. Per agreement with my new employer, Intel
Corporation, add Intel copyright notices where appropriate.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Do not relocate the real-mode code above address 0x90000... that would
not be prudent.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
|
|
|
|
| |
In the case where the preferred kernel locations are not available,
make load_linux() smart enough to be able to relocate the kernel if at
all possible.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Impact: fix boot failure on Dell E6500 and possibly other platforms
Linux may not be able to access a part of an initrd which resides in a
page that is part RAM, part non-RAM. Make sure we round the end of
the memory range we want to use down to a page boundary (as well as
round the start up.)
Reported-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
|
| |
|
|
|
| |
Put (disabled) debugging code in shuffle.c and load_linux.c for future
needs.
|
| |
|
|
|
| |
Seems the su_heapend field was never set up right; also sanitize the
way the pre-2.02 command line is handled.
|
| |
|
|
|
| |
If we have a modern kernel which is loaded high, we can allow a lot
more space for the real-mode heap.
|
| |
|
|
|
|
| |
cpio has annoying alignment constraints; make it possible to enforce
them without adding padding to the end of last member (which breaks things
which relies on gzip and need to know the final length.)
|
| |
|