| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
If a loaded kernel is in ELF format and contains a multiboot header indicating
valid relocation information, prefer the informations from the ELF header.
This is in violation of the Multiboot spec, but it's the way GRUB does
things and Solaris kernels rely on this behaviour.
Signed-of-by: Ralf Ertzinger <ralf@skytale.net>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
We need <stdbool.h>; we might as well add <stdint.h> as well.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Reorganize the mboot.c32 Solaris print messages slightly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Change DHCP_ACK_SIZE to 2048 just to prevent some systems from doing
stupid things.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add a "Solaris" mode to mboot.c32, which mimics a nonstandard
extension to Multiboot used by Solaris' pxeboot program.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In safeint mode, don't bother testing for unchanged INT 15h. It
points back at ourselves, anyway, and we end up doing, in the end, the
same thing as the safeint stub would do.
Furthermore, the test was broken for years, and so this is actually
closer to what we originally tested.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Make _Exit just an ordinary symbol which aliases _exit. This avoids
some versions of gcc complaining about the inline, which is rather
unnecessary anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Older versions of gcc/binutils apparently really want parentheses
around macro arguments.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Adopt the moniker "The Syslinux Project", ordinary proper noun
capitalization, to refer to the project as a whole. This leaves the
all-caps SYSLINUX to refer to the FAT loader only.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Drop a newline we didn't need after all.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
| |
There is enough evidence that "safeint" is a decent compromise between
The Right Thing[TM] and dealing with the reality of ultra-broken
DOSen. Make it the default.
Clean up some of the command-line parsing code and status printing.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
| |
Add support for ACPI 3 and certain broken e820 implementations in the
meminfo program. Some e820 implementations expect the buffer to
remain the same between different invocations, despite the fact that
there is absolutely no guarantee to that effect in the spec.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Pre-initialize the e820 buffer to all zero, except for the active bit;
we have found that BIOSes will make assumptions about the pre-existing
value of the buffer and this seems the most conservative value.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Fix reversed test when looking for extattr in e820: force the extattr
values only when they are *not* present...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Makefile rule for e820test that actually works. It's suboptimal, and
that is just fine.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Make it possible to build e820test again, to debug the e820 code.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Skip non-active ranges when looking for a suitable chunk of memory for
decompression.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Correct the assembly portion of the new e820 code, which had been
left, in effect, half finished.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some blithering idiot thought it was a good idea to introduce
"extended attributes" for INT 15h, AX=E820h, and in doing so, breaking
compatibility with ALL E820 users out there. F*cking morons.
Implement handling of extended attributes in:
- e820 parsing in the core
- e820 parsing in libcom32
- e820 parsing *and proxying* in memdisk
The latter is the really painful one.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
vesainfo.c32 is turning into an invaluable debugging tool. Put it in
"modules" instead of "samples", to encourage distros to package it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Report the booting mode of ISOLINUX through the COM32 interface.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Email attachements replaced uuencoded files long ago, and these days I
rarely mail people test builds anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Bump the version number and update NEWS.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
-Werror is great for development, but is really bad for production
where one may encounter a number of different toolchains. This causes
diagnostic warnings to get promoted to build failures.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
| |
Merge gPXE 0.9.5
gpxe 8c3e95ce420c21e612dbed58fd74dbb01025643f
gpxe-for-syslinux 1982e507d0159d83a542224d4203e964bbd16f7d
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
| |
Update gPXE to release version 0.9.4.
gpxe-for-syslinux 6ef0d500df9e7c827352aca76a5e1966a5f29bfa
gpxe upstream 601d244a8e6dc742780060a9e0c48b91fa6c4524
(gpxe-0.9.4-release)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Some versions of gcc barf if we have hash-style comments in files when
-std=gnu99 is used. Remove from assembly files that are subject to
being assembled that way.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Earlier versions of cpp would get confused by the gas-style comments
at line starts; replace them with C-style comments.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
"make clean" must NOT remove stuff that "make installer" should not
rebuild. This is a somewhat unfortunate choice of naming, but that's
the way it is.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
"-o" clauses bind looser than -print0, so we need parens.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Remove the gPXE contrib directory. We don't use it, and it causes
trouble with rpmbuild due to .spec files.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
| |
Update gPXE to:
gpxe-for-syslinux 0a1f463e8b3218803b42cd3940e90a7678de0b3e
gpxe upstream 3392cfa7df58a5662417f25226cf75dedabeb750
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
| |
Make "menu default" work after "menu begin", similar to after
"label". This is consistent with how "menu label" works.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Fix two typos in NEWS file.
- Sebastian
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
When the Tab key is pressed, display a list of matching labels. This
can be disabled via the NOCOMPLETE configuration command. This is a
slightly modified patch by Sebastian Herbszt.
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
If we get a ^G, issue a beep.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Fix formatting of the pxelinux.cfg example.
|
|
|
|
|
|
|
|
|
| |
I adapted it from my patch documentation.
Errors and warnings have been modified, as well as configuration (sdi.c32)
and some minor modifications following discussions.
Signed-off-by: Remi Lefevre <rlefevre@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Show which keyword is missing the parameter.
- Sebastian
|
|
|
|
|
|
|
|
| |
Quiet warnings in drain_keyboard(). We need some volatiles in order
to keep gcc from optimizing some of the clearings away, but cast them
away where appropriate.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Per Sergii Kolisnyk, change SDIReserved to MDBType.
|
|
|
|
|
|
|
| |
Verify the checksum in the SDI header.
SDIheader variable names and checksum algo are from
http://skolk.livejournal.com/
|
|
|
|
|
|
|
|
| |
Using addw to restore the stack pointer clobbers CF. Use leaw
instead, even though this relies on the BIOS not clobbering %si.
Worst case we can add a mov %sp, %si or similar.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Save a few bytes in ISOLINUX.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|