profile/ivi/syslinux.git
13 years agozzjson: Use PRINT() instead of PUTC()
Erwan Velu [Sun, 20 Mar 2011 20:28:40 +0000 (21:28 +0100)]
zzjson: Use PRINT() instead of PUTC()

PUTC() call didn't got caught when using the bufprintf.
We can use the PRINT() macro instead.

13 years agobufprintf: Adding bufprintf
Erwan Velu [Sat, 19 Mar 2011 20:02:53 +0000 (21:02 +0100)]
bufprintf: Adding bufprintf

13 years agoMerge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:42:26 +0000 (22:42 +0100)]
Merge branch 'json' into libupload

13 years agozzjson: Adding sample module
Erwan Velu [Fri, 18 Mar 2011 21:41:15 +0000 (22:41 +0100)]
zzjson: Adding sample module

Note, this module is lacking of the reading test as the ungetc isn't
available. At least, this first implementation consider that syslinux
needs more the output stuff than the input one.

13 years agoMerge branch 'json' into libupload
Erwan Velu [Fri, 18 Mar 2011 21:00:57 +0000 (22:00 +0100)]
Merge branch 'json' into libupload

13 years agozzjson: Fixing compilation errors
Erwan Velu [Fri, 18 Mar 2011 21:00:05 +0000 (22:00 +0100)]
zzjson: Fixing compilation errors

Just a simple recasting.

13 years agozzjson: No need to keep the test case
Erwan Velu [Fri, 18 Mar 2011 20:58:21 +0000 (21:58 +0100)]
zzjson: No need to keep the test case

This is useless.

13 years agozzjson: Adding zzjson 1.1.0
Erwan Velu [Fri, 18 Mar 2011 20:56:58 +0000 (21:56 +0100)]
zzjson: Adding zzjson 1.1.0

13 years agohdt: Adding preliminary dump support
Erwan Velu [Fri, 18 Mar 2011 20:49:38 +0000 (21:49 +0100)]
hdt: Adding preliminary dump support

This commit add the basics for doing a dump command.

13 years agolib: make chrreplace reachable for com32 modules
Erwan Velu [Fri, 18 Mar 2011 17:28:52 +0000 (18:28 +0100)]
lib: make chrreplace reachable for com32 modules

chr_replace was only used in pci/scan.c but this could be useful for
other modules like hdt ;)

13 years agoMerge remote branch 'hpa/master' into libupload
Erwan Velu [Fri, 18 Mar 2011 08:33:05 +0000 (09:33 +0100)]
Merge remote branch 'hpa/master' into libupload

13 years agogpxe: Make the build parallel-safe syslinux-4.04-pre14
H. Peter Anvin [Thu, 17 Mar 2011 22:26:16 +0000 (15:26 -0700)]
gpxe: Make the build parallel-safe

Make sure we don't have multiple build processes wrecking havoc in the
gpxe directory.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge remote branch 'hpa/master' into libupload
Erwan Velu [Thu, 17 Mar 2011 19:09:10 +0000 (20:09 +0100)]
Merge remote branch 'hpa/master' into libupload

13 years agoMerge remote-tracking branch 'genec/gpxelinux-kpxe-for-hpa'
H. Peter Anvin [Thu, 17 Mar 2011 18:58:35 +0000 (11:58 -0700)]
Merge remote-tracking branch 'genec/gpxelinux-kpxe-for-hpa'

13 years agoMakefile: Add gpxe/gpxelinuxk.0 to INSTALL_AUX
Gene Cumm [Thu, 17 Mar 2011 18:46:43 +0000 (14:46 -0400)]
Makefile: Add gpxe/gpxelinuxk.0 to INSTALL_AUX

13 years agocore/Makefile: another attempt at dealing with GNU make 3.82 syslinux-4.04-pre13
H. Peter Anvin [Thu, 17 Mar 2011 00:28:10 +0000 (17:28 -0700)]
core/Makefile: another attempt at dealing with GNU make 3.82

Trying another tack...

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoMakefile: Add diag/geodsp/ .xz images to install target
Gene Cumm [Thu, 17 Mar 2011 00:14:03 +0000 (20:14 -0400)]
Makefile: Add diag/geodsp/ .xz images to install target

13 years agoMerge branch 'master' into diag-mbr-handoff-for-hpa
Gene Cumm [Thu, 17 Mar 2011 00:01:36 +0000 (20:01 -0400)]
Merge branch 'master' into diag-mbr-handoff-for-hpa

Conflicts:
diag/mbr/handoff.S

diag/mbr/handoff.S: Remove the attempt to zero pad/prevent overflow

13 years agoAdd diag/ targets into top Makefile for install target
Gene Cumm [Wed, 16 Mar 2011 21:26:23 +0000 (17:26 -0400)]
Add diag/ targets into top Makefile for install target

13 years agodiag/mbr/: use checksize.pl to pad/prevent overflow
Gene Cumm [Wed, 16 Mar 2011 21:16:54 +0000 (17:16 -0400)]
diag/mbr/: use checksize.pl to pad/prevent overflow

HPA noticed that using Fedora 15 Alpha and gcc-4.6 broke on this code

13 years agodiag/geodsp/Makefile: use ./ to run a file in the current dir
H. Peter Anvin [Wed, 16 Mar 2011 20:58:42 +0000 (13:58 -0700)]
diag/geodsp/Makefile: use ./ to run a file in the current dir

When running a file in the current directory, use ./ as a prefix.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMakefile: build the diag directory
H. Peter Anvin [Wed, 16 Mar 2011 20:56:57 +0000 (13:56 -0700)]
Makefile: build the diag directory

Build the diag directory (diagnostic aids).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodiag/mbr/handoff.S: Fix compilation problems with gas 2.21.51
H. Peter Anvin [Wed, 16 Mar 2011 20:56:10 +0000 (13:56 -0700)]
diag/mbr/handoff.S: Fix compilation problems with gas 2.21.51

The construct used for zero-padding in handoff.S doesn't work with gas
2.21.51.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge remote-tracking branch 'genec/diag-geodsp-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:52:58 +0000 (13:52 -0700)]
Merge remote-tracking branch 'genec/diag-geodsp-for-hpa'

13 years agoNEWS: Document isohdpfx*.bin available.
H. Peter Anvin [Wed, 16 Mar 2011 20:52:23 +0000 (13:52 -0700)]
NEWS: Document isohdpfx*.bin available.

13 years agombr: Install isohdpfx*.bin
H. Peter Anvin [Wed, 16 Mar 2011 20:50:41 +0000 (13:50 -0700)]
mbr: Install isohdpfx*.bin

GNU xorriso can build isohybrid images in one step without the need
for the isohybrid program, but for that to work the isohdpfx*.bin
files need to be available.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoREADME: update copyright to 2011
H. Peter Anvin [Wed, 16 Mar 2011 20:48:31 +0000 (13:48 -0700)]
README: update copyright to 2011

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodoc: update copyright to 2011
H. Peter Anvin [Wed, 16 Mar 2011 20:48:03 +0000 (13:48 -0700)]
doc: update copyright to 2011

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agosysdump: Fixing includes
Erwan Velu [Wed, 16 Mar 2011 20:39:55 +0000 (21:39 +0100)]
sysdump: Fixing includes

This patch remove ugly relative includes like ../something.h

13 years agosysdump: removing useless file
Erwan Velu [Wed, 16 Mar 2011 20:39:20 +0000 (21:39 +0100)]
sysdump: removing useless file

Data.h is not used, so let's remove it

13 years agoMerge remote branch 'hpa/master' into libupload
Erwan Velu [Wed, 16 Mar 2011 20:27:10 +0000 (21:27 +0100)]
Merge remote branch 'hpa/master' into libupload

13 years agoMerge remote-tracking branch 'genec/news-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:16:16 +0000 (13:16 -0700)]
Merge remote-tracking branch 'genec/news-for-hpa'

13 years agoMerge remote-tracking branch 'genec/doc-syslinux-for-hpa'
H. Peter Anvin [Wed, 16 Mar 2011 20:16:12 +0000 (13:16 -0700)]
Merge remote-tracking branch 'genec/doc-syslinux-for-hpa'

13 years agocom32/cmenu/adv_menu.tpl: Use the proper value for ipappend
H. Peter Anvin [Wed, 16 Mar 2011 20:13:31 +0000 (13:13 -0700)]
com32/cmenu/adv_menu.tpl: Use the proper value for ipappend

If x is NULL, we're supposed to pass 0 for ipappend; this was
incorrect in the template and the gcc 4.6 unused variable warning
caught it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agolibinstaller/fat.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
libinstaller/fat.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoextlinux/main.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
extlinux/main.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore/fs/pxe/pxe.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/pxe/pxe.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore/fs/iso9660/iso9660.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/iso9660/iso9660.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore/fs/fat/fat.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
core/fs/fat/fat.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/tools/relocs.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/tools/relocs.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/rosh/rosh.h: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/rosh/rosh.h: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/rosh/rosh.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/rosh/rosh.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lua/src/vesa.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lua/src/vesa.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lua/src/syslinux.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lua/src/syslinux.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lib/vsscanf.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/vsscanf.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lib/syslinux/shuffle.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/syslinux/shuffle.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lib/sys/rawcon_read.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/sys/rawcon_read.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/lib/jpeg/tinyjpeg.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/lib/jpeg/tinyjpeg.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/hdt/hdt-menu-summary.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/hdt/hdt-menu-summary.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/hdt/hdt-cli-kernel.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/hdt/hdt-cli-kernel.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32/cmenu/libmenu/help.c: remove variables set but not used
H. Peter Anvin [Wed, 16 Mar 2011 20:10:36 +0000 (13:10 -0700)]
com32/cmenu/libmenu/help.c: remove variables set but not used

gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodos/dosexe.ld: Work around linker issue in binutils 2.21.51
H. Peter Anvin [Wed, 16 Mar 2011 20:07:04 +0000 (13:07 -0700)]
dos/dosexe.ld: Work around linker issue in binutils 2.21.51

binutils 2.21.51 seems to have problem subtracting two
section-relative symbols, so make them global.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agomemdisk: make sure the disk type is actually set
H. Peter Anvin [Wed, 16 Mar 2011 20:02:26 +0000 (13:02 -0700)]
memdisk: make sure the disk type is actually set

Make sure we actually set the disk CMOS type.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agolibupload: New library to manage uploads
Erwan Velu [Tue, 15 Mar 2011 20:51:46 +0000 (21:51 +0100)]
libupload: New library to manage uploads

This commit creates a library to upload content via 3 backends
(srec/ymodem/tftp).

Code came from sysdump and got librarized for being used more easily
by more other com32 modules.

13 years agochain.c32: Allow both "guid" and "uuid"
H. Peter Anvin [Mon, 14 Mar 2011 05:17:27 +0000 (22:17 -0700)]
chain.c32: Allow both "guid" and "uuid"

The GPT specification calls it "guid", but the Unix world generally
calls it "uuid".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agochain.c32: fix specification of disk by GUID (UUID)
H. Peter Anvin [Mon, 14 Mar 2011 05:14:47 +0000 (22:14 -0700)]
chain.c32: fix specification of disk by GUID (UUID)

Fix specification of disk by GUID, broken due to an incorrect pointer.

Reported-by: Szymon H <bodwick@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodiag: Add geodsp to Makefile
Gene Cumm [Thu, 10 Mar 2011 02:21:25 +0000 (21:21 -0500)]
diag: Add geodsp to Makefile

13 years agodiag/geodsp: Display Geometry based on read
Gene Cumm [Thu, 10 Mar 2011 02:18:27 +0000 (21:18 -0500)]
diag/geodsp: Display Geometry based on read

This produces two images that are 8MiB+ in size (in order to exceed the
size of the largest CHS cylinder) containing 1 or multiple sectors of
code/data and the remaining sectors filled with their LBA.

13 years agodiag/mbr: Remove unneeded dependency from Makefile
Gene Cumm [Wed, 9 Mar 2011 23:43:01 +0000 (18:43 -0500)]
diag/mbr: Remove unneeded dependency from Makefile

13 years agodiag/mbr/handoff: Make filename in comment consistent
Gene Cumm [Wed, 9 Mar 2011 18:53:34 +0000 (13:53 -0500)]
diag/mbr/handoff: Make filename in comment consistent

13 years agodiag/mbr/README: consistent docs
Gene Cumm [Wed, 9 Mar 2011 18:51:06 +0000 (13:51 -0500)]
diag/mbr/README: consistent docs

13 years agodiag/: Add Makefile,README here and mbr/
Gene Cumm [Sun, 6 Mar 2011 22:17:01 +0000 (17:17 -0500)]
diag/: Add Makefile,README here and mbr/

13 years agoHandoff *BR: Move to diag
Gene Cumm [Sun, 6 Mar 2011 22:15:11 +0000 (17:15 -0500)]
Handoff *BR: Move to diag

13 years agombr_ho.bin: Fix stack bug; also save/restore cx in another location
Gene Cumm [Tue, 14 Dec 2010 02:39:34 +0000 (21:39 -0500)]
mbr_ho.bin: Fix stack bug; also save/restore cx in another location

13 years agombr_ho.bin: Fix several non-8086 issues
Gene Cumm [Sat, 27 Nov 2010 03:38:37 +0000 (22:38 -0500)]
mbr_ho.bin: Fix several non-8086 issues

13 years agombr_ho.bin: Update install instructions
Gene Cumm [Fri, 26 Nov 2010 20:19:53 +0000 (15:19 -0500)]
mbr_ho.bin: Update install instructions

13 years agombr_ho.bin: install instructions
Gene Cumm [Fri, 26 Nov 2010 20:17:13 +0000 (15:17 -0500)]
mbr_ho.bin: install instructions

13 years agombr_ho.bin: Fix bug in $PnP Scan; PressAnyKey; compare [ES:DI]
Gene Cumm [Fri, 26 Nov 2010 18:17:55 +0000 (13:17 -0500)]
mbr_ho.bin: Fix bug in $PnP Scan; PressAnyKey; compare [ES:DI]

Also numerous uses of *w opcodes and spacing fixes

13 years agombr_ho.bin: Handoff MBR
Gene Cumm [Wed, 24 Nov 2010 18:42:16 +0000 (13:42 -0500)]
mbr_ho.bin: Handoff MBR

This mbr code entity shows DL, DS, SI, 16 bytes of [DS:SI], ES, DI,
4 bytes of [ES:DI], and scans F0000h-FFFFFh on 16 byte alignment for $PnP.

This is useful for testing when MBR or VBR/PBR handoff goes awry.

13 years agoNEWS: wrapping
Gene Cumm [Thu, 10 Mar 2011 01:48:16 +0000 (20:48 -0500)]
NEWS: wrapping

13 years agodoc/pxelinux.txt: Info on gPXE-enhanced binaries
Gene Cumm [Thu, 10 Mar 2011 01:45:28 +0000 (20:45 -0500)]
doc/pxelinux.txt: Info on gPXE-enhanced binaries

13 years agodoc/memdisk.txt: Add mem= parameter
Gene Cumm [Thu, 10 Mar 2011 01:45:03 +0000 (20:45 -0500)]
doc/memdisk.txt: Add mem= parameter

13 years agoNEWS: update
Gene Cumm [Thu, 10 Mar 2011 01:42:28 +0000 (20:42 -0500)]
NEWS: update

13 years agocore: Fix 'trackbuf' descriptor list byte length syslinux-4.04-pre12
Ahmed S. Darwish [Sun, 6 Mar 2011 12:21:31 +0000 (14:21 +0200)]
core: Fix 'trackbuf' descriptor list byte length

(Tested using a Linux bzImage, with and without an initrd.)

Per shuffle_and_boot documentation, %ecx must contain the descriptor
list byte length, but it's set with such list end address instead.  Fix.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoversion: it is 2011...
H. Peter Anvin [Thu, 3 Mar 2011 23:27:32 +0000 (15:27 -0800)]
version: it is 2011...

13 years agoCOM32R documentation: fix typo 'pm_cs' syslinux-4.04-pre11
Paul Bolle [Wed, 16 Feb 2011 09:34:24 +0000 (10:34 +0100)]
COM32R documentation: fix typo 'pm_cs'

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agocore/diskboot.inc: fix handover area's sanity checks
Michal Soltys [Tue, 22 Feb 2011 23:18:00 +0000 (00:18 +0100)]
core/diskboot.inc: fix handover area's sanity checks

As the code operates with paragraph granularity, make sure that
false positives are not possible, though some false negatives
might happen with insanely placed handover area.

Bump low address check to 50h:0, to also avoid bios data area and
remove si == 0 check.

Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoMerge remote branch 'genec/memdisk-maxmem-for-hpa' syslinux-4.04-pre10
H. Peter Anvin [Wed, 2 Mar 2011 23:07:07 +0000 (15:07 -0800)]
Merge remote branch 'genec/memdisk-maxmem-for-hpa'

13 years agoMerge remote branch 'genec/rosh_for_hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:06:55 +0000 (15:06 -0800)]
Merge remote branch 'genec/rosh_for_hpa'

13 years agoMerge remote branch 'genec/diskboot-comment-for-hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:06:41 +0000 (15:06 -0800)]
Merge remote branch 'genec/diskboot-comment-for-hpa'

13 years agoMerge remote branch 'genec/core-diskstart-chkerr-for-hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:06:20 +0000 (15:06 -0800)]
Merge remote branch 'genec/core-diskstart-chkerr-for-hpa'

13 years agoMerge remote branch 'genec/win64-mingw32-ubuntu-for-hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:04:41 +0000 (15:04 -0800)]
Merge remote branch 'genec/win64-mingw32-ubuntu-for-hpa'

13 years agodoc/syslinux.txt: LOCALBOOT update to reflect current state
Gene Cumm [Mon, 28 Feb 2011 17:56:14 +0000 (12:56 -0500)]
doc/syslinux.txt: LOCALBOOT update to reflect current state

All variants now accept LOCALBOOT -1 as a fail over; Combine and reflow
the PXELINUX paragraph.

13 years agodoc/syslinux.txt: CONFIG: Shorten how it's specified.
Gene Cumm [Mon, 28 Feb 2011 17:07:29 +0000 (12:07 -0500)]
doc/syslinux.txt: CONFIG: Shorten how it's specified.

13 years agodoc/syslinux.txt: CONFIG order of operations
Gene Cumm [Mon, 28 Feb 2011 17:06:24 +0000 (12:06 -0500)]
doc/syslinux.txt: CONFIG order of operations

13 years agodoc/syslinux.txt: Specify that CONFIG can change working directory
Gene Cumm [Mon, 28 Feb 2011 17:03:54 +0000 (12:03 -0500)]
doc/syslinux.txt: Specify that CONFIG can change working directory

13 years agoskipspace: move out of line syslinux-4.04-pre9
H. Peter Anvin [Fri, 25 Feb 2011 00:13:11 +0000 (16:13 -0800)]
skipspace: move out of line

Move skipspace() out of line since it triggers inlining warnings.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge remote-tracking branch 'hdt/lua'
H. Peter Anvin [Mon, 21 Feb 2011 00:40:43 +0000 (16:40 -0800)]
Merge remote-tracking branch 'hdt/lua'

13 years agocore: When checking for DS:SI validity, we're using paragraph units syslinux-4.04-pre8
H. Peter Anvin [Mon, 21 Feb 2011 00:27:18 +0000 (16:27 -0800)]
core: When checking for DS:SI validity, we're using paragraph units

We are comparing DS:SI for a sane range, but we're operating in
paragraph units, so the comparison needs to be done that way, too.

Reported-by: Keshav P.R. <skodabenz@gmail.com>
Debugged-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agogpxelinux: Add new gpxelinuxk.0 target and pxelinuxk.gpxe script
Gene Cumm [Tue, 15 Feb 2011 01:46:07 +0000 (20:46 -0500)]
gpxelinux: Add new gpxelinuxk.0 target and pxelinuxk.gpxe script

13 years agomemdisk/setup: Rename int15maxres to setmaxmem
Gene Cumm [Wed, 9 Feb 2011 02:38:40 +0000 (21:38 -0500)]
memdisk/setup: Rename int15maxres to setmaxmem

The old name was intended as a test to prevent collision.  New name
seems more logical and appropriate.  By reusing the mem= parameter and
adjusting all of the memory calls that MEMDISK replaces through the use
of insertrange(), there's nothing better that we can do.

13 years agolibcom32: Add header to suffix_number.c
Gene Cumm [Wed, 9 Feb 2011 01:59:35 +0000 (20:59 -0500)]
libcom32: Add header to suffix_number.c

In case we ever define anything in the header

13 years agomemdisk: Fix CSRC in Makefile
Gene Cumm [Wed, 9 Feb 2011 01:31:28 +0000 (20:31 -0500)]
memdisk: Fix CSRC in Makefile

13 years agomemdisk & libcom32: Fix minor errors in previous commit
Gene Cumm [Wed, 9 Feb 2011 01:07:43 +0000 (20:07 -0500)]
memdisk & libcom32: Fix minor errors in previous commit

13 years agocom32: Move suffix_number() from libutil to libcom32
Gene Cumm [Wed, 9 Feb 2011 00:54:20 +0000 (19:54 -0500)]
com32: Move suffix_number() from libutil to libcom32

13 years agomemdisk: Undo addition of vpath and removal of tiny files
Gene Cumm [Wed, 9 Feb 2011 00:40:43 +0000 (19:40 -0500)]
memdisk: Undo addition of vpath and removal of tiny files

13 years agolua: Adding CPU module
Erwan Velu [Tue, 8 Feb 2011 21:15:07 +0000 (22:15 +0100)]
lua: Adding CPU module

13 years agomemdisk: remove unnecessary files; add vpath instead; add files to CSRC
Gene Cumm [Tue, 8 Feb 2011 17:05:25 +0000 (12:05 -0500)]
memdisk: remove unnecessary files; add vpath instead; add files to CSRC

This removes the need to have these tiny files around.  This also
changes it to be relative to $(topdir), allowing for memdisk to be moved
if needed in the future.

13 years agomemdisk/setup: Allow suffix processing on mem= parameter
Gene Cumm [Tue, 8 Feb 2011 01:53:13 +0000 (20:53 -0500)]
memdisk/setup: Allow suffix processing on mem= parameter

13 years agolibutil: copy suffix_number() from com32/lib/syslinux/load_linux.c
Gene Cumm [Tue, 8 Feb 2011 01:13:48 +0000 (20:13 -0500)]
libutil: copy suffix_number() from com32/lib/syslinux/load_linux.c