summaryrefslogtreecommitdiff
path: root/com32
Commit message (Collapse)AuthorAgeFilesLines
* pcitest: display "1 bus found" instead of "1 buses found"Sebastian Herbszt2008-07-071-1/+1
| | | | | | Fix the text for pci_bus_list->count == 1 ("1 bus found"). - Sebastian
* Allow the initrd to be specified on a separate linesyslinux-3.71-pre4H. Peter Anvin2008-07-031-0/+14
| | | | | Allow the initrd to be specified on a separate line from command-line options (append). This apparently can help certain tools.
* Simple menu: really avoid disabled entriessyslinux-3.71-pre2H. Peter Anvin2008-07-021-22/+30
| | | | Really, really try to avoid stepping on disabled entries...
* chain.c32: allow "boot" as a drive specificationH. Peter Anvin2008-06-301-13/+32
| | | | | Allow "boot" as the drive specification; this can be used both with partition numbers and with loaders.
* mboot.c32: no need to include the ANSI enginesyslinux-3.70-pre24H. Peter Anvin2008-06-241-2/+3
| | | | We don't need the ANSI engine in mboot.c32.
* Default to \n -> \r\n in ANSI and xserialH. Peter Anvin2008-06-244-5/+8
| | | | | | | | | | | 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.
* chain.c32: use a more Linux-kernel-like syntaxH. Peter Anvin2008-06-201-22/+27
| | | | | Make the syntax for chain.c32 more Linux-kernel-like. This also makes parsing easier, so it's a win all around.
* chain.c: avoid comma-space in assembly stubsH. Peter Anvin2008-06-191-14/+14
| | | | | Comma-space takes up too much horizontal space, since we want to be able to comment properly.
* chain.c32: check the stub sources into the treeH. Peter Anvin2008-06-192-0/+44
| | | | | | 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.
* Add address aliases for freedos and msdosH. Peter Anvin2008-06-191-0/+6
|
* chain.c32: minor stylistic cleanupH. Peter Anvin2008-06-191-2/+1
|
* chain.c: we can't rely on dosmem and int13 in here...H. Peter Anvin2008-06-191-86/+119
| | | | | | | | 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.
* chain.c32: support loading DOS kernelsH. Peter Anvin2008-06-181-14/+88
| | | | | | | | | | | | 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.
* <syslinux/bootrm.h>: fix order of SS and DSH. Peter Anvin2008-06-181-2/+2
| | | | | SS is segment 2, DS is segment 3; this header had them backwards. Fortunately not too many things relied on having DS != SS.
* chain.c32: finalize the NTLDR interfacesyslinux-3.70-pre18H. Peter Anvin2008-06-151-47/+78
| | | | Settle on a final implementation of the NTLDR support.
* loadfile: make sure we don't trash errnoH. Peter Anvin2008-06-151-1/+6
| | | | Make sure we don't trash a useful value in errno.
* pci: fix off-by-one error and introduce MAX_PCI_FUNCSebastian Herbszt2008-06-132-8/+9
| | | | | | | | | | | | | | | | | | | | | | | 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
* chain.c32: don't swap drives when already primarysyslinux-3.70-pre17H. Peter Anvin2008-06-121-3/+3
| | | | | Don't install the swap stub when we are already the primary drive, even if -swap is specified.
* chain.c32: support swapping BIOS drive numbersH. Peter Anvin2008-06-121-22/+83
| | | | Support installing a stub to swap BIOS drive numbers.
* chain: use shuffle API; support loading a boot fileH. Peter Anvin2008-06-121-27/+100
| | | | | Use the shuffle API, and support loading a boot file instead of the standard boot sector. This should be able to load NTLDR.
* Aligning memcpy/memmove/mempcpy/memset for libcom32H. Peter Anvin2008-06-065-80/+308
| | | | Aligning versions of memcpy/memmove/mempcpy/memset for libcom32.
* Centralize configurables; better "make install" etcH. Peter Anvin2008-05-296-16/+10
| | | | | | | Begin the process of centralizing configurables. Improve "make install" and "make netinstall"; add "make extbootinstall".
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-296-6/+6
| | | | | | | | 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.
* Merge commit 'origin/master' into gpxe-addedH. Peter Anvin2008-05-286-7/+7
|\ | | | | | | | | | | | | Conflicts: NEWS version
| * Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-125-5/+5
| | | | | | | | -fstack-protector flag enabled by default.
| * chain.c32: fix booting from logical partitionsSergey Vlasov2008-04-241-1/+1
| | | | | | | | | | | | | | | | 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>
| * syslinux 3.63: Use $(CC) for examining compiler optionsMaciej W. Rozycki2008-04-171-1/+1
| | | | | | | | | | Following changes to other Makefiles use $(CC) for examining compiler options here as well.
* | Merge commit 'syslinux-3.63' into gpxe-addedsyslinux-3.70-pre9H. Peter Anvin2008-04-104-191/+436
|\ \ | |/ | | | | | | | | | | Conflicts: NEWS com32/modules/Makefile
| * movebits: rewrite significant chunks of the algorithmsyslinux-3.63-pre5H. Peter Anvin2008-04-091-166/+246
| | | | | | | | | | | | | | | | | | 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.
| * zonelist.c: Fix the coalescing of identical rangesH. Peter Anvin2008-04-091-7/+6
| | | | | | | | | | The old code could fail to coalesce backwards in the case where a range is totally obliterated. For now, just scan the whole list.
| * sdi.c32: be a tad more verbose.H. Peter Anvin2008-04-081-1/+5
| | | | | | | | Print minimal message while loading.
| * movebits: use the memmap data structure for the freelistH. Peter Anvin2008-04-081-152/+80
| | | | | | | | | | | | 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.
| * movebits: handle the case of an upward overlap move with obstaclesH. Peter Anvin2008-04-081-115/+187
| | | | | | | | | | 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 ImageH. Peter Anvin2008-03-312-1/+163
| | | | | | | | COM32 module to load a Microsoft System Deployment Image (SDI) file.
* | gPXE SAN boot moduleH. Peter Anvin2008-03-282-1/+142
| | | | | | | | | | Trivial COM32 module which accepts a sanboot command and passes it on to gPXE.
* | Add stpcpy() and implement version/derivative queriesH. Peter Anvin2008-03-285-2/+120
| | | | | | | | | | Add stpcpy(), and actually implement syslinux_version() and syslinux_derivative_info().
* | Merge commit 'syslinux-3.63-pre2' into nolensyslinux-3.70-pre5H. Peter Anvin2008-03-207-38/+36
|\ \ | |/
| * Merge commit 'f9ac61d6178d4994cd646fd4b6c4bb891351624c'H. Peter Anvin2008-03-201-1/+1
| |\
| | * Remove reference to readpit.c32, an experimental moduleH. Peter Anvin2008-03-081-1/+1
| | | | | | | | | | | | | | | Remove reference to readpit.c32, an experimental module never intended for release.
| * | Fixing wrong offsets in dmiSebastian Herbszt2008-03-202-10/+10
| | | | | | | | | | | | | | | | | | | | | DMI code have some wrong offsets. This patch fixes this offsets and improve the grammar. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | PCI detection code doesn't corrupt memory anymore (2nd try)Erwan2008-03-202-25/+23
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 gccH. Peter Anvin2008-03-053-4/+4
| | | | | | | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
| * Clean up .*.d files for "make tidy" in libutilH. Peter Anvin2008-03-031-1/+1
| |
* | Clean up .*.d files for "make tidy" in libutilH. Peter Anvin2008-03-031-1/+1
| |
* | Merge commit 'origin/master' into nolensyslinux-3.70-pre4H. Peter Anvin2008-03-038-12/+28
|\ \ | |/ | | | | | | | | Conflicts: version
| * Prevent inclusion of system include files when inappropriateH. Peter Anvin2008-03-038-12/+28
| | | | | | | | | | Use "-nostdinc -iwithprefix include" to prevent the inclusion of system header files, but still permitting *compiler* header files.
* | VESA: Simplify the lss16 decoderH. Peter Anvin2008-03-031-11/+6
| | | | | | | | Simplify the lss16 decoder slightly.
* | Drop unnecessary CLD instructions.H. Peter Anvin2008-03-036-23/+9
| | | | | | | | | | | | 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.
* | VESA library: add support for reading lss16 imagesH. Peter Anvin2008-03-031-1/+130
| | | | | | | | Add support for reading lss16 images, for compatibility with the CLI.
* | Merge commit 'origin/master' into nolenH. Peter Anvin2008-03-034-56/+74
|\ \ | |/