aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't clobber /dev/null when compiling as rootLuciano Rocha2007-05-2513-26/+52
| | | | | | Compiling as root is highly discouraged, but some people do it anyway. gcc_ok, however, can clobber /dev/null due to "-o /dev/null"; this is bad. Instead, write a temporary file and delete it.
* Drop TFTP_MTU to 1440.H. Peter Anvin2007-05-221-1/+1
| | | | | | Drop TFTP_MTU to 1440. This gives TFTP_LARGE_BLK = 1408 = 0x580, which is the roundest number without dropping the MTU significantly below the standard Ethernet MTU.
* Make it safe to call close_file on an already closed file.syslinux-3.50-pre15H. Peter Anvin2007-05-226-10/+12
| | | | | | | | | The SYSLINUX internal API closes a file automatically upon reading to block EOF (not necessarily file EOF!) Thus, it's fairly likely we'll get SI == 0 (closed file) passed to close_file at some point or another. Just plain admit it, and make close_file accept SI == 0 by spec.
* Make the menu system understand INCLUDE as well.syslinux-3.50-pre14H. Peter Anvin2007-05-222-2/+8
| | | | | This adds support for INCLUDE (as opposed to MENU INCLUDE) to the menu system.
* Document INCLUDEH. Peter Anvin2007-05-222-1/+8
|
* Add "include" command to the core syslinux parserH. Peter Anvin2007-05-224-6/+22
|
* getc: make sure EOF is "sticky"H. Peter Anvin2007-05-221-0/+5
| | | | | Make sure to keep all the counters at zero if we hit EOF, so that subsequent calls will also hit EOF (we rely on that in some places.)
* New stackable getc interface, using the real_mode_seg for buffers.H. Peter Anvin2007-05-221-60/+156
| | | | | | Change the getc system so that it is fully stackable. We use the real_mode_seg for the necessary buffers, so using the real_mode_seg across use of open/getc/close is not permitted.
* Revert "ISOLINUX: Include the caching code"H. Peter Anvin2007-05-221-9/+2
| | | | | | This reverts commit c9bd66193212de58d1f7de78e3076b01e0172640. We don't need the functionality after all.
* Revert "Add subroutines to add/remove blocks from the expiry chain"H. Peter Anvin2007-05-221-54/+15
| | | | | | | This reverts commit 8920cf3559c034c947c2dd63892c9dd25453d245. The functionality needs some more polish, but we don't actually need it at the moment.
* Use a segment layout more similar to the other derivativesH. Peter Anvin2007-05-221-3/+3
| | | | | As the difference between the derivatives has decreased, make the segment layout closer to the same (with pktbuf_seg == cache_seg.)
* Add a proper internal close function (close_file)H. Peter Anvin2007-05-225-7/+40
| | | | | | | Add a "close_file" function and hook it up to the long-standing comboot API function. At the moment, all it does is free up internal resources; in particular, for PXELINUX it should also really send an ERROR packet to the server to terminate the connection on that end.
* Add subroutines to add/remove blocks from the expiry chainH. Peter Anvin2007-05-221-15/+54
| | | | | | Add subroutines to add/remove blocks from the expiry chain. This allows a user to remove a block from expiration and thus hold on to the buffer for some time.
* ISOLINUX: Include the caching codesyslinux-3.50-pre13H. Peter Anvin2007-05-221-2/+9
| | | | | Include the caching code in isolinux, and adjust the segments accordingly. This is currently unused, but is indend to be used by getc shortly.
* We need to bloody well set KernelVersion before using it...syslinux-3.50-pre12H. Peter Anvin2007-05-221-0/+1
|
* Fix loading pre-2.00 protocol kernels.syslinux-3.50-pre11H. Peter Anvin2007-05-221-9/+17
| | | | | Fix loading pre-2.00 protocol kernels. This is surprisingly important, since at least memtest86+ mimics such an ancient kernel.
* PXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC.syslinux-3.50-pre10H. Peter Anvin2007-05-112-100/+131
| | | | | | | | | | | | For networks without a stable MAC, or where the MAC is just way too long, the MAC length in the DHCP header is zero and we are supposed to use the client-identifier instead. Use that as the "interface address" for the purpose of getting the config file and in the BOOTIF= option. Right now I have a limit (MAC_MAX) of 32 bytes for this; since that turns into a 99-character filename. While we're at it, clean up the parsing of DHCP config options.
* Remove stale fileH. Peter Anvin2007-05-101-69/+0
|
* Fix <Ctrl-N> for printing network informationsyslinux-3.50-pre9H. Peter Anvin2007-05-091-0/+2
| | | | | - di needs to be pushed to the stack; - need to crlf before printing...
* PXELINUX: Add <Ctrl-N> to print the network informationsyslinux-3.50-pre8H. Peter Anvin2007-05-092-3/+27
| | | | Pressing <Ctrl-N> at the boot prompt will output the ipappend strings.
* Document update of Linux boot protocol.H. Peter Anvin2007-05-091-0/+1
|
* More tweaks to allow bigger stack/heap, and boot protocol adjustmentssyslinux-3.50-pre7H. Peter Anvin2007-05-073-24/+33
| | | | | Seems the su_heapend field was never set up right; also sanitize the way the pre-2.02 command line is handled.
* Make more space for the heap when doing so is possibleH. Peter Anvin2007-05-053-35/+63
| | | | | If we have a modern kernel which is loaded high, we can allow a lot more space for the real-mode heap.
* Update the default names of the MinGW tools.H. Peter Anvin2007-04-261-3/+3
|
* Document the use of the MinGW compiler.H. Peter Anvin2007-04-261-0/+8
|
* Add wrapper function syslinux_run_kernel_image()syslinux-3.50-pre6H. Peter Anvin2007-04-263-1/+75
| | | | Add syslinux_run_kernel_image() wrapper function for API function 0016h.
* linux.c32: saturate memory size to 32 bits if too largeH. Peter Anvin2007-04-261-1/+7
|
* Make the pixel format canonicalization code a bit easier to read.H. Peter Anvin2007-04-101-26/+7
|
* Document recent additions.syslinux-3.50-pre5H. Peter Anvin2007-04-101-0/+3
|
* MBR: fix problems when LBA > 65535*sectors.H. Peter Anvin2007-04-102-35/+35
| | | | | Fix division overflow bug when LBA > 65535*sectors. Bug report by Devin Bayer.
* Fix expansion of palette images to ABGR.H. Peter Anvin2007-04-101-11/+18
| | | | We would expand palette images to BGR, but not to ABGR. Fix.
* Add syslinux_local_boot() wrapper functionH. Peter Anvin2007-04-043-1/+45
| | | | Add API wrapper function for the Local Boot function.
* pxe_get_cached.c: readability improvement.H. Peter Anvin2007-04-031-2/+2
|
* intcall, farcall: readability improvements.syslinux-3.50-pre4H. Peter Anvin2007-04-032-5/+5
|
* A few more syslinux wrapper functionH. Peter Anvin2007-04-034-0/+131
| | | | | | | | Add implementations of a few more syslinux wrapper functions: syslinux_run_command() syslinux_run_default() syslinux_final_cleanup()
* Final cleanup *does* return.H. Peter Anvin2007-04-031-1/+1
|
* set -e so the build stops on error.syslinux-3.50-pre3H. Peter Anvin2007-04-031-1/+1
|
* Move the PCI-scanning code into the library proper.H. Peter Anvin2007-04-033-3/+3
|
* pci.c: change from GPL to MIT license; Erwan has OK'd this change.H. Peter Anvin2007-04-031-5/+20
|
* pcitest.c: remove obsolete fields; formatting cleanupsH. Peter Anvin2007-04-031-20/+35
|
* Fix the handling of namelen and argument parsing in linux.c32Ferenc Wagner2007-04-032-1/+2
|
* ethersel: move RID range parsing into its own function.H. Peter Anvin2007-04-011-13/+21
|
* Remove bogus clobbering of the maskH. Peter Anvin2007-04-011-2/+1
| | | | | Remove bogus clobbering of the DID mask, effectively making the option to set a mask for the DID unusable.
* Return first match in list, not first match in PCI hierarchysyslinux-3.50-pre2H. Peter Anvin2007-04-011-8/+8
| | | | | | Return the first match we find in the list, not the first match we can find on the PCI bus. This allows us to have more specific matches first followed by less specific matches.
* Remove useless attempt at reading pci.idsH. Peter Anvin2007-04-012-91/+0
| | | | | | | We try to read pci.ids over and over to get human-readable strings, and reserve enormous amounts of memory for them. We don't ever actually use them. If we want to have a PCI database we should do that elsewhere, and better.
* Support chaining shuffle descriptors when buffer is too smallsyslinux-3.50-pre1H. Peter Anvin2007-03-303-2/+30
| | | | | | | Provide a method for re-loading shuffle descriptors from a buffer in high memory when the shuffle descriptors are too many to fit in the buffer. This can happen when trying to stitch an initramfs together from parts. Still need library support for this, however.
* Move extlinux boot stuff into /boot/extlinux; /etc/extlinux.conf symlinkH. Peter Anvin2007-03-301-5/+19
| | | | | - Move extlinux boot stuff into /boot/extlinux - /etc/extlinux.conf -> /boot/extlinux/extlinux.conf symlink.
* SYSLINUX API headers, and beginning of implementation.H. Peter Anvin2007-03-207-1/+357
|
* Stealth whitespace cleanupH. Peter Anvin2007-03-201-1/+1
|
* Add interface for querying the syslinux feature flags.H. Peter Anvin2007-03-203-1/+102
|