Gene Cumm [Sun, 3 Oct 2010 11:00:25 +0000 (07:00 -0400)]
rosh: In main, use string macro directly
Gene Cumm [Sun, 3 Oct 2010 10:59:44 +0000 (06:59 -0400)]
rosh: Change rosh_run() to use argc/argv
Gene Cumm [Sat, 2 Oct 2010 17:20:07 +0000 (13:20 -0400)]
rosh: Change rosh_help() to use the string passed to it directly
Gene Cumm [Sat, 2 Oct 2010 05:11:23 +0000 (01:11 -0400)]
rosh: ROSH_DEBUG_ARGV_V in header
Gene Cumm [Sat, 2 Oct 2010 05:10:49 +0000 (01:10 -0400)]
rosh: convert rosh_cat() to argc/argv
Gene Cumm [Sat, 2 Oct 2010 05:05:03 +0000 (01:05 -0400)]
rosh: Add function header comments that were missing
Gene Cumm [Sat, 2 Oct 2010 04:55:02 +0000 (00:55 -0400)]
rosh: Fix warning on rosh_ls_arg(); remove rosh_echo() for rosh_pr_argv()
Gene Cumm [Sat, 2 Oct 2010 04:43:24 +0000 (00:43 -0400)]
rosh: Rename function as it's verbose
rosh_pr_argv and ROSH_DEBUG_ARGV are verbose, printing the
argument number and single-quoted string out.
Gene Cumm [Sat, 2 Oct 2010 04:18:27 +0000 (00:18 -0400)]
rosh: closedir() only if actually opened
Gene Cumm [Sat, 2 Oct 2010 04:16:54 +0000 (00:16 -0400)]
rosh: compact previous commit
Gene Cumm [Sat, 2 Oct 2010 04:13:38 +0000 (00:13 -0400)]
rosh: Fix rosh_ls_arg() to prevent segfault on access denied
Gene Cumm [Sat, 2 Oct 2010 04:03:29 +0000 (00:03 -0400)]
rosh: main, prompt and command try to use argc/argv mostly
prompt still uses a string but parses it and passes the parsed
argc/argv pair to command. main doesn't need a string anymore
Gene Cumm [Fri, 1 Oct 2010 03:11:10 +0000 (23:11 -0400)]
rosh: rosh_cd fix DEBUG
Gene Cumm [Fri, 1 Oct 2010 03:08:24 +0000 (23:08 -0400)]
rosh: fix errors in previous commit
Gene Cumm [Fri, 1 Oct 2010 03:03:35 +0000 (23:03 -0400)]
rosh: change rosh_cd() to use argc/argv
Gene Cumm [Fri, 1 Oct 2010 02:41:21 +0000 (22:41 -0400)]
rosh: Use internal parser for argc/argv; use argc/argv in rosh_command
Gene Cumm [Fri, 24 Sep 2010 02:06:10 +0000 (22:06 -0400)]
rosh: start parse_args(); prep for use; make print_argv()
parse_args() for parsing a string into an argv/argc pair for easier
parsing and the potential use of getopt().
print_argv() for printing an argv/argc pair to show functionality
Gene Cumm [Tue, 20 Jul 2010 15:56:28 +0000 (11:56 -0400)]
rosh: fix commented out WS usage in linux to grab screen size
Gene Cumm [Fri, 9 Jul 2010 00:05:39 +0000 (20:05 -0400)]
rosh: add echo
Gene Cumm [Tue, 27 Jul 2010 02:54:37 +0000 (22:54 -0400)]
Merge branch 'm' into rosh_for_hpa
H. Peter Anvin [Mon, 26 Jul 2010 20:57:34 +0000 (13:57 -0700)]
core: define and use set_flags() helper
Rather than opencoding the arithmetic flag mask, define an inline to
make that happen properly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 26 Jul 2010 20:33:37 +0000 (13:33 -0700)]
sample: remove obsolete "raw" comboot/com32 samples
We really don't want people to write code without using the library,
so just remove these obsolete and no longer functional samples.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Gene Cumm [Mon, 26 Jul 2010 19:09:43 +0000 (15:09 -0400)]
libmenu: Fix cursor on exit from showmenus()
This fixes the issue in hdt.c32 that Kent Robotti noticed where
exiting directly from Menu Mode caused the cursor to not be displayed.
This same issue also affects com32/cmenu/simple.c32 and probably
others using showmenus().
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 26 Jul 2010 00:27:37 +0000 (17:27 -0700)]
core: don't hang if no config file is found
If we can't find a configuration file, we need to do something
slightly more friendly than hanging.
Reported-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 21 Jul 2010 19:33:13 +0000 (12:33 -0700)]
win64: experimental Win64 installer (syslinux64.exe)
Experimental Win64 installer. This is necessary to be able to run on
WinPE64, since WinPE64 doesn't support running 32-bit binaries.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Wed, 21 Jul 2010 19:00:12 +0000 (12:00 -0700)]
win32: fix README, adjust broken +x bits
Fix the win32/README file and adjust some stray +x bits which had
crept in.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Geert Stappers [Tue, 20 Jul 2010 22:12:36 +0000 (15:12 -0700)]
lua: remove obsolete FIXME comment
Remove an obsolete FIXME comment; the problem was caused by a stale
library.
H. Peter Anvin [Tue, 20 Jul 2010 06:45:18 +0000 (23:45 -0700)]
NEWS: document IP byte order fix.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 20 Jul 2010 06:42:41 +0000 (23:42 -0700)]
pxe: fix byte order of output from parse_dotquad()
parse_dotquad() incorrectly returned output in host byte order.
Reported-by: Alexander Wuerstlein <arw@arw.name>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Shao Miller [Tue, 20 Jul 2010 03:34:04 +0000 (23:34 -0400)]
extlinux, linux: Ignore --force in these installers
Previous commits described this behaviour, but did not
actually implement it. :)
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Tue, 20 Jul 2010 03:21:57 +0000 (23:21 -0400)]
dos: Use libinstaller option parser
We will produce an error message if a user attempts
to use an option we don't implement.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
H. Peter Anvin [Tue, 20 Jul 2010 00:36:12 +0000 (17:36 -0700)]
dos: add .size directives to int2526.S
Add .size directives to int2526.S.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 20 Jul 2010 00:33:22 +0000 (17:33 -0700)]
dos: add .size attribute for syslinux_ldlinux_len
Just for the sake of good order, a .size attribute for
syslinux_ldlinux_len.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 20 Jul 2010 00:30:30 +0000 (17:30 -0700)]
dos: add missing file ldlinux.S
Add missing assembly wrapper for ldlinux.sys.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 20 Jul 2010 00:28:25 +0000 (17:28 -0700)]
win32: remove an archive before running ar on it
Always remove an archive before ar...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 20 Jul 2010 00:23:16 +0000 (17:23 -0700)]
dos, win32: use our own getopt_long() for both
Use our own version of getopt_long() for both the DOS and Win32
installers. Currently, on MinGW, getopt_long() is a static library,
but that could change in some installations.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 20 Jul 2010 00:15:44 +0000 (17:15 -0700)]
dos: fix non-executable files which were +x
Don't make non-executable files +x...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 23:56:35 +0000 (16:56 -0700)]
Merge branch 'master' into libinstaller_dos_wip
Resolved Conflicts:
libinstaller/syslxopt.c
mtools/syslinux.c
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 23:37:00 +0000 (16:37 -0700)]
dos: advance the pointer correctly
Advance the pointer into the payload segment correctly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 23:29:24 +0000 (16:29 -0700)]
dos: add memcpy_from_sl() and use it where appropriate
Add memcpy_from_sl() and use it to handle pointers into the payload
section.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 23:17:04 +0000 (16:17 -0700)]
dos: change the link procedure to use negative pointers below DGROUP
Use negative pointer values below DGROUP, i.e. for the .payload
segment. This makes it a lot easier to figure out if we are dealing
with pointers that shouldn't come from where they do, since the DGROUP
and .payload segments no longer overlap, and in fact are congruent.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 21:57:44 +0000 (14:57 -0700)]
NEWS: mtools, win32 uses new CLI
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 21:55:16 +0000 (14:55 -0700)]
man: update syslinux.1. It is still out of date, however.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 19 Jul 2010 20:18:24 +0000 (13:18 -0700)]
Merge remote branch 'gerth/lua'
H. Peter Anvin [Mon, 19 Jul 2010 20:18:14 +0000 (13:18 -0700)]
Merge remote branch 'gerth/ifplop_comments'
H. Peter Anvin [Mon, 19 Jul 2010 17:48:15 +0000 (10:48 -0700)]
Merge remote branch 'sha0/for_hpa'
H. Peter Anvin [Sat, 17 Jul 2010 19:40:01 +0000 (12:40 -0700)]
diskio: add a paranoia cast
Make sure we don't overflow the shift, even though that should never
be possible.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 17 Jul 2010 19:36:26 +0000 (12:36 -0700)]
diskio: fix name for secpercyl field, remove unused type field
Fix the name for the incorrectly named "t" (track) field; it is in
fact the sectors/cylinder (secpercyl) field. Furthermore, remove the
completely unused "type" field... right now the pointer to the
rdwr_sectors field acts as a proxy, and if we need more complex stuff
in the future it is probably better handled by pointing to an ops
structure.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:38:16 +0000 (16:38 -0700)]
NEWS: document EDD->CHS fallback.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:35:41 +0000 (16:35 -0700)]
diskio: remove locally coded ilog2()
Use the centrally coded ilog2() function.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:33:39 +0000 (16:33 -0700)]
diskio: expand most fields; cache the number of total tracks
Expand most fields in struct disk to 32 bits -- it makes the code
smaller in general, and struct disk is not a common data element.
Add a field for the number of tracks (number of heads*sectors).
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:29:17 +0000 (16:29 -0700)]
diskio: move strict CHS start value check into chs_rdwr_sectors()
It really makes more sense in chs_rdwr_sectors()...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:25:53 +0000 (16:25 -0700)]
diskio: check early for an impossible LBA value for CHS requests
Make sure we don't end up trying to do a CHS request for a truly
absurd value, that could possibly be misconverted.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:24:08 +0000 (16:24 -0700)]
diskio: when falling back EDD->CHS make sure to get the offset right
When we decide to go from EDD to CHS, make sure we convert from
absolute back to a partition offset. The cylinder check should still
be on the absolute value, however.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:20:22 +0000 (16:20 -0700)]
diskio: remove redundant sector count cap
The sector count cap on CHS is automatically given as a result of the
no-track-crossing rule.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 23:18:16 +0000 (16:18 -0700)]
diskio: allow fallback from EDD to CHS
At least one system has been found which require fallback from EDD to
CHS, so actually make it doable.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 16 Jul 2010 06:11:36 +0000 (23:11 -0700)]
NEWS: Try again for proper lua.c32 credits
Trying again to get this right...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 16 Jul 2010 06:06:21 +0000 (23:06 -0700)]
Merge branch 'master' of ssh://terminus.zytor.com/pub/git/syslinux/syslinux
Gert Hulselmans [Mon, 12 Jul 2010 22:26:09 +0000 (00:26 +0200)]
whichsys.c32: Fix example in the comments and Usage output
Fix example in the comments and Usage output.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
Gert Hulselmans [Mon, 12 Jul 2010 21:54:14 +0000 (23:54 +0200)]
ifplop.c32: Fix spelling errors and other mistakes in comments
Fix various spelling errors and other mistakes in the comment section.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
H. Peter Anvin [Mon, 12 Jul 2010 16:06:21 +0000 (09:06 -0700)]
doc: Recommend NASM 2.07+
Recommend NASM 2.07+ to avoid the overlong instructions problem around
NASM 2.05.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 12 Jul 2010 16:05:02 +0000 (09:05 -0700)]
doc: NASM 2.03+ has been required since 4.00 at least
At least since the 4.00 code was merged, NASM 2.03 or higher has been
required.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Shao Miller [Sat, 10 Jul 2010 04:47:55 +0000 (00:47 -0400)]
dos: Work-in-progress 2
Shao Miller [Sat, 3 Jul 2010 20:23:44 +0000 (16:23 -0400)]
win32: Use libinstaller option parser
We will produce an error message if a user attempts
to use an option we don't implement.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Sat, 3 Jul 2010 10:04:16 +0000 (06:04 -0400)]
mtools: Use libinstaller option parser
We will produce an error message if a user attempts
to use an option we don't implement.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Sat, 3 Jul 2010 07:47:25 +0000 (03:47 -0400)]
libinstaller: Add --mbr, --active, and --force options
In order to consolidate the installer option-parsing system,
we add the --mbr (-m), --active (-a), and --force (-f)
options from the DOS, Win32, and mtools installers to
libinstaller.
Since the -m and -a options are not currently valid for the
Linux 'syslinux' and 'extlinux' installers, we add error
messages to both of these. The -f option is allowed but
does nothing for them.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
H. Peter Anvin [Thu, 8 Jul 2010 21:53:02 +0000 (14:53 -0700)]
NEWS: correct credit for new Lua work.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Thu, 8 Jul 2010 21:22:40 +0000 (14:22 -0700)]
NEWS: update
Update in preparation of a 4.02 release cycle.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Laurent Licour [Wed, 7 Jul 2010 18:53:22 +0000 (20:53 +0200)]
DMI: Fixing memory mgmnt in dmi_memory_module_types
In some case, dmi_memory_module_types could read the entire memory as a
result of a bogus snprintf usage.
Gene Cumm [Tue, 6 Jul 2010 15:13:42 +0000 (11:13 -0400)]
rosh: show environment
Gene Cumm [Mon, 5 Jul 2010 11:22:28 +0000 (07:22 -0400)]
rosh: more remove unneeded check
Gene Cumm [Sat, 3 Jul 2010 00:59:24 +0000 (20:59 -0400)]
rosh: move ioctl.h include for Linux-only
Gene Cumm [Sat, 3 Jul 2010 00:11:03 +0000 (20:11 -0400)]
rosh: bump build
Gene Cumm [Sat, 3 Jul 2010 00:09:24 +0000 (20:09 -0400)]
rosh: more: overallocation, better feedback for debug
Gene Cumm [Sat, 3 Jul 2010 00:08:07 +0000 (20:08 -0400)]
rosh: make getscreensize more effective and usable
Gene Cumm [Fri, 2 Jul 2010 21:40:39 +0000 (17:40 -0400)]
rosh: move scrbuf to more's main function; malloc and free oversize buffer.
Gene Cumm [Fri, 2 Jul 2010 01:57:45 +0000 (21:57 -0400)]
rosh: more: if it's the first line, dump it to screen for now even if it's too long
Gene Cumm [Fri, 2 Jul 2010 01:50:16 +0000 (21:50 -0400)]
rosh: fix displaying too many lines because a line is too long.
Gene Cumm [Fri, 2 Jul 2010 01:49:36 +0000 (21:49 -0400)]
rosh: fix the DATE macro stuff
Gene Cumm [Wed, 7 Jul 2010 13:52:59 +0000 (09:52 -0400)]
rosh: begin to add Syslinux version string with DATE
Was from commit
226224fdd1dff5cfcac641c1405303932b59aa4f; This is incomplete but will be fixed in the next commit
Gert Hulselmans [Wed, 7 Jul 2010 00:54:53 +0000 (02:54 +0200)]
lua: Add .syslinux.derivative() and .syslinux.version()
Add .syslinux.derivative() and .syslinux.version().
Add an example script which shows how you can use .syslinux.derivative().
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
H. Peter Anvin [Tue, 6 Jul 2010 21:16:15 +0000 (14:16 -0700)]
zlib: rename DEBUG to DEBUG_ZLIB again
We don't want to use the global DEBUG for zlib...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Gert Hulselmans [Tue, 6 Jul 2010 20:41:29 +0000 (22:41 +0200)]
lua: remove obsolete header used for old sleep function
Remove obsolete header used for old sleep function.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
H. Peter Anvin [Tue, 6 Jul 2010 01:16:02 +0000 (18:16 -0700)]
mtools: slightly more obvious definition of tmpdir fallback
Make it a bit more obvious what actually happens for the tmpdir
fallback.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 6 Jul 2010 01:12:29 +0000 (18:12 -0700)]
mtools: honor TMPDIR, check for errors writing mtools.conf
Honor TMPDIR when picking a place to write mtools.conf.
Check for errors while writing mtools.conf.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 6 Jul 2010 00:50:13 +0000 (17:50 -0700)]
btrfs: print an error if finding compressed/encrypted data
If we find compressed or encrypted data, print an error message
instead of returning garbage. This is suboptimal, but at least
handles the common subcase of an encrypted configuration file.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 6 Jul 2010 00:43:51 +0000 (17:43 -0700)]
Merge remote branch 'gerth/ifcpu_remove_defines'
Gert Hulselmans [Mon, 5 Jul 2010 23:59:40 +0000 (01:59 +0200)]
ifcpu.c32: Remove defines used in the old sleep function.
Remove useless defines which where used in the old sleep function.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
Gert Hulselmans [Mon, 5 Jul 2010 23:43:29 +0000 (01:43 +0200)]
NEWS: add grubcfg= and whichsys.c32
Add grubcfg= and whichsys.c32 to the NEWS file.
Gert Hulselmans [Mon, 5 Jul 2010 23:38:29 +0000 (01:38 +0200)]
NEWS: add grubcfg= and whichsys.c32
Add grubcfg= and whichsys.c32 to the NEWS file.
H. Peter Anvin [Mon, 5 Jul 2010 23:05:50 +0000 (16:05 -0700)]
Merge remote branch 'gerth/whichsys'
H. Peter Anvin [Mon, 5 Jul 2010 23:05:44 +0000 (16:05 -0700)]
Merge remote branch 'gerth/chain_grubcfg'
H. Peter Anvin [Mon, 5 Jul 2010 22:59:36 +0000 (15:59 -0700)]
ifcpu.c32: need <unistd.h>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 22:58:45 +0000 (15:58 -0700)]
ifcpu.c32: remove open-coded sleep function
Remove open-coded sleep function, which uses an unreliable BIOS call.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 22:52:07 +0000 (15:52 -0700)]
lua: change syslinux.sleep() to seconds, syslinux.msleep() to ms
For consistency with just about everything else, make syslinux.sleep()
count seconds, and syslinux.msleep() count milliseconds.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 22:45:37 +0000 (15:45 -0700)]
com32: add proper sleep()/msleep() functions and make Lua use them
Add proper sleep() and msleep() functions, which among other things
call syslinux_idle(), and make Lua use them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 22:43:09 +0000 (15:43 -0700)]
com32: change clock_t to 32 bits, and in milliseconds
Previously, clock_t was 16 bits and counted timer ticks, now make it
32 bits and count milliseconds.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 22:41:36 +0000 (15:41 -0700)]
core: add a ms-denominated timer
Add a timer denominated in milliseconds. This is still driven by the
18.2 Hz timer interrupt, but counts "real" milliseconds, including
handing the adjustment factor (which in reality means it advances by
55 for most timer ticks and 54 for some.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Gert Hulselmans [Mon, 5 Jul 2010 21:52:39 +0000 (23:52 +0200)]
whichsys.c32: execute specific command, based on Syslinux bootloader variant
Detemine which command to execute, based on the Syslinux bootloader variant
from which you run it.
Usage: whichsys.c32 [-iso- command] [-pxe- command] [-sys- command]
Examples: whichsys.c32 -iso- chain.c32 hd0 -sys- chain.c32 hd1 swap
whichsys.c32 -iso- config iso.cfg -sys- sys.cfg -pxe- pxe.cfg
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
H. Peter Anvin [Mon, 5 Jul 2010 21:23:50 +0000 (14:23 -0700)]
Merge remote branch 'marcel/luaext'
Merge Marcel Ritter's work on the lua branch:
The last time he wrote about the state of his lua branch:
http://syslinux.zytor.com/archives/2009-October/013383.html
The current state is:
- VESA:
- switching to vesa mode works
- loading/displaying images works
- display text works (s. com32/lua/test/vesa.lua)
- PCI:
- list PC devices + ID
- get human-readable device name for device
(s. com32/lua/test/pci.lua)
- DMI:
- get DMI info (BIOS, Hardware, etc).
(s. com32/lua/test/dmi.lua)
- syslinux:
- loading files, kernel, initrd
- start kernel, initrd, local boot
... just working on this, so no example lua file right now
Most of the actual merging work was done by Gert Hulselmans <gerth@zytor.com>.
Resolved Conflicts:
com32/lib/sys/vesa/initvesa.c
com32/lua/src/Makefile
Signed-off-by: H. Peter Anvin <hpa@zytor.com>