profile/ivi/syslinux.git
13 years agogfxboot: handle INITRD config line
Steffen Winterfeldt [Tue, 19 Apr 2011 13:27:26 +0000 (15:27 +0200)]
gfxboot: handle INITRD config line

Handle case where there is no initrd= option but a separate initrd config line.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agoversion: now working on version 4.05
H. Peter Anvin [Fri, 22 Apr 2011 04:32:01 +0000 (21:32 -0700)]
version: now working on version 4.05

4.04 is out, next version will be 4.05 (or later).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge commit 'syslinux-4.04' into dynamic-sector
H. Peter Anvin [Mon, 18 Apr 2011 21:53:45 +0000 (14:53 -0700)]
Merge commit 'syslinux-4.04' into dynamic-sector

13 years agospec: Use BuildRequires, add diag/ subdirectory syslinux-4.04
H. Peter Anvin [Mon, 18 Apr 2011 21:24:17 +0000 (14:24 -0700)]
spec: Use BuildRequires, add diag/ subdirectory

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodiag: Don't remove BTARGET on make clean
H. Peter Anvin [Mon, 18 Apr 2011 21:12:58 +0000 (14:12 -0700)]
diag: Don't remove BTARGET on make clean

"make clean" should not remove BTARGET

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoMerge remote-tracking branch 'pcacjr/syslinux-update-for-hpa'
H. Peter Anvin [Mon, 18 Apr 2011 21:11:26 +0000 (14:11 -0700)]
Merge remote-tracking branch 'pcacjr/syslinux-update-for-hpa'

13 years agomenu: allow "menu hiddenkey" to take multiple keys; run unlabel
H. Peter Anvin [Mon, 18 Apr 2011 21:06:54 +0000 (14:06 -0700)]
menu: allow "menu hiddenkey" to take multiple keys; run unlabel

- Allow "menu hiddenkey" to take a comma-separated list of keys.
- Run unlabel() on the commands passed to menu hiddenkey.
  XXX: Consider moving unlabelling to post-menu instead.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoNEWS: Document MENU HIDDENKEY
H. Peter Anvin [Mon, 18 Apr 2011 20:53:19 +0000 (13:53 -0700)]
NEWS: Document MENU HIDDENKEY

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agosyslinux: check --update option properly
Paulo Alcantara [Fri, 15 Apr 2011 18:28:31 +0000 (15:28 -0300)]
syslinux: check --update option properly

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
13 years agoextlinux: remove already_installed
Paulo Alcantara [Fri, 15 Apr 2011 18:21:10 +0000 (15:21 -0300)]
extlinux: remove already_installed

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
13 years agoextlinux: use syslinux_already_installed instead of already_installed
Paulo Alcantara [Fri, 15 Apr 2011 18:13:54 +0000 (15:13 -0300)]
extlinux: use syslinux_already_installed instead of already_installed

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
13 years agolibinstaller: implement syslinux_already_installed
Paulo Alcantara [Fri, 15 Apr 2011 17:55:29 +0000 (14:55 -0300)]
libinstaller: implement syslinux_already_installed

syslinux_already_installed function will be used in both extlinux and
syslinux for checking if the boot sector has either the string
"SYSLINUX" or "EXTLINUX" in the OEMID field.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
13 years agokeytest: make somewhat more comprehensible
H. Peter Anvin [Mon, 11 Apr 2011 22:42:06 +0000 (15:42 -0700)]
keytest: make somewhat more comprehensible

Someone may very well need to use keytest to figure out their
keymappings.  Make it a bit more user friendly.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agokeyname: better handling of named control characters
H. Peter Anvin [Mon, 11 Apr 2011 22:41:26 +0000 (15:41 -0700)]
keyname: better handling of named control characters

Named control character (Tab, Enter, Backspace etc.) should use those
names rather than caret sequences.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agokeytest: show the human name together with the keycode
H. Peter Anvin [Mon, 11 Apr 2011 22:33:48 +0000 (15:33 -0700)]
keytest: show the human name together with the keycode

Since we now have library support for showing the keycode name, make
keytest print that as well.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agomenu: clear the timeout line on MENU HIDDENKEY
H. Peter Anvin [Mon, 11 Apr 2011 22:23:05 +0000 (15:23 -0700)]
menu: clear the timeout line on MENU HIDDENKEY

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agomenu hiddenkey: fix parsing the config file option
H. Peter Anvin [Mon, 11 Apr 2011 22:22:17 +0000 (15:22 -0700)]
menu hiddenkey: fix parsing the config file option

Fix parsing bugs in the config file.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agomenu: Add "menu hiddenkey" to make terminating menu hidden a command
H. Peter Anvin [Mon, 11 Apr 2011 21:59:45 +0000 (14:59 -0700)]
menu: Add "menu hiddenkey" to make terminating menu hidden a command

Use "menu hiddenkey" together with "menu hidden" for a one-keystroke
action.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agodiskstart: use the correct register for the starting address
H. Peter Anvin [Tue, 5 Apr 2011 21:35:55 +0000 (14:35 -0700)]
diskstart: use the correct register for the starting address

The starting address is obtained in si, not edi.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoinstaller: Update and correct generate_extents()
H. Peter Anvin [Tue, 5 Apr 2011 21:24:07 +0000 (14:24 -0700)]
installer: Update and correct generate_extents()

1. Make sure extents are strictly less than 64K in size
2. Make sure extents do not cross 64K boundaries

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agocore: Move sector 1 to address 0x8000 so it is aligned
H. Peter Anvin [Tue, 5 Apr 2011 21:07:32 +0000 (14:07 -0700)]
core: Move sector 1 to address 0x8000 so it is aligned

Move sector 1 to 0x8000, so that it will be sector-aligned no matter
what the sector size is (well, as long as it is <= 32K).  This avoids
potential conflicts between the 64K "seams" and the sector size.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agocore/head.inc: require NASM 2.03+
H. Peter Anvin [Tue, 5 Apr 2011 21:07:06 +0000 (14:07 -0700)]
core/head.inc: require NASM 2.03+

We have needed NASM 2.03+ for a long time.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoMerge commit 'syslinux-4.04-pre22' into dynamic-sector
H. Peter Anvin [Tue, 5 Apr 2011 20:58:30 +0000 (13:58 -0700)]
Merge commit 'syslinux-4.04-pre22' into dynamic-sector

13 years agodiskstart: Add a pointer to the syslinux_banner to the EPA syslinux-4.04-pre22
H. Peter Anvin [Tue, 5 Apr 2011 00:38:18 +0000 (17:38 -0700)]
diskstart: Add a pointer to the syslinux_banner to the EPA

For the benefit of third-party tools, add a pointer to the
syslinux_banner in the extended patch area.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agodisk: Make the sector size dynamic
H. Peter Anvin [Tue, 5 Apr 2011 00:26:59 +0000 (17:26 -0700)]
disk: Make the sector size dynamic

Make the sector size dynamic in anticipation of disks with
non-512-byte logical sectors.

With this change, bsBytesPerSec *must* be correct; this still needs to
be added to the installers to enforce.  Furthermore, the number of
sectors in one extent can still only be < 64K.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agocom32, bitops: proper constraint for byte-sized output syslinux-4.04-pre21
H. Peter Anvin [Mon, 4 Apr 2011 23:43:10 +0000 (16:43 -0700)]
com32, bitops: proper constraint for byte-sized output

The proper output for the byte-sized output of "setc" is "=qm".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoNEWS: iso9660 also had issues with ../ paths. syslinux-4.04-pre20
H. Peter Anvin [Mon, 4 Apr 2011 23:31:55 +0000 (16:31 -0700)]
NEWS: iso9660 also had issues with ../ paths.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore: Adjust formatting around the date string
H. Peter Anvin [Mon, 4 Apr 2011 23:22:38 +0000 (16:22 -0700)]
core: Adjust formatting around the date string

Adjust the formatting around the date string to avoid missing and
duplicated spaces.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agotinyjpeg: change DEBUG to JPEG_DEBUG
H. Peter Anvin [Mon, 4 Apr 2011 23:17:48 +0000 (16:17 -0700)]
tinyjpeg: change DEBUG to JPEG_DEBUG

Rename the debugging option for tinyjpeg to JPEG_DEBUG to avoid
conflict with the global dprintf option.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoiso9660: use generic_mangle_name
H. Peter Anvin [Mon, 4 Apr 2011 23:14:37 +0000 (16:14 -0700)]
iso9660: use generic_mangle_name

There is no longer any need to do special name-mangling for iso9660,
and doing so, in fact, breaks the handling of paths starting with ../.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoNEWS: Handle .. support for VFAT syslinux-4.04-pre19
H. Peter Anvin [Mon, 4 Apr 2011 22:48:45 +0000 (15:48 -0700)]
NEWS: Handle .. support for VFAT

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agovfat: Fix mangling of directory names starting with ..
Rich Mahn [Mon, 4 Apr 2011 22:46:06 +0000 (15:46 -0700)]
vfat: Fix mangling of directory names starting with ..

We need to handle directory names starting with .. correctly.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoNEWS: update the NEWS file syslinux-4.04-pre18
H. Peter Anvin [Mon, 4 Apr 2011 20:11:13 +0000 (13:11 -0700)]
NEWS: update the NEWS file

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agopxe: disable the "force INT 18h" hack
H. Peter Anvin [Mon, 4 Apr 2011 20:10:49 +0000 (13:10 -0700)]
pxe: disable the "force INT 18h" hack

It seems to break as many machines as it fixes, so disable it for now.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agocom32, bitops: an "m" constraint takes an object, not a pointer to one
H. Peter Anvin [Mon, 4 Apr 2011 17:36:12 +0000 (10:36 -0700)]
com32, bitops: an "m" constraint takes an object, not a pointer to one

The argument to an "m" constraint is an object, not a pointer to an
object.  For a void pointer it needs to be cast to an indirectable
type (like char) and then indirected.

Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32: fix range handling in vsscanf
H. Peter Anvin [Mon, 4 Apr 2011 17:31:09 +0000 (10:31 -0700)]
com32: fix range handling in vsscanf

Fix multiple errors in building the bitmap for ranges in %[.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agobitops: the bt instructions returns result in CF, not ZF
H. Peter Anvin [Mon, 4 Apr 2011 16:58:44 +0000 (09:58 -0700)]
bitops: the bt instructions returns result in CF, not ZF

The bit test instructions returns the tested bit in CF, not the
inverse of the tested bit in ZF.  I don't know how I got that idea...

Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodiskstart: Move DATE_STR out of sector 1
H. Peter Anvin [Sun, 3 Apr 2011 23:22:42 +0000 (16:22 -0700)]
diskstart: Move DATE_STR out of sector 1

Save a few bytes in sector 1 by moving DATE_STR out.  This string can
be fairly long especially when using a git tree.

Reported-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge remote-tracking branch 'genec/memdiskdbg-for-sha0' syslinux-4.04-pre17
H. Peter Anvin [Fri, 1 Apr 2011 23:53:22 +0000 (16:53 -0700)]
Merge remote-tracking branch 'genec/memdiskdbg-for-sha0'

13 years agomemdisk/dskprobe.c: Add status check to probes 08h and 41h
Gene Cumm [Fri, 1 Apr 2011 23:49:54 +0000 (19:49 -0400)]
memdisk/dskprobe.c: Add status check to probes 08h and 41h

If this fails, the machine should never be working.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
13 years agoMerge remote-tracking branch 'genec/diag-mbr-handoff-for-hpa' syslinux-4.04-pre16
H. Peter Anvin [Fri, 1 Apr 2011 22:51:49 +0000 (15:51 -0700)]
Merge remote-tracking branch 'genec/diag-mbr-handoff-for-hpa'

13 years agoMerge remote-tracking branch 'genec/diag-geodsp-for-hpa'
H. Peter Anvin [Fri, 1 Apr 2011 22:51:46 +0000 (15:51 -0700)]
Merge remote-tracking branch 'genec/diag-geodsp-for-hpa'

13 years agogpxe: Inhibit parallel make syslinux-4.04-pre15
H. Peter Anvin [Fri, 1 Apr 2011 20:08:40 +0000 (13:08 -0700)]
gpxe: Inhibit parallel make

Don't parallel make the gpxe directory.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoUpdate .gitignore
Sebastian Herbszt [Wed, 30 Mar 2011 21:41:08 +0000 (23:41 +0200)]
Update .gitignore

Add *.img, *.img.xz and mk-lba-img to .gitignore.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoMerge remote-tracking branch 'sherbszt/gfxboot32'
H. Peter Anvin [Fri, 1 Apr 2011 20:05:24 +0000 (13:05 -0700)]
Merge remote-tracking branch 'sherbszt/gfxboot32'

13 years agold: Use ABSOLUTE() when taking differences between relative symbols
H. Peter Anvin [Fri, 1 Apr 2011 19:59:04 +0000 (12:59 -0700)]
ld: Use ABSOLUTE() when taking differences between relative symbols

binutils 2.21.51.0.6, and possibly other versions, generate the wrong
result when subtracting two section-relative symbols (the final result
ends up having the base of the section incorrectly added to it.)  Work
around this by using ABSOLUTE() on the symbols to force the result to
become absolute.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agogfxboot: remove save_read() function
Sebastian Herbszt [Wed, 30 Mar 2011 21:09:32 +0000 (23:09 +0200)]
gfxboot: remove save_read() function

Remove the no longer needed save_read() function.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agogfxboot: remove lowmem_buf_size variable
Sebastian Herbszt [Wed, 30 Mar 2011 20:57:55 +0000 (22:57 +0200)]
gfxboot: remove lowmem_buf_size variable

Remove the no longer needed lowmem_buf_size variable.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agogfxboot: don't use the bounce buffer
Sebastian Herbszt [Wed, 30 Mar 2011 20:51:10 +0000 (22:51 +0200)]
gfxboot: don't use the bounce buffer

Allocate lowmem buffer instead of using the bounce buffer.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agogfxboot: use skipspace()
Sebastian Herbszt [Wed, 30 Mar 2011 18:33:49 +0000 (20:33 +0200)]
gfxboot: use skipspace()

Use skipspace() instead of local skip_spaces().

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agodiag/geodsp/README: Additional use notes
Gene Cumm [Tue, 29 Mar 2011 22:35:18 +0000 (18:35 -0400)]
diag/geodsp/README: Additional use notes

13 years agoMerge remote-tracking branch 'mcb30/empty-tftp-ip'
H. Peter Anvin [Tue, 29 Mar 2011 21:45:22 +0000 (14:45 -0700)]
Merge remote-tracking branch 'mcb30/empty-tftp-ip'

13 years agopxe: allow TFTP server IP to be empty when not using TFTP
Michael Brown [Mon, 28 Mar 2011 19:44:17 +0000 (20:44 +0100)]
pxe: allow TFTP server IP to be empty when not using TFTP

Reported-by: Marcus Grando <Marcus.Grando@corp.terra.com.br>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
13 years agodiag/mbr/handoff: Add optional printing of floppy descriptor
Gene Cumm [Sun, 27 Mar 2011 12:36:19 +0000 (08:36 -0400)]
diag/mbr/handoff: Add optional printing of floppy descriptor

13 years agodiag/mbr/handoff: Code comments; reflow output
Gene Cumm [Sun, 27 Mar 2011 12:32:05 +0000 (08:32 -0400)]
diag/mbr/handoff: Code comments; reflow output

The printing of CR/LF was misplaced such that it'd print a blank line if
no PnP data was found.

13 years agolinux.c32: For protocol 2.10+, use init_size when relocating
H. Peter Anvin [Fri, 18 Mar 2011 17:55:11 +0000 (10:55 -0700)]
linux.c32: For protocol 2.10+, use init_size when relocating

If we have to relocate the kernel, use the init_size parameter if it
is available, rather than an arbitrary fudge factor.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
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-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 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 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