profile/ivi/syslinux.git
17 years agoMBR: one more comment
H. Peter Anvin [Thu, 12 Jul 2007 00:39:55 +0000 (17:39 -0700)]
MBR: one more comment

Comments are good...

17 years agoMBR: shave another ~4 bytes through an ugly error message hack
H. Peter Anvin [Thu, 12 Jul 2007 00:37:00 +0000 (17:37 -0700)]
MBR: shave another ~4 bytes through an ugly error message hack

Use the "return address points to data" trick to shave a few bytes off
the generation of error messages.

17 years agoMBR: add HLT to prevent system from melting on failure
H. Peter Anvin [Thu, 12 Jul 2007 00:25:59 +0000 (17:25 -0700)]
MBR: add HLT to prevent system from melting on failure

In case we hit the death loop, put HLT in it.  It's probably superfluous,
but it can't hurt, and we can always take it out to reclaim the space.

Arguable the death loop is superfluous at all, since int $0x18 should
never return.

17 years agoMBR: add CR LF to the end of messages
H. Peter Anvin [Thu, 12 Jul 2007 00:23:11 +0000 (17:23 -0700)]
MBR: add CR LF to the end of messages

Six bytes down the drain, but people do expect it.  If it becomes
an issue we can remove the period; it's better than the CR LF.  There
might be some way to efficiently issue . \r \n in common code, too.

17 years agoMBR: shave 2 more bytes
H. Peter Anvin [Thu, 12 Jul 2007 00:20:59 +0000 (17:20 -0700)]
MBR: shave 2 more bytes

We always re-read the last partition table on any kind of error, so
no need to prevent the code from clobbering it on failure.

17 years agoMBR: Don't clobber %eax before entering CBIOS code
H. Peter Anvin [Wed, 11 Jul 2007 23:51:46 +0000 (16:51 -0700)]
MBR: Don't clobber %eax before entering CBIOS code

17 years agoMBR: always do setup for EBIOS, makes stack handling easier and saves jmp
H. Peter Anvin [Wed, 11 Jul 2007 23:45:27 +0000 (16:45 -0700)]
MBR: always do setup for EBIOS, makes stack handling easier and saves jmp

17 years agoMBR: Handle the stack in read_sector correctly...
H. Peter Anvin [Wed, 11 Jul 2007 23:41:52 +0000 (16:41 -0700)]
MBR: Handle the stack in read_sector correctly...

17 years agoOne more MBR byte
H. Peter Anvin [Wed, 11 Jul 2007 23:39:25 +0000 (16:39 -0700)]
One more MBR byte

17 years agoAnother 12 bytes shaved off the MBR...
H. Peter Anvin [Wed, 11 Jul 2007 23:38:30 +0000 (16:38 -0700)]
Another 12 bytes shaved off the MBR...

17 years agoAnother 2 bytes off the MBR.
H. Peter Anvin [Wed, 11 Jul 2007 23:22:46 +0000 (16:22 -0700)]
Another 2 bytes off the MBR.

17 years agoAdd some comments to the MBR
H. Peter Anvin [Wed, 11 Jul 2007 23:14:07 +0000 (16:14 -0700)]
Add some comments to the MBR

17 years agoAnother 3 bytes or so off the MBR...
H. Peter Anvin [Wed, 11 Jul 2007 23:11:36 +0000 (16:11 -0700)]
Another 3 bytes or so off the MBR...

17 years agoOne more MBR byte...
H. Peter Anvin [Wed, 11 Jul 2007 22:46:52 +0000 (15:46 -0700)]
One more MBR byte...

17 years agoShave two more bytes off the MBR
H. Peter Anvin [Wed, 11 Jul 2007 22:45:49 +0000 (15:45 -0700)]
Shave two more bytes off the MBR

17 years agoMBR: fix pointer to partition table base
H. Peter Anvin [Wed, 11 Jul 2007 22:40:44 +0000 (15:40 -0700)]
MBR: fix pointer to partition table base

17 years agoShave another byte off the MBR
H. Peter Anvin [Wed, 11 Jul 2007 22:31:04 +0000 (15:31 -0700)]
Shave another byte off the MBR

17 years agoShave an additional ~7 bytes off the MBR
H. Peter Anvin [Wed, 11 Jul 2007 22:21:54 +0000 (15:21 -0700)]
Shave an additional ~7 bytes off the MBR

17 years agoShave a byte off the MBR code.
H. Peter Anvin [Wed, 11 Jul 2007 22:04:31 +0000 (15:04 -0700)]
Shave a byte off the MBR code.

17 years agoMEMDISK: Try for better EDD compliance
H. Peter Anvin [Mon, 9 Jul 2007 04:46:58 +0000 (21:46 -0700)]
MEMDISK: Try for better EDD compliance

17 years agoDocument giving the disk a signature.
H. Peter Anvin [Sat, 7 Jul 2007 00:29:23 +0000 (17:29 -0700)]
Document giving the disk a signature.

17 years agomkdiskimage: give the disk image an MBR signature
H. Peter Anvin [Sat, 7 Jul 2007 00:28:50 +0000 (17:28 -0700)]
mkdiskimage: give the disk image an MBR signature

17 years agoForgot to add our own drive to the drive count! syslinux-3.52-pre3
H. Peter Anvin [Sat, 30 Jun 2007 15:15:17 +0000 (11:15 -0400)]
Forgot to add our own drive to the drive count!

17 years agoDisable vmware workaround until bug report has been substantiated
H. Peter Anvin [Fri, 29 Jun 2007 22:43:31 +0000 (18:43 -0400)]
Disable vmware workaround until bug report has been substantiated

The original reporter is being evasive, and claims the workaround doesn't
work anyway.

17 years agoPXELINUX: if siaddr isn't set, fall back to server identity syslinux-3.52-pre2
H. Peter Anvin [Fri, 29 Jun 2007 16:37:41 +0000 (12:37 -0400)]
PXELINUX: if siaddr isn't set, fall back to server identity

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.

17 years agochain.c32: add support for searching for an MBR signature at runtime.
H. Peter Anvin [Fri, 22 Jun 2007 22:41:16 +0000 (15:41 -0700)]
chain.c32: add support for searching for an MBR signature at runtime.

17 years agoNext version is 3.52 syslinux-3.52-pre1
H. Peter Anvin [Thu, 21 Jun 2007 01:12:57 +0000 (18:12 -0700)]
Next version is 3.52

17 years agoDocument changes since 3.51
H. Peter Anvin [Thu, 21 Jun 2007 01:12:44 +0000 (18:12 -0700)]
Document changes since 3.51

17 years agoAlignment fix when loading multiple kernels.
H. Peter Anvin [Thu, 21 Jun 2007 01:12:18 +0000 (18:12 -0700)]
Alignment fix when loading multiple kernels.

17 years agoMove most messages into the appropriate .inc files
H. Peter Anvin [Thu, 21 Jun 2007 00:43:55 +0000 (17:43 -0700)]
Move most messages into the appropriate .inc files

17 years agoDon't print multiple newlines after initrd...
H. Peter Anvin [Thu, 21 Jun 2007 00:24:10 +0000 (17:24 -0700)]
Don't print multiple newlines after initrd...

17 years agoWorkaround for VMware console bug; make more common code common
H. Peter Anvin [Thu, 21 Jun 2007 00:08:23 +0000 (17:08 -0700)]
Workaround for VMware console bug; make more common code common

17 years agoSimple menu: F-key config was accidentally case sensitive
H. Peter Anvin [Sat, 16 Jun 2007 05:29:35 +0000 (22:29 -0700)]
Simple menu: F-key config was accidentally case sensitive

17 years agoBegin version 3.51 syslinux-3.51 syslinux-3.51-pre1
H. Peter Anvin [Sun, 10 Jun 2007 19:43:46 +0000 (12:43 -0700)]
Begin version 3.51

17 years agoextlinux: "open" takes a mangled pointer in DS:DI
H. Peter Anvin [Sun, 10 Jun 2007 19:42:53 +0000 (12:42 -0700)]
extlinux: "open" takes a mangled pointer in DS:DI

"open" takes a mangled filename, and as is usual with mangled names, it is
pointed to by DI, not SI.

17 years agolstadjust: handle struc/endstruc correctly
H. Peter Anvin [Sun, 10 Jun 2007 19:34:30 +0000 (12:34 -0700)]
lstadjust: handle struc/endstruc correctly

struc/endstruc effectively push/pop the context around them.

17 years agoAdd missing documentation of RAID mode.
H. Peter Anvin [Sat, 9 Jun 2007 23:54:08 +0000 (16:54 -0700)]
Add missing documentation of RAID mode.

17 years agoShow list file addresses in absolute syslinux-3.50
H. Peter Anvin [Sat, 9 Jun 2007 00:13:51 +0000 (17:13 -0700)]
Show list file addresses in absolute

Small Perl script to postprocess the listfile and show absolute addresses
instead of section-relative.  This only applies to the main address, not
to addresses in bracketed fields.

17 years agoUse strcpy to copy MACStr syslinux-3.50-pre23
H. Peter Anvin [Fri, 8 Jun 2007 22:43:24 +0000 (15:43 -0700)]
Use strcpy to copy MACStr

We were using an open-coded string copy with the wrong length.  Use
strcpy instead.

17 years agoCapture the UUID from packet 1 (request) syslinux-3.50-pre22
H. Peter Anvin [Fri, 8 Jun 2007 22:30:22 +0000 (15:30 -0700)]
Capture the UUID from packet 1 (request)

Make sure we capture only the first instance of the UUID, in case
the server does something silly like send back its own UUID.

17 years agoLower case seems to be more common for UUID
H. Peter Anvin [Fri, 8 Jun 2007 22:25:27 +0000 (15:25 -0700)]
Lower case seems to be more common for UUID

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.

17 years agoGenerate config file name based on the UUID
H. Peter Anvin [Fri, 8 Jun 2007 22:17:01 +0000 (15:17 -0700)]
Generate config file name based on the UUID

- 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.

17 years agoSanitize handling of client identifier option
H. Peter Anvin [Fri, 8 Jun 2007 04:45:33 +0000 (21:45 -0700)]
Sanitize handling of client identifier option

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.

17 years agoFix the INT 18h patch offset for the RAID mode (-r) option syslinux-3.50-pre21
H. Peter Anvin [Thu, 7 Jun 2007 23:16:30 +0000 (16:16 -0700)]
Fix the INT 18h patch offset for the RAID mode (-r) option

The calculation of the INT 18h patch offset for RAID mode (-r) was
incorrect.  Fix it.

17 years agoStealth whitespace cleanup
H. Peter Anvin [Wed, 6 Jun 2007 05:48:15 +0000 (22:48 -0700)]
Stealth whitespace cleanup

17 years agovesacon_set_background: Need "volatile" asm syslinux-3.50-pre20
H. Peter Anvin [Wed, 6 Jun 2007 01:48:43 +0000 (18:48 -0700)]
vesacon_set_background: Need "volatile" asm

17 years agoAllow a flat color to be specified as a background.
H. Peter Anvin [Wed, 6 Jun 2007 01:41:50 +0000 (18:41 -0700)]
Allow a flat color to be specified as a background.

17 years agoNot all terminals home the cursor on CSI 2 J
H. Peter Anvin [Wed, 6 Jun 2007 01:18:50 +0000 (18:18 -0700)]
Not all terminals home the cursor on CSI 2 J

Not all terminals home the cursor on CSI 2 J, so send
CSI 2 J CSI H.

17 years agoUnify hexval functions; fix % in printf string
H. Peter Anvin [Wed, 6 Jun 2007 01:18:02 +0000 (18:18 -0700)]
Unify hexval functions; fix % in printf string

17 years agoClarify that the background is always an image file
H. Peter Anvin [Wed, 6 Jun 2007 01:11:37 +0000 (18:11 -0700)]
Clarify that the background is always an image file

17 years agoFix alignment of tab and timeout messages syslinux-3.50-pre19
H. Peter Anvin [Tue, 5 Jun 2007 21:08:01 +0000 (14:08 -0700)]
Fix alignment of tab and timeout messages

17 years agocom32: change the message color scheme; background 0 is always transparent
H. Peter Anvin [Tue, 5 Jun 2007 20:52:03 +0000 (13:52 -0700)]
com32: change the message color scheme; background 0 is always transparent

Change the default message color scheme, and allow the user to tweak the
global parameters as well as individual entries.

17 years agoRAID mode installer support for SYSLINUX syslinux-3.50-pre18
H. Peter Anvin [Sat, 2 Jun 2007 01:35:25 +0000 (18:35 -0700)]
RAID mode installer support for SYSLINUX

Hook up RAID mode in the installers for SYSLINUX

17 years agoRemove unused set_8() function
H. Peter Anvin [Sat, 2 Jun 2007 01:20:17 +0000 (18:20 -0700)]
Remove unused set_8() function

Remove unused set_8() function, to keep gcc quiet.

17 years agoRAID mode installer support for extlinux
H. Peter Anvin [Sat, 2 Jun 2007 01:18:19 +0000 (18:18 -0700)]
RAID mode installer support for extlinux

Hook up RAID mode in the extlinux installer.

17 years ago"RAID mode": execute INT 18h on boot failure instead of wait for key
H. Peter Anvin [Sat, 2 Jun 2007 01:17:46 +0000 (18:17 -0700)]
"RAID mode": execute INT 18h on boot failure instead of wait for key

In "RAID mode" we want to execute INT 18h on boot failure instead of
waiting for a user keypress.

17 years agoShift horiontaly timeout message when HSHIFT is set syslinux-3.50-pre17
Otavio Salvador [Thu, 31 May 2007 19:55:16 +0000 (16:55 -0300)]
Shift horiontaly timeout message when HSHIFT is set

17 years agoDocument F-key help in the simple menu system syslinux-3.50-pre16
H. Peter Anvin [Fri, 1 Jun 2007 00:08:27 +0000 (17:08 -0700)]
Document F-key help in the simple menu system

17 years agoAdd file missing from previous checkin
H. Peter Anvin [Fri, 1 Jun 2007 00:07:40 +0000 (17:07 -0700)]
Add file missing from previous checkin

17 years agoHook up F-key help for the menu system, document
H. Peter Anvin [Fri, 1 Jun 2007 00:05:02 +0000 (17:05 -0700)]
Hook up F-key help for the menu system, document

17 years agoFix decoding of <F11> and <F12>
H. Peter Anvin [Fri, 1 Jun 2007 00:04:43 +0000 (17:04 -0700)]
Fix decoding of <F11> and <F12>

17 years agoIf no serial console is configured, don't bother calling into it
H. Peter Anvin [Thu, 31 May 2007 22:53:37 +0000 (15:53 -0700)]
If no serial console is configured, don't bother calling into it

If there is no serial console configured, we can simply drop writes
from com32 rather than letting syslinux do that.

17 years agoDocument that we disabled polling for ARP.
H. Peter Anvin [Thu, 31 May 2007 22:47:25 +0000 (15:47 -0700)]
Document that we disabled polling for ARP.

17 years agoDisable polling for ARP during idle.
H. Peter Anvin [Thu, 31 May 2007 22:46:48 +0000 (15:46 -0700)]
Disable polling for ARP during idle.

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.

17 years agoCorrect inverted handling of Ctrl-F
H. Peter Anvin [Thu, 31 May 2007 22:43:49 +0000 (15:43 -0700)]
Correct inverted handling of Ctrl-F

17 years agoSimple program to dump serial console info
H. Peter Anvin [Thu, 31 May 2007 22:43:18 +0000 (15:43 -0700)]
Simple program to dump serial console info

17 years agoImplement syslinux_serial_console_info()
H. Peter Anvin [Thu, 31 May 2007 22:42:50 +0000 (15:42 -0700)]
Implement syslinux_serial_console_info()

17 years agoansi.h: remove unused field
H. Peter Anvin [Thu, 31 May 2007 22:41:50 +0000 (15:41 -0700)]
ansi.h: remove unused field

17 years agoHacky debugging function by setting VESA pixels, sometimes useful
H. Peter Anvin [Thu, 31 May 2007 22:40:14 +0000 (15:40 -0700)]
Hacky debugging function by setting VESA pixels, sometimes useful

17 years agoansi.c: minor cleanups
H. Peter Anvin [Thu, 31 May 2007 22:39:18 +0000 (15:39 -0700)]
ansi.c: minor cleanups

17 years agovesa/drawtxt.c: remove divide caused by %
H. Peter Anvin [Thu, 31 May 2007 22:37:53 +0000 (15:37 -0700)]
vesa/drawtxt.c: remove divide caused by %

Although this particular % should be reducible to a mask, it looks
like gcc doesn't deduce that.

17 years agoxserial_write: handle the new \1..\5 control sequences
H. Peter Anvin [Thu, 31 May 2007 22:35:55 +0000 (15:35 -0700)]
xserial_write: handle the new \1..\5 control sequences

17 years agopxelinux: Save/set up/restore ES around init.inc
H. Peter Anvin [Thu, 31 May 2007 19:01:15 +0000 (12:01 -0700)]
pxelinux: Save/set up/restore ES around init.inc

At this point, ES points to the PXE entry structure, but init.inc
assumes ES == DS.

17 years agoAdd missing parenthesis
H. Peter Anvin [Thu, 31 May 2007 18:53:55 +0000 (11:53 -0700)]
Add missing parenthesis

17 years agoFix problem where the command line would get truncated during edit
H. Peter Anvin [Thu, 31 May 2007 18:47:01 +0000 (11:47 -0700)]
Fix problem where the command line would get truncated during edit

Fix a problem where, during edit, the command line would occationally lose
the last character.

17 years agoImprove comment
H. Peter Anvin [Thu, 31 May 2007 18:46:13 +0000 (11:46 -0700)]
Improve comment

17 years agoRemove Linux test compilation
H. Peter Anvin [Thu, 31 May 2007 18:39:53 +0000 (11:39 -0700)]
Remove Linux test compilation

Remove support for Linux test compilation.  Use Qemu for testing, instead.

17 years agoChange \2#0 -> \1#
H. Peter Anvin [Thu, 31 May 2007 18:37:20 +0000 (11:37 -0700)]
Change \2#0 -> \1#

Now when attribute codes can be different lengths, use that...

17 years agoHandle color tables with more than 100 entries
H. Peter Anvin [Thu, 31 May 2007 04:31:41 +0000 (21:31 -0700)]
Handle color tables with more than 100 entries

For sane handling of message files with attributes, we need to be able
to do more than 256 attributes.  The easiest way is to simply allow a
table to be that large; we have enough memory for the job.

17 years agoAdd support to change menu vertical and horizontal shifting
Otavio Salvador [Thu, 31 May 2007 02:26:08 +0000 (23:26 -0300)]
Add support to change menu vertical and horizontal shifting

Two new options has been add to allow to change the menu position and
also makes it backward compatible with previous configuration files.

The new options are 'vshift' and 'hshift'

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
17 years agoParse F-key help commands in the menu system
H. Peter Anvin [Thu, 31 May 2007 00:45:32 +0000 (17:45 -0700)]
Parse F-key help commands in the menu system

This adds support for parsing the F-key help commands in the menu
system; it still doesn't actually do anything with them.

17 years agoAllow binding help text to F11 and F12.
H. Peter Anvin [Thu, 31 May 2007 00:17:11 +0000 (17:17 -0700)]
Allow binding help text to F11 and F12.

Fix the odd anomaly that one can't bind help text to F11 and F12.

17 years agoAdd "help" to the comment
H. Peter Anvin [Wed, 30 May 2007 23:49:57 +0000 (16:49 -0700)]
Add "help" to the comment

Add the "help" entry to list in comment

17 years agoDon't clobber /dev/null when compiling as root
Luciano Rocha [Wed, 23 May 2007 20:50:16 +0000 (21:50 +0100)]
Don't clobber /dev/null when compiling as root

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.

17 years agoDrop TFTP_MTU to 1440.
H. Peter Anvin [Wed, 23 May 2007 06:58:32 +0000 (23:58 -0700)]
Drop TFTP_MTU to 1440.

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.

17 years agoMake it safe to call close_file on an already closed file. syslinux-3.50-pre15
H. Peter Anvin [Wed, 23 May 2007 06:27:46 +0000 (23:27 -0700)]
Make it safe to call close_file on an already closed file.

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.

17 years agoMake the menu system understand INCLUDE as well. syslinux-3.50-pre14
H. Peter Anvin [Wed, 23 May 2007 06:03:47 +0000 (23:03 -0700)]
Make the menu system understand INCLUDE as well.

This adds support for INCLUDE (as opposed to MENU INCLUDE) to the
menu system.

17 years agoDocument INCLUDE
H. Peter Anvin [Wed, 23 May 2007 06:03:08 +0000 (23:03 -0700)]
Document INCLUDE

17 years agoAdd "include" command to the core syslinux parser
H. Peter Anvin [Wed, 23 May 2007 05:58:57 +0000 (22:58 -0700)]
Add "include" command to the core syslinux parser

17 years agogetc: make sure EOF is "sticky"
H. Peter Anvin [Wed, 23 May 2007 05:46:25 +0000 (22:46 -0700)]
getc: make sure EOF is "sticky"

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.)

17 years agoNew stackable getc interface, using the real_mode_seg for buffers.
H. Peter Anvin [Wed, 23 May 2007 05:40:39 +0000 (22:40 -0700)]
New stackable getc interface, using the real_mode_seg for buffers.

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.

17 years agoRevert "ISOLINUX: Include the caching code"
H. Peter Anvin [Wed, 23 May 2007 04:39:11 +0000 (21:39 -0700)]
Revert "ISOLINUX: Include the caching code"

This reverts commit c9bd66193212de58d1f7de78e3076b01e0172640.

We don't need the functionality after all.

17 years agoRevert "Add subroutines to add/remove blocks from the expiry chain"
H. Peter Anvin [Wed, 23 May 2007 04:38:34 +0000 (21:38 -0700)]
Revert "Add subroutines to add/remove blocks from the expiry chain"

This reverts commit 8920cf3559c034c947c2dd63892c9dd25453d245.

The functionality needs some more polish, but we don't actually need
it at the moment.

17 years agoUse a segment layout more similar to the other derivatives
H. Peter Anvin [Wed, 23 May 2007 04:02:34 +0000 (21:02 -0700)]
Use a segment layout more similar to the other derivatives

As the difference between the derivatives has decreased, make the
segment layout closer to the same (with pktbuf_seg == cache_seg.)

17 years agoAdd a proper internal close function (close_file)
H. Peter Anvin [Wed, 23 May 2007 03:19:34 +0000 (20:19 -0700)]
Add a proper internal close function (close_file)

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.

17 years agoAdd subroutines to add/remove blocks from the expiry chain
H. Peter Anvin [Wed, 23 May 2007 03:18:13 +0000 (20:18 -0700)]
Add subroutines to add/remove blocks from the expiry chain

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.

17 years agoISOLINUX: Include the caching code syslinux-3.50-pre13
H. Peter Anvin [Wed, 23 May 2007 02:41:50 +0000 (19:41 -0700)]
ISOLINUX: Include the caching code

Include the caching code in isolinux, and adjust the segments accordingly.
This is currently unused, but is indend to be used by getc shortly.

17 years agoWe need to bloody well set KernelVersion before using it... syslinux-3.50-pre12
H. Peter Anvin [Wed, 23 May 2007 00:43:18 +0000 (17:43 -0700)]
We need to bloody well set KernelVersion before using it...

17 years agoFix loading pre-2.00 protocol kernels. syslinux-3.50-pre11
H. Peter Anvin [Tue, 22 May 2007 22:46:32 +0000 (15:46 -0700)]
Fix loading pre-2.00 protocol kernels.

Fix loading pre-2.00 protocol kernels.  This is surprisingly important,
since at least memtest86+ mimics such an ancient kernel.

17 years agoPXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC. syslinux-3.50-pre10
H. Peter Anvin [Sat, 12 May 2007 01:39:29 +0000 (18:39 -0700)]
PXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC.

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.