| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Documented Ctrl-N keystroke from PXELINUX
|
|
|
|
| |
Documented TAB keystroke in syslinux.txt
|
|
|
|
| |
tftp tsize option don't needed anymore starting at version 3.70
|
|
|
|
| |
Updated syslinux.txt possible keystrokes now support F11 and F12
|
|
|
|
| |
Fixed typo in syslinux.txt, repeated F11
|
|
|
|
|
|
|
| |
Fix duplicate spotless target in com32/libutil/Makefile.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
| |
The macro YEAR is a number, not a string, so we have to use the
asciidec macro.
|
|
|
|
|
|
| |
Make the handling of PXENV+ versus !PXE simpler by abstracting the
differences: push the various fields to the stack in a common order
and then process them in common code.
|
| |
|
|
|
|
|
|
|
|
| |
Some, unknown, version of gas or ld miscompiles a relative jump to an
absolute symbol, resulting in a broken isohybrid. Implement a
workaround for it by using a far jmp, which is absolute. Fortunately,
the isohybrid prefix is one of the very few boot sectors we have which
isn't short on space.
|
|
|
|
|
|
| |
This reverts commit 8b9d34885d8a9d5f7e9da6fbc75735ce1a0c945b.
The count here *is* kept in eax, not in ecx.
|
| |
|
|
|
|
|
|
| |
After having reloaded the descriptor buffer, we divide the byte count
to get a descriptor count. That descriptor count belongs in ECX, not
in EAX.
|
|
|
|
|
| |
Old versions of NASM would miscompile forward EQU references. In this
case, fixing that problem is easy, so just do it.
|
|
|
|
|
|
|
| |
Small debugging hack program to probe the PXE stack entry
conditions. This is mostly useful when developing a PXE stack,
but might possibly be handy for finding workarounds for a stack,
too.
|
|
|
|
| |
Use the data buffer already set aside for syslinux_derivative_info().
|
|
|
|
|
|
|
|
|
| |
- Constructed data objects can't be common. Earlier version of
gcc didn't if the objects were explicitly listed extern, but
newer ones need an explicit __attribute__((nocommon)) or
-fno-common.
- Make syslinux_derivative_info() save the entire reply.
|
|
|
|
| |
getcwd.c needs <string.h>
|
| |
|
|
|
|
|
| |
Simplify some of the code in the detection of the API structure.
Based on things discovered while porting this code to gPXE.
|
| |
|
|
|
|
|
|
| |
A simple "cmd" COM32 module, which only echoes a CLI command. This is
mostly useful when running on an alternate CLI, e.g. on top of the
native gPXE COMBOOT interface.
|
|
|
|
|
|
|
|
|
| |
Update gPXE to version 0.9.6+, from commit
277b84c6e7d49f3cf01c855007f591de8c7cb75f in the main gPXE repository.
The only differences is src/config/general.h which has a few protocols
added, and src/arch/i386/prefix/boot1a.S which was called boot1a.s in
the upstream repository.
|
|
|
|
|
|
|
|
|
|
| |
Document the new -r (for RAID) option and bootsecfile as pointed out
by Gert Hulselmans.
-r (RAID) option is described correctly in the man page, so I cut and
paste this description here.
bootsecfile parameter perhaps needs more explanation.
|
|
|
|
|
| |
The "dir" branch has been promoted to mainline, so make the
documentation reflect that.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Well, here's the read-only shell (rosh) that I've been working on.
It's functional but still quite rough. My primary intention of
posting it at this time is such that people have an easy way to
demonstrate to themselves that the library calls I made work.
This should apply as a patch to the head of the "dir" branch and the
patch for c_cflag/c_lflag. The patch is only needed for Linux(without
it, segfaults will occur). I've designed it to compile as a COM32
module and Linux binary when using GNU C (as Syslinux currently
requires GNU C, if I read the Makefiles correctly).
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If currently the only caller of ucs2_to_cp wants to use ES, we might
as well move the ES set/restore into ucs2_to_cp.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Trivially optimize the readdir code
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| | |
| | |
| | |
| | | |
The interface to ucs2_to_cp has changed slightly, it now returns ZF=0
on failure, not CF=1.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Reorganize the codepage handling to make it easier to do ucs2 ->
codepage conversion, this will be used for a future directory lister.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
COMBOOT API: Add calls for directory functions; Implement most only
for FAT (SYSLINUX).
Uses INT 22h AX= 001Fh, 0020h, 0021h and 0022h to prepare for the
COM32 C functions getcwd(), opendir(), readdir(), and closedir(),
respectively. INT22h, AX=001Fh will return a valid value for all
variants. INT22h, AX= 0020h, 0021h, and 0022h are only implemented
for SYSLINUX while other variants will call comapi_err for these 3.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Slightly compactify the getting cached packets messages, by putting
them all on one line.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The minimum size for the PXENV+ structure is 0x28 bytes (for PXE
1.x/2.0); the size will be 0x2C if the !PXE pointer is provided.
|
| |_|/
|/| |
| | |
| | |
| | | |
Clean up and bug fixes of the entry point search. Verify that all
methods work, and print the one we eventually used.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ICANON and ECHO were applied to the control flags not local flags.
If ICANON or ECHO were applied to a serial port on Linux on the x86
architecture, this would change the serial ports baud rate.
From my /usr/include/bits/termios.h (select in-order lines):
/* c_cflag bit meaning */
#define B150 0000005
#define B300 0000007
#define B9600 0000015
#define B38400 0000017
/* c_lflag bits */
#define ICANON 0000002
#define ECHO 0000010
The different baud rates are defined here. If someone set the baud
rate to 9600 and set ICANON on c_cflag, it should change the baud rate
to 38400, dropping communication. Another example is if someone set
the baud rate to 150 the set ICANON and ECHO on c_cflag, it should
change the baud to 38400. If I am interpreting the rest of the file
correctly, a bitmask covering all of the bits used in c_cflag for the
baud rate is 0010017.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Due to a silly coding error, when passed with only two arguments we
would use them in order 1 -- 2 -- 1 instead of 1 -- 2 -- 2 as was
intended. Fix.
Reported-by: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | |
| | |
| | |
| | |
| | | |
Handle the names used in Fedora, now when Fedora includes MinGW32 in
the standard distribution.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
H. Peter Anvin wrote:
> Thanks for the warning. I have updated keytab-lilo in the git tree with
> keytab-lilo.pl from LILO 22.8.
Thank you H. Peter. I just checked it and the new version doesn't work
"out of the box". It says...
syntax error at keytab-lilo line 4, near "eval "
Execution of keytab-lilo aborted due to compilation errors.
Furthermore, after correcting lines 3 and 4 (which are responsible of
the above error), keyboard maps can't be found (by loadkeys utility)
because of an added bad extension (.map instead of .kmap).
Attached is a patch I wrote in order to make it fully work (apply it
against the version of keytab-lilo which is now in the git tree).
|
|/ / |
|
| |
| |
| |
| | |
Load a new keyboard map dynamically
|
| |
| |
| |
| |
| |
| | |
Add a comboot interface to access the keyboard remapping table,
which can be used for either querying or changing the keyboard
map.
|
| |
| |
| |
| | |
Use "skipline" where appropriate instead of reading into the trackbuf.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure we eat the rest of the input line when we encounter a
DEFAULT command that is to be ignored because we have a UI command
already. Do this by making skipline a subroutine.
Based on a patch by Sebastian Hebszt <herbszt@gmx.de>, although
substantially modified.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
NEWS
|
| |\| |
|