| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Define close_file slightly tighter:
- It is permitted to call close_file with a zero filehandle
- close_file zeros SI
Fix the handling of the new API in SYSLINUX. It appears file_left was
never actually initialized; it simply didn't matter since the old code
would either trip on reaching the end of the FAT chain or count the
data it needed. Now operating according to spec.
|
|
|
|
|
| |
ISOLINUX support for the API changes needed to handle unknown file
sizes.
|
|
|
|
|
| |
Finally scrub the code and get rid of the old uses of DX:AX for file
size (rather than EAX).
|
|
|
|
|
|
| |
Intel Classic R+ computer with Adaptec 1542CP BIOS 1.02 passes garbage
in sp_drive, and the drive number originally passed in DL does not
have 80h bit set. Check for this case and compensate if appropriate.
|
|
|
|
|
|
|
| |
Support putting virtual kernels in high memory instead of using a
dedicated segment for it. This both reduces the low memory footprint
by 64K, and allows for functionally unlimited labels (tested with over
a hundred thousand.)
|
|
|
|
|
| |
There was a comment which applied to SYSLINUX that had been copied
verbatim to the other derivatives; fix.
|
|
|
|
|
| |
The El Torito spec says "13", but it's implicitly hexadecimal. We got
it right in one place and wrong in another. Fix.
|
|
|
|
|
|
|
| |
The file display and graphics routines used their own file management
since the old getc code did not nest. The new one does (necessary to
support INCLUDE), so use the same routines and get rid of the ad hoc
buffer management.
|
|
|
|
|
|
|
|
|
| |
Remove the last few uses of getcbuf (to extend trackbuf for shuffle
descriptors, and for temp storage during pxelinux config file search.)
As a result, change the way RBFG_brainfuck is handled in pxelinux (at
some point it's probably not worth maintaining anymore, as RBFG is no
longer widely used); add a .bss2 section for the region between the
RBFG zone and the stack.
|
|
|
|
| |
Update copyright lines and standardize the format.
|
|
|
|
|
| |
Initial support for the auxillary data vector, a storage mechanism
intended to support boot-once and similar features.
|
|
|
|
|
|
| |
The $PnP probe has been found to lock up at least one machine for
reasons unknown. Drop it; instead, burn the extra few bytes in the
bootsector to save away ES:DI for later restore.
|
|
|
|
|
| |
Change DriveNo to DriveNumber in ISOLINUX, to match the other
derivatives.
|
|
|
|
|
|
|
|
| |
Remove unused variable BufSafeSec; it was identical to BufSafe in
every way.
At the moment, BufSafe* are always constants; consider if they can be
swapped out for constants or if we want to retain them for flexibility.
|
|
|
|
|
|
| |
Create a guard section .uibss that explicitly is covering the
potential partial-sector-clobber zone, and contains items which are
safe to assume will only be used after full image load.
|
|
|
|
|
|
|
|
|
| |
The image size loaded is bigger than the real image; this is due to
the final sector being fractional. Move variables needed during that
stage from .bss to .bss1.
XXX: Need to audit to make sure this doesn't affect other derivatives
and/or other variables, too.
|
| |
|
|
|
|
|
| |
There is at least one set of CD-ROM BIOSes out there which corrupt FS
on INT 13h, so save and restore all segment registers around INT 13h.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This reverts commit c9bd66193212de58d1f7de78e3076b01e0172640.
We don't need the functionality after all.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Include the caching code in isolinux, and adjust the segments accordingly.
This is currently unused, but is indend to be used by getc shortly.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
NEWS
version
|
| | |
|
|/
|
|
|
| |
Add support for forcing the filetype, and loading a secondary config file.
Also bump the version number to version 3.40.
|
| |
|
| |
|
| |
|
|
|
|
| |
and restoring it. The former option left crap on the stack.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
live in low memory so we don't have to do a bunch on-the-fly relocation,
and produce map files.
|
|
|
|
|
| |
move its base down to 0800h; relocate pxelinux since it needs
copious amounts of bss.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The .bss section at the beginning of each .asm file is now downright
tiny.
|
|
|
|
| |
bss variables near the code where they're defined
|
| |
|
|
|
|
| |
"cluster" as the minimum block
|
|
|
|
|
| |
in syslinux to 8K like the others, expecting to handle subclusters;
more work on cleaning up ldlinux.asm.
|