| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new directive doesn't seem to work here. Looks like DefaultLevel is never
changed:
core/parseconfig.inc:pc_default: cmp ax,[DefaultLevel]
core/parseconfig.inc:DefaultLevel dw 0 ; The current level of default
core/ui.inc: cmp word [DefaultLevel],1 ; Active UI statement?
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a new "UI" directive to specify a user interface module, instead
of abusing the DEFAULT directive. This allows the DEFAULT directive
to be used for setting the default, even when the menu system is
enabled.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| | | |
|
| | | |
|
| |/
|/| |
|
|/
|
|
|
| |
Trivial module to load a new configuration file from the command
line.
|
|
|
|
|
|
| |
The local domain name is option 15, not option 16. Fix.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Fix dependency generation with certain old versions of NASM, which
omitted the '\n' between dependency lines.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
| |
If a loaded kernel is in ELF format and contains a multiboot header indicating
valid relocation information, prefer the informations from the ELF header.
This is in violation of the Multiboot spec, but it's the way GRUB does
things and Solaris kernels rely on this behaviour.
Signed-of-by: Ralf Ertzinger <ralf@skytale.net>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
We need <stdbool.h>; we might as well add <stdint.h> as well.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
| |
|
|
|
|
|
|
| |
Reorganize the mboot.c32 Solaris print messages slightly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Change DHCP_ACK_SIZE to 2048 just to prevent some systems from doing
stupid things.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Add a "Solaris" mode to mboot.c32, which mimics a nonstandard
extension to Multiboot used by Solaris' pxeboot program.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In safeint mode, don't bother testing for unchanged INT 15h. It
points back at ourselves, anyway, and we end up doing, in the end, the
same thing as the safeint stub would do.
Furthermore, the test was broken for years, and so this is actually
closer to what we originally tested.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
| |
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Make _Exit just an ordinary symbol which aliases _exit. This avoids
some versions of gcc complaining about the inline, which is rather
unnecessary anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
| |
Older versions of gcc/binutils apparently really want parentheses
around macro arguments.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
| |
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
| |
Adopt the moniker "The Syslinux Project", ordinary proper noun
capitalization, to refer to the project as a whole. This leaves the
all-caps SYSLINUX to refer to the FAT loader only.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
| |
Drop a newline we didn't need after all.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|
|
|
|
|
|
|
|
|
|
| |
There is enough evidence that "safeint" is a decent compromise between
The Right Thing[TM] and dealing with the reality of ultra-broken
DOSen. Make it the default.
Clean up some of the command-line parsing code and status printing.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
|