| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
If we're booting a disk or partition, then error out if the loaded
sector doesn't have a boot sector signature, rather than the
otherwise-inevitable crash.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
Replace get_config() and execute() with syslinux_config_file() and
syslinux_run_command().
- Sebastian
|
| |
|
|
|
|
| |
Clean up the sources to make them easier to read.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
A very simple module to choose between a 32-bit, 32-bit PAE, or a
64-bit kernel depending on the capabilities of the CPU.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
| |
Minor cleanups to the CPUID code
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The result of shift in C is undefined if the shift count is greater
than the width of type. On x86 the corresponding CPU instruction
masks the shift count with 0x1f, therefore (mask >> (t & ~0x10)) & 1)
gives false positives for types greater than 0x1f (e.g., the partition
type 0x8e (Linux LVM) could be "hidden" to 0x9e).
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix breakage in the "hide" option support patch:
- The code which initialized the global variable "dapa" was lost in
commit 81c203f2, therefore EBIOS access did not work properly.
Fixed by removing the global variable completely and moving all
bounce buffer handling into read_sector() and write_sector().
- write_sector() copied data to the bounce buffer, but then tried
to use the pointer to the original buffer in BIOS calls.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
| |
If we write the MBR, do verify by reading it back and comparing.
Right now all we do is print an error, though.
|
| |
|
|
| |
Option for chain.c32 to hide primary partitions on the boot drive.
|
| |
|
|
|
|
| |
Fix the text for pci_bus_list->count == 1 ("1 bus found").
- Sebastian
|
| |
|
|
|
| |
Allow "boot" as the drive specification; this can be used both with
partition numbers and with loaders.
|
| |
|
|
| |
We don't need the ANSI engine in mboot.c32.
|
| |
|
|
|
| |
Make the syntax for chain.c32 more Linux-kernel-like. This also makes
parsing easier, so it's a win all around.
|
| |
|
|
|
| |
Comma-space takes up too much horizontal space, since we
want to be able to comment properly.
|
| |
|
|
|
|
| |
Check the stub sources into the tree, even though they aren't used by
the build; they are still useful when experimenting with changing this
stuff.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
dosmem and int13 can change during boot loader shutdown. It
is therefore unsafe to rely on them retaining their value from
running in chain.c32 itself. Instead, we have to install a
suitable stub which makes that particular determination at
runtime. Fortunately that is not all that hard to do.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Support loading files below 0x7c00, as required, for example, by DOS
kernels. Furthermore, pass the drive number in BL as well as DL.
With this, we can load the FreeDOS kernel with:
chain.c32 hd0 -seg 0x60 -file /kernel.sys
Should really clean up the syntax before 3.70 final, though, and
provide a way to default to the syslinux device.
|
| |
|
|
| |
Settle on a final implementation of the NTLDR support.
|
| |
|
|
|
| |
Don't install the swap stub when we are already the primary drive,
even if -swap is specified.
|
| |
|
|
| |
Support installing a stub to swap BIOS drive numbers.
|
| |
|
|
|
| |
Use the shuffle API, and support loading a boot file instead of the
standard boot sector. This should be able to load NTLDR.
|
| |
|
|
|
|
|
| |
Begin the process of centralizing configurables.
Improve "make install" and "make netinstall"; add "make
extbootinstall".
|
| |
|
|
|
|
|
|
| |
Move source files out of the root directory; the root is a mess and
has become virtually unmaintainable. The Syslinux core now lives in
core/; the Linux and generic utilities has moved into utils/, and
copybs.com has moved into dos/; it had to go somewhere, and it seemed
as good a place as any.
|
| |\
| |
| |
| |
| |
| |
| | |
Conflicts:
NEWS
version
|
| | |
| |
| |
| | |
-fstack-protector flag enabled by default.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Booting from a logical partition failed with the "Requested logical
partition not found" error due to a wrong test for partition signature
in find_logical_partition().
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
NEWS
com32/modules/Makefile
|
| | |
| |
| |
| | |
Print minimal message while loading.
|
| | |
| |
| |
| | |
COM32 module to load a Microsoft System Deployment Image (SDI) file.
|
| | |
| |
| |
| |
| | |
Trivial COM32 module which accepts a sanboot command and passes it on
to gPXE.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| | |
DMI code have some wrong offsets.
This patch fixes this offsets and improve the grammar.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
| | |
| |
| |
| |
| | |
Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the
gcc_ok macro is declared with =, not :=
|
| |\ \
| |/
| |
| |
| |
| | |
Conflicts:
version
|
| | |
| |
| |
| |
| | |
Use "-nostdinc -iwithprefix include" to prevent the inclusion of
system header files, but still permitting *compiler* header files.
|
| | |
| |
| |
| |
| |
| | |
The EFI ABI spec states that DF=0 on ABI boundaries, and gcc expects
this. Assume it is safe to rely upon everywhere; drop unnecessary cld
instructions, except on entry and (obviously) after std.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
H. Peter Anvin wrote:
> Erwan: I would have to get you to do this, since it would mean
> changing the license (trying to keep libcom32 under the BSD/MIT
> licenses), and you have them under your own copyright (as opposed to
> mine), which means I can't do this change.
Please find attached the patch to changing the license to MIT on modules
I did contribute in com32/modules/.
|
| | | |
|
| |/
|
|
| |
Use zloadfile() to support file decompression in elf.c32.
|
| | |
|
| | |
|
| |
|
|
|
| |
Move the simple menu system into its own subdirectory, to make it more
obvious which source files are part of it.
|
| |
|
|
|
| |
Handy little utility for dumping out the system memory map. Changes
no other code.
|
| |
|
|
| |
Update copyright lines and standardize the format.
|
| |
|
|
|
|
| |
PHDR segments are equal to LOAD segments as far as the loader is
concerned. Also handle the case of filesz > memsz (by ignoring the
additional data.)
|
| |
|
|
| |
Need to initialize the SHA-1 context before we add the salt.
|
| | |
|