summaryrefslogtreecommitdiff
path: root/pxelinux.asm
Commit message (Collapse)AuthorAgeFilesLines
* PXELINUX: if siaddr isn't set, fall back to server identitysyslinux-3.52-pre2H. Peter Anvin2007-06-291-0/+9
| | | | | | | If the siaddr field in the DHCP header isn't set, fall back to the server identity option. This seems to match the behaviour of the PXE stacks, and some (braindead) DHCP servers don't allow the server identity to be set.
* Move most messages into the appropriate .inc filesH. Peter Anvin2007-06-201-33/+0
|
* Workaround for VMware console bug; make more common code commonH. Peter Anvin2007-06-201-22/+3
|
* Use strcpy to copy MACStrsyslinux-3.50-pre23H. Peter Anvin2007-06-081-2/+1
| | | | | We were using an open-coded string copy with the wrong length. Use strcpy instead.
* Capture the UUID from packet 1 (request)syslinux-3.50-pre22H. Peter Anvin2007-06-081-7/+8
| | | | | Make sure we capture only the first instance of the UUID, in case the server does something silly like send back its own UUID.
* Lower case seems to be more common for UUIDH. Peter Anvin2007-06-081-18/+19
| | | | | | | | From a brief look around the Internet, it seems UUID is more commonly written in lower case (still with the funny dash pattern, though.) Stick with that convention. Also, unify upper-vs-lower-case hexadecimal string production.
* Generate config file name based on the UUIDH. Peter Anvin2007-06-081-100/+162
| | | | | | - Generate a config file name based on the UUID as well as previous types; - Get better about picking up client identifier option; - Clean up config file name generation.
* Sanitize handling of client identifier optionH. Peter Anvin2007-06-071-0/+8
| | | | | The first byte of the client identifier is the identifier type. Look at that one first and only copy if it matches the hardware ARP type.
* Disable polling for ARP during idle.H. Peter Anvin2007-05-311-2/+17
| | | | | | Disable polling for ARP during idle. On some PXE stacks, e.g. Marvell, this just takes way too long. Compared to that, losing an ARP is a relatively benign event.
* pxelinux: Save/set up/restore ES around init.incH. Peter Anvin2007-05-311-1/+4
| | | | | At this point, ES points to the PXE entry structure, but init.inc assumes ES == DS.
* Allow binding help text to F11 and F12.H. Peter Anvin2007-05-301-13/+1
| | | | Fix the odd anomaly that one can't bind help text to F11 and F12.
* 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-221-1/+3
| | | | | | | | | 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.
* 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-221-0/+12
| | | | | | | 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.
* PXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC.syslinux-3.50-pre10H. Peter Anvin2007-05-111-100/+129
| | | | | | | | | | | | 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.
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-141-3/+3
|
* Make sure we can read the config file name even after changing it...syslinux-3.40-pre7H. Peter Anvin2007-02-191-30/+21
|
* Add support for forcing the filetype, and loading a secondary config file.H. Peter Anvin2006-09-221-3/+2
| | | | | Add support for forcing the filetype, and loading a secondary config file. Also bump the version number to version 3.40.
* PXELINUX: Print an error message if the config file is not foundsyslinux-3.20-pre19H. Peter Anvin2006-08-211-0/+3
|
* In kaboom, use standard macro for resetting the stack where applicableH. Peter Anvin2006-08-211-5/+1
|
* When exiting a COMBOOT/COM32 module, reset the stack instead of savingH. Peter Anvin2006-08-171-50/+2
| | | | and restoring it. The former option left crap on the stack.
* PXELINUX: Fail if we couldn't get the config fileCurtis Doty2006-07-131-1/+1
| | | | | | Consider it a fatal error if we didn't get a config file under PXELINUX. Unlike the other derivatives, it usually indicates a transient error -- specifically a network error.
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-031-26/+26
|
* Revert USE_PXE_PROVIDED_STACK change.hpa2005-08-281-1/+8
|
* Register-handling cleanups for searchdir.hpa2005-08-221-4/+7
|
* Clean up(?) the local boot issues?hpa2005-08-211-3/+2
|
* Fix dependency generation.syslinux-3.10-pre14hpa2005-08-201-1/+2
|
* Reorganize memory so we don't have to relocate pxelinux and have morehpa2005-08-201-1/+3
| | | | stack for extlinux; add tool to check for section overflow.
* Enable stack-switching modesyslinux-3.10-pre13hpa2005-08-191-1/+1
|
* Fix stack-switching mode (USE_PXE_PROVIDED_STACK == 0)hpa2005-08-191-3/+15
|
* Saner idle call semanticshpa2005-08-191-0/+2
|
* If onerror is set, invoke onerror on escapehpa2005-08-181-35/+2
|
* Improved handling of ARP wait; add idle function.syslinux-3.08-pre3hpa2005-01-201-1/+1
|
* 3.07: Fix chainloadinghpa2005-01-121-7/+13
|
* Add support for non-FQDN hostnames.hpa2004-12-281-0/+22
|
* Fix pxelinux relocation; work around infinite loop in pxelinux mangle_namehpa2004-12-281-10/+16
|
* Save list of DNS servers; do DNS lookup for hostnameshpa2004-12-271-2/+38
|
* More work on using sections for memory alignment. Make bcopy32 alwayshpa2004-12-271-9/+8
| | | | | live in low memory so we don't have to do a bunch on-the-fly relocation, and produce map files.
* Reorganize memory slightly; split .bss into .bss and .earlybss andhpa2004-12-271-14/+33
| | | | | move its base down to 0800h; relocate pxelinux since it needs copious amounts of bss.
* Detect null filenames correctly (problems in both pxelinux and extlinux)syslinux-3.00-pre2hpa2004-12-221-0/+1
|
* Support alternate TFTP servers via filename syntax.syslinux-3.00-pre1hpa2004-12-221-30/+123
|
* Add an API function to get the IPAPPEND strings.hpa2004-12-211-6/+8
| | | | Add a dummy MENU command to specify menu-specific options.
* Fix some additional common code issues; fix dangling ES in pxelinuxhpa2004-12-191-13/+2
|
* More common code cleanup; actually use the code to compress vkernelshpa2004-12-191-77/+15
|
* Fix the use of MAC handling in pxelinux; fix copy_over_selfsyslinux-2.20-pre4hpa2004-12-171-3/+5
|
* Actually use sections, and move common variables into the .inc files.syslinux-2.20-pre3hpa2004-12-171-90/+10
| | | | | The .bss section at the beginning of each .asm file is now downright tiny.
* Move the .bss to a separate section so we can at least begin to movehpa2004-12-171-21/+21
| | | | bss variables near the code where they're defined
* More cleanups; try to get rid of the now-obsolete definition ofhpa2004-12-161-5/+5
| | | | "cluster" as the minimum block
* Reorganize memory map to make use of 0x3000..0x5000; reduce trackbufsizehpa2004-12-161-11/+5
| | | | | in syslinux to 8K like the others, expecting to handle subclusters; more work on cleaning up ldlinux.asm.