| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix the text for pci_bus_list->count == 1 ("1 bus found").
- Sebastian
|
|
|
|
|
| |
Allow the initrd to be specified on a separate line from command-line
options (append). This apparently can help certain tools.
|
|
|
|
| |
Really, really try to avoid stepping on disabled entries...
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Default to \n -> \r\n conversion in the ANSI and xserial modules,
rather than relying on escape codes to make that behave. This
effectively means that as far as the serial port is concerned, this
behavior cannot be turned off (with less than having the xserial state
machine interpret this sequence) and the escape code *should not* be
used.
That is fine for our applications, though.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
SS is segment 2, DS is segment 3; this header had them backwards.
Fortunately not too many things relied on having DS != SS.
|
|
|
|
| |
Settle on a final implementation of the NTLDR support.
|
|
|
|
| |
Make sure we don't trash a useful value in errno.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In include/sys/pci.h we have
#define MAX_PCI_BUSES 255
and
struct pci_bus_list {
struct pci_bus pci_bus[MAX_PCI_BUSES];
uint8_t count;
};
And in lib/pci/scan.c
for (bus = 0; bus <= MAX_PCI_BUSES; bus++) {
pci_bus_list->pci_bus[bus].pci_device_count = 0;
Fix possible overflows and introduce MAX_PCI_FUNC.
- Sebastian
|
|
|
|
|
| |
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.
|
|
|
|
| |
Aligning versions of memcpy/memmove/mempcpy/memset for libcom32.
|
|
|
|
|
|
|
| |
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>
|
| |
| |
| |
| |
| | |
Following changes to other Makefiles use $(CC) for examining compiler
options here as well.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
NEWS
com32/modules/Makefile
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rewrite the algorithm to prefer entries which can be directly moved
into their target slots; this should reduce the number of descriptors
in most cases (although not necessarily *all* cases.)
Try to clean up the code some while we're at it... the code is
confusing enough as it is.
|
| |
| |
| |
| |
| | |
The old code could fail to coalesce backwards in the case where a
range is totally obliterated. For now, just scan the whole list.
|
| |
| |
| |
| | |
Print minimal message while loading.
|
| |
| |
| |
| |
| |
| | |
Use the syslinux_memmap data structure for the free memory list. This
means we get range coalescing; this sometimes generates lists that are
vastly shorter than without range coalescing.
|
| |
| |
| |
| |
| | |
Handle the case of an upward move when there is something in the way.
This happens when loading an SDI image.
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Add stpcpy(), and actually implement syslinux_version() and
syslinux_derivative_info().
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Remove reference to readpit.c32, an experimental module never intended
for release.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DMI code have some wrong offsets.
This patch fixes this offsets and improve the grammar.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From : Erwan Velu <erwan.velu@free.fr>
This patch fixes the pci detection stuff demo'd in pcitest.c32
- Fix a wrong type in malloc
- Incorrect use of strdup
- Replacing strncpy by strnlcpy (thx hpa)
This two fixes makes pcitest.c32 working far better, no more crash when
running it twice.
I'd like to thank Sebastian Herbszt for its reports and tests.
This patch was made for 3.62-pre16 but applies fine on 3.63-pre1.
Signed-off-by:Erwan Velu <erwan.velu@free.fr>
--------------------------------------------------------------------------------
Les opinions et prises de position emises par le signataire du present
message lui sont propres et ne sauraient engager la responsabilite de la
societe SEANODES.
Ce message ainsi que les eventuelles pieces jointes constituent une
correspondance privee et confidentielle a l'attention exclusive du
destinataire designe ci-dessus. Si vous n'etes pas le destinataire du
present message ou une personne susceptible de pouvoir le lui delivrer, il
vous est signifie que toute divulgation, distribution ou copie de cette
transmission est strictement interdite. Si vous avez recu ce message par
erreur, nous vous remercions d'en informer l'expediteur par telephone ou de
lui retourner le present message, puis d'effacer immediatement ce message de
votre systeme.
The views and opinions expressed by the author of this message are personal.
SEANODES shall assume no liability, express or implied for such message.
This e-mail and any attachments is a confidential correspondence intended
only for use of the individual or entity named above. If you are not the
intended recipient or the agent responsible for delivering the message to
the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender by phone
or by replying this message, and then delete this message from your system.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Simplify the lss16 decoder slightly.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Add support for reading lss16 images, for compatibility with the CLI.
|
|\ \
| |/ |
|