platform/upstream/syslinux.git
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 agoNEWS: Updating LUA to 5.1.4-2
Erwan Velu [Mon, 7 Feb 2011 22:23:40 +0000 (23:23 +0100)]
NEWS: Updating LUA to 5.1.4-2

13 years agocom32: single instance of skipspace()
Erwan Velu [Mon, 7 Feb 2011 22:11:39 +0000 (23:11 +0100)]
com32: single instance of skipspace()

no need to keep several versions of it.

13 years agolua: Adding PCI init
Erwan Velu [Mon, 7 Feb 2011 21:33:34 +0000 (22:33 +0100)]
lua: Adding PCI init

This removable was introduced by commit
bfcd7b7305c5465eb33acca86109ca96cb37403a

13 years agolua: Updating to 5.1.4.2
Erwan Velu [Mon, 7 Feb 2011 21:00:26 +0000 (22:00 +0100)]
lua: Updating to 5.1.4.2

Taken from http://www.lua.org/ftp/patch-lua-5.1.4-2

13 years agolua: Updating to 5.1.4
Erwan Velu [Mon, 7 Feb 2011 20:57:20 +0000 (21:57 +0100)]
lua: Updating to 5.1.4

Updating base code to 5.1.4
Adding -DSYSLINUX build flag
Moving #if 0 to ifndef SYSLINUX

13 years agoMerge branch 'master' into lua
Erwan Velu [Mon, 7 Feb 2011 19:14:36 +0000 (20:14 +0100)]
Merge branch 'master' into lua

13 years agoMerge branch 'master' of git://git.kernel.org/pub/scm/boot/syslinux/syslinux
Erwan Velu [Mon, 7 Feb 2011 19:14:06 +0000 (20:14 +0100)]
Merge branch 'master' of git://git./boot/syslinux/syslinux

13 years agoNEWS: Updating for ACPI & HDT 0.4.1
Erwan Velu [Sun, 6 Feb 2011 23:06:55 +0000 (00:06 +0100)]
NEWS: Updating for ACPI & HDT 0.4.1

13 years agolua: removing duplicated code from vesa.c
Erwan Velu [Sun, 6 Feb 2011 22:54:26 +0000 (23:54 +0100)]
lua: removing duplicated code from vesa.c

This code was static and unused. At least, if we need it let's reuse the
code from the vesa lib.

13 years agolua: Preventing gcc warning on vesa.c
Erwan Velu [Sun, 6 Feb 2011 22:54:02 +0000 (23:54 +0100)]
lua: Preventing gcc warning on vesa.c

13 years agolua: Making lua building with no gcc error
Erwan Velu [Sun, 6 Feb 2011 22:42:54 +0000 (23:42 +0100)]
lua: Making lua building with no gcc error

Simple patch to make gcc happy during build in -Wall -Werror

13 years agodiskboot: correct the patching of the floppy table syslinux-4.04-pre7
H. Peter Anvin [Sun, 6 Feb 2011 22:21:36 +0000 (14:21 -0800)]
diskboot: correct the patching of the floppy table

The floppy table patching was somehow messed up when converting to
GPT.  The proper offset of FloppyTable at the point we patch is
[di-12] and we use offset +4 inside that field.

Reported-by: Juergen <jlborries@online.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoHDT: Releasing 0.4.1 syslinux-4.04-pre6
Erwan Velu [Sun, 6 Feb 2011 20:59:11 +0000 (21:59 +0100)]
HDT: Releasing 0.4.1

This release is fixing the annoying vesa bug.

13 years agohdt: Fixing vesa detection
Erwan Velu [Thu, 3 Feb 2011 21:06:25 +0000 (22:06 +0100)]
hdt: Fixing vesa detection

When booting by using the VESA mode, the init order wasn't correct.
This was introduced by commit 460a711a8d3e0c71abe9edaf15cbb366d0f70c81

Thx Ralf Carl for reporting this.

13 years agohdt: Releasing 0.4.0
Erwan Velu [Wed, 2 Feb 2011 20:09:37 +0000 (21:09 +0100)]
hdt: Releasing 0.4.0

13 years agohdt: Ignoring *gz files
Erwan Velu [Wed, 2 Feb 2011 20:09:18 +0000 (21:09 +0100)]
hdt: Ignoring *gz files

13 years agohdt: Adding BOOT support
Erwan Velu [Mon, 31 Jan 2011 21:28:58 +0000 (22:28 +0100)]
hdt: Adding BOOT support

13 years agoACPI: Adding BOOT support
Erwan Velu [Mon, 31 Jan 2011 21:28:45 +0000 (22:28 +0100)]
ACPI: Adding BOOT support

13 years agohdt: Adding SLIC support
Erwan Velu [Mon, 31 Jan 2011 21:26:50 +0000 (22:26 +0100)]
hdt: Adding SLIC support

13 years agoACPI: Adding SLIC support
Erwan Velu [Mon, 31 Jan 2011 21:21:05 +0000 (22:21 +0100)]
ACPI: Adding SLIC support

13 years agoMerge branch 'master' of ssh://terminus.zytor.com//pub/git/users/erwan/hdt
Erwan Velu [Mon, 31 Jan 2011 21:16:33 +0000 (22:16 +0100)]
Merge branch 'master' of ssh://terminus.zytor.com//pub/git/users/erwan/hdt

Conflicts:
com32/hdt/hdt-cli-acpi.c
com32/hdt/hdt-menu-acpi.c

13 years agohdt: Adding MCFG support
Erwan Velu [Mon, 31 Jan 2011 21:14:33 +0000 (22:14 +0100)]
hdt: Adding MCFG support

13 years agoACPI: Adding MCFG support
Erwan Velu [Mon, 31 Jan 2011 21:14:16 +0000 (22:14 +0100)]
ACPI: Adding MCFG support

13 years agohdt: Displaying FACS in gui mode
Erwan Velu [Mon, 31 Jan 2011 21:12:54 +0000 (22:12 +0100)]
hdt: Displaying FACS in gui mode

13 years agoACPI: Fixing typo in TCPA
Erwan Velu [Mon, 31 Jan 2011 21:04:12 +0000 (22:04 +0100)]
ACPI: Fixing typo in TCPA

13 years agohdt: Adding TCPA support
Erwan Velu [Mon, 31 Jan 2011 21:02:39 +0000 (22:02 +0100)]
hdt: Adding TCPA support

13 years agohdt: Adding TCPA support
Erwan Velu [Mon, 31 Jan 2011 21:02:39 +0000 (22:02 +0100)]
hdt: Adding TCPA support

13 years agoACPI: Adding TCPA support
Erwan Velu [Mon, 31 Jan 2011 21:01:26 +0000 (22:01 +0100)]
ACPI: Adding TCPA support

13 years agohdt: Fixing ACPI initialisation
Erwan Velu [Mon, 31 Jan 2011 21:00:13 +0000 (22:00 +0100)]
hdt: Fixing ACPI initialisation

The zeroification wasn't correct regarding the structure type.

13 years agohdt: Adding HPET support
Erwan Velu [Mon, 31 Jan 2011 20:24:19 +0000 (21:24 +0100)]
hdt: Adding HPET support

13 years agoACPI: Adding HPET support
Erwan Velu [Mon, 31 Jan 2011 20:24:07 +0000 (21:24 +0100)]
ACPI: Adding HPET support

13 years agohdt: Don't skrink cpu name
Erwan Velu [Mon, 31 Jan 2011 16:03:02 +0000 (17:03 +0100)]
hdt: Don't skrink cpu name

13 years agoACPI: Improving tables detection
Erwan Velu [Mon, 31 Jan 2011 15:32:25 +0000 (16:32 +0100)]
ACPI: Improving tables detection

In some conditions, XSDT pointer could be null. In such conditions, we
have to parse tables pointed by RSDP.

This patch remove the table parsing from xsdt to acpi.c.
If the XSDT detection fails, let's switch back to the RSDP entries.

This was the case under KVM whereas VirtualBox features an XSDT.

13 years agoACPI: Fixing ACPI return codes
Erwan Velu [Mon, 31 Jan 2011 15:29:49 +0000 (16:29 +0100)]
ACPI: Fixing ACPI return codes

Without defining values using the negative values as a return option
could lead to a false positive case.

Setting up the values helps prevent from using the 0 value.

13 years agoDMI: Adjusting structures size / Adding cpu core
Laurent Licour [Sun, 30 Jan 2011 19:50:59 +0000 (20:50 +0100)]
DMI: Adjusting structures size / Adding cpu core

This patch adds some correction of the dmi structures but also add the
support of the cpu cores/threads.

13 years agohdt: Improving CPU display
Erwan Velu [Sun, 30 Jan 2011 14:06:40 +0000 (15:06 +0100)]
hdt: Improving CPU display

13 years agoMerge remote branch 'origin/master' into chouffe
Erwan Velu [Wed, 26 Jan 2011 22:56:09 +0000 (23:56 +0100)]
Merge remote branch 'origin/master' into chouffe

13 years agohdt: Updating gitignore
Erwan Velu [Wed, 26 Jan 2011 22:53:04 +0000 (23:53 +0100)]
hdt: Updating gitignore

Making gitignore more generic

13 years agohdt: Updating memtest to 4.20
Erwan Velu [Wed, 26 Jan 2011 22:51:59 +0000 (23:51 +0100)]
hdt: Updating memtest to 4.20

13 years agohdt: Switching to beta release
Erwan Velu [Wed, 26 Jan 2011 22:42:45 +0000 (23:42 +0100)]
hdt: Switching to beta release

13 years agoACPI: Fixing copyright
Erwan Velu [Wed, 26 Jan 2011 22:41:27 +0000 (23:41 +0100)]
ACPI: Fixing copyright

13 years agohdt: Adding ACPI to menu mode
Erwan Velu [Wed, 26 Jan 2011 22:41:01 +0000 (23:41 +0100)]
hdt: Adding ACPI to menu mode

Preliminary support of the ACPI info in the menu mode.

13 years agohdt: Renaming madt items into apic
Erwan Velu [Wed, 26 Jan 2011 21:28:10 +0000 (22:28 +0100)]
hdt: Renaming madt items into apic

This will match better kernel's naming.

13 years agoACPI: Displaying MADT as APIC
Erwan Velu [Wed, 26 Jan 2011 21:27:44 +0000 (22:27 +0100)]
ACPI: Displaying MADT as APIC

Kernel shows this table as APIC, let's do the same

13 years agoACPI: Fixing pointer arithmetic
Erwan Velu [Wed, 26 Jan 2011 21:14:20 +0000 (22:14 +0100)]
ACPI: Fixing pointer arithmetic

Several adjustements were necessary ;o)

13 years agohdt: Using void pointer to display acpi tables
Erwan Velu [Wed, 26 Jan 2011 21:13:11 +0000 (22:13 +0100)]
hdt: Using void pointer to display acpi tables

Void pointer is prefered and more generic as we have several sorts of
pointer address.

13 years agoMerge remote branch 'hdt/master' syslinux-4.04-pre5
H. Peter Anvin [Wed, 26 Jan 2011 00:58:13 +0000 (16:58 -0800)]
Merge remote branch 'hdt/master'

13 years agoMerge remote branch 'sha0/memdskprobe'
H. Peter Anvin [Wed, 26 Jan 2011 00:56:20 +0000 (16:56 -0800)]
Merge remote branch 'sha0/memdskprobe'

13 years agodisk: put a magic at the end of the boot sector
H. Peter Anvin [Wed, 26 Jan 2011 00:53:42 +0000 (16:53 -0800)]
disk: put a magic at the end of the boot sector

Put a magic signature at the end of the boot sector, and a backpointer
to the code that contains the pointer to the main code extent.  This
is useful for integrity-checking tools, and could help the installer
in the future.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agomemdisk: Fix INT 0x13, AH==0x15 disk drive probe
Shao Miller [Tue, 25 Jan 2011 22:16:47 +0000 (17:16 -0500)]
memdisk: Fix INT 0x13, AH==0x15 disk drive probe

The function might return CF==0 ("success"), but could
include AH==0 ("no such drive").  This is the case on
at least a number of Dell models.  Now we check AH, too.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
13 years agodiskstart: move writestr_early out of boot sector
H. Peter Anvin [Tue, 25 Jan 2011 22:11:11 +0000 (14:11 -0800)]
diskstart: move writestr_early out of boot sector

We can save 8 bytes in the boot sector by moving writestr_early out
and putting the real routine in sector 1.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agomemdisk: Enhance disk-probe debugging output
Shao Miller [Tue, 25 Jan 2011 15:44:13 +0000 (10:44 -0500)]
memdisk: Enhance disk-probe debugging output

In an effort to trouble-shoot a problem report on some Dell
models (including an Optiplex GX260), we add further debugging
output to try to find out at which point things go wrong.  The
problem units are apparently probing as "drive present" for all
drives, which obviously isn't right.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
13 years agoACPI: Adding DEBUG_PRINT
Erwan Velu [Tue, 25 Jan 2011 21:15:01 +0000 (22:15 +0100)]
ACPI: Adding DEBUG_PRINT

Adding a function to debug & print for ACPI.

13 years agoACPI: Fixing SSDT detection
Erwan Velu [Tue, 25 Jan 2011 21:13:06 +0000 (22:13 +0100)]
ACPI: Fixing SSDT detection

This test error was crashing the program.

13 years agohdt: Adding gitignore file
Erwan Velu [Tue, 25 Jan 2011 20:36:36 +0000 (21:36 +0100)]
hdt: Adding gitignore file

13 years agohdt: Fixing verbose mode
Erwan Velu [Tue, 25 Jan 2011 20:35:02 +0000 (21:35 +0100)]
hdt: Fixing verbose mode

HDT's images were lacking of a verbose mode. Quiet is the default so we
have to enforce the verbose if needed.

13 years agodisklib: Detect DiskCryptor MBR
Gert Hulselmans [Mon, 24 Jan 2011 22:53:34 +0000 (23:53 +0100)]
disklib: Detect DiskCryptor MBR

Add detection code for DiskCryptor MBR to disklib.

Signed-off-by: Gert Hulselmans <gerth@zytor.com>
13 years agodisklib: Detect "FreeDOS (eXtended FDisk)" MBR
Gert Hulselmans [Mon, 24 Jan 2011 23:17:57 +0000 (00:17 +0100)]
disklib: Detect "FreeDOS (eXtended FDisk)" MBR

Add detection code for "FreeDOS (eXtended FDisk)" MBR to disklib.

Signed-off-by: Gert Hulselmans <gerth@zytor.com>
13 years agodisklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR
Gert Hulselmans [Mon, 24 Jan 2011 23:12:48 +0000 (00:12 +0100)]
disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR

Add detection code for "MS-DOS 3.30 through Windows 95 (A)" MBR to disklib.

Signed-off-by: Gert Hulselmans <gerth@zytor.com>
13 years agodisklib: Detect new Syslinux (normal + isohybrid) MBR
Gert Hulselmans [Mon, 24 Jan 2011 22:08:23 +0000 (23:08 +0100)]
disklib: Detect new Syslinux (normal + isohybrid) MBR

Add detection code for new Syslinux (normal + isohybrid) MBR to disklib.
Switch old Syslinux MBR and Master Boot LoaDeR detection code.

Signed-off-by: Gert Hulselmans <gerth@zytor.com>
13 years agodisklib: Detect Paragon MBR
Gert Hulselmans [Mon, 24 Jan 2011 22:58:35 +0000 (23:58 +0100)]
disklib: Detect Paragon MBR

Add detection code for Paragon MBR to disklib.

Signed-off-by: Gert Hulselmans <gerth@zytor.com>
13 years agoMerge branch 'master' into chouffe
Erwan Velu [Tue, 25 Jan 2011 19:41:50 +0000 (20:41 +0100)]
Merge branch 'master' into chouffe

Conflicts:
com32/hdt/hdt.h

13 years agoACPI: On the road to cleaning ;)
Erwan Velu [Tue, 25 Jan 2011 19:38:39 +0000 (20:38 +0100)]
ACPI: On the road to cleaning ;)

13 years agomemdisk: Make debug-mode a tad prettier
Shao Miller [Tue, 25 Jan 2011 02:47:43 +0000 (21:47 -0500)]
memdisk: Make debug-mode a tad prettier

By removing the use of #ifdef-#endif blocks.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
13 years agodiskio: Support EDD 4 16-byte device paths
H. Peter Anvin [Mon, 17 Jan 2011 19:54:45 +0000 (11:54 -0800)]
diskio: Support EDD 4 16-byte device paths

EDD 4 has 16-byte device path information.  Make the EDD buffer big
enough to capture that.  Note that the location of the device path
checksum actually depends on the device path length information field!

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agodiskio: add reminder that we need clear in the future
H. Peter Anvin [Mon, 17 Jan 2011 19:48:55 +0000 (11:48 -0800)]
diskio: add reminder that we need clear in the future

Currently, disk_init() can only be called once, and edd_params get
statically initialized to zero.  This will change once this function
can be called more than once, and we depend on the pre-initialization
to zero to avoid known BIOS bugs.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoNEWS: Document MBR fix. syslinux-4.04-pre4
H. Peter Anvin [Thu, 23 Dec 2010 20:04:48 +0000 (12:04 -0800)]
NEWS: Document MBR fix.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agombr: Make sure the MBR code starts with the byte 0x33
H. Peter Anvin [Thu, 23 Dec 2010 20:02:52 +0000 (12:02 -0800)]
mbr: Make sure the MBR code starts with the byte 0x33

Apparently some BIOSes (including some Acer Travelmate machines)
require an MBR to start with 0x33; apparently Micro$oft MBRs start
with 33 C0, an alternate coding of the "xorw %ax,%ax" instruction.  As
such, follow suit to work on these braindead BIOSes.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore/diskboot.inc: fix bug; Sect1Ptr1_VAL
Gene Cumm [Tue, 21 Dec 2010 12:23:06 +0000 (07:23 -0500)]
core/diskboot.inc: fix bug; Sect1Ptr1_VAL

13 years agocore/diskstart.inc: Remove code copied to diskboot.inc
Gene Cumm [Tue, 21 Dec 2010 02:05:51 +0000 (21:05 -0500)]
core/diskstart.inc: Remove code copied to diskboot.inc

13 years agocore/diskboot.inc: The boot sector code from diskstart.inc
Gene Cumm [Tue, 21 Dec 2010 02:02:52 +0000 (21:02 -0500)]
core/diskboot.inc: The boot sector code from diskstart.inc

Split to allow it to be used by debugging/diagnostic images

13 years agocore/diskstart.inc: Sect1Ptr values moved to constants
Gene Cumm [Tue, 21 Dec 2010 01:53:39 +0000 (20:53 -0500)]
core/diskstart.inc: Sect1Ptr values moved to constants

This allows another program to re-use the boot sector and define
different values, once split.

13 years agocore/diskstart.inc: Use xint13 when it saves space or protects
Gene Cumm [Tue, 21 Dec 2010 01:39:11 +0000 (20:39 -0500)]
core/diskstart.inc: Use xint13 when it saves space or protects

Additional note on where it will cost to possibly not protect anything

13 years agocore/diskstart.inc: Wrap INT13h in xint13 to preserve ES
Gene Cumm [Tue, 21 Dec 2010 01:24:29 +0000 (20:24 -0500)]
core/diskstart.inc: Wrap INT13h in xint13 to preserve ES

Sometimes INT13h AH08h kills ES to return info about a "floppy" (since
an unpartitioned HDD might look like a floppy).  Also, change to tabs
on previous line.

13 years agocore: Add workaround in the Makefile for GNU Make 3.82 bug
H. Peter Anvin [Fri, 17 Dec 2010 03:45:57 +0000 (19:45 -0800)]
core: Add workaround in the Makefile for GNU Make 3.82 bug

Apparently GNU Make 3.82 mishandles pattern rules with fixed
dependencies, sigh.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocore: remove HAS_LOCALBOOT
Sebastian Herbszt [Tue, 27 Jul 2010 20:32:54 +0000 (22:32 +0200)]
core: remove HAS_LOCALBOOT

HAS_LOCALBOOT is set unconditionally in config.inc.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoNEWS: document fix for non-partitioned devices. syslinux-4.04-pre3
H. Peter Anvin [Tue, 14 Dec 2010 17:55:12 +0000 (09:55 -0800)]
NEWS: document fix for non-partitioned devices.

13 years agocore, diskstart: add more sanity checks for handover info
H. Peter Anvin [Tue, 14 Dec 2010 17:53:42 +0000 (09:53 -0800)]
core, diskstart: add more sanity checks for handover info

In particular, somehow we failed to actually test for DS:SI = 0:0!
This tests both for SI < 16 and DS:SI < 1024.  The former of those
tests is a bit iffy and probably should be removed.

This should also be promoted into isohdpfx.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agosyslinux.ld: ld 2.20.51 seems to want .bss16 explicitly (NOLOAD)
H. Peter Anvin [Tue, 14 Dec 2010 17:51:33 +0000 (09:51 -0800)]
syslinux.ld: ld 2.20.51 seems to want .bss16 explicitly (NOLOAD)

ld 2.20.51 seems to want the .bss16 explicitly marked (NOLOAD).  We do
that for most of the other bss sections, so we might as well.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agomemdiskfind: abstract get page size so we can compile against klibc
H. Peter Anvin [Wed, 8 Dec 2010 00:35:01 +0000 (16:35 -0800)]
memdiskfind: abstract get page size so we can compile against klibc

klibc doesn't have sysconf(), because it involves a hideously
inefficient multiplex.  Thus, if _SC_PAGESIZE is not defined, invoke
getpagesize().  Call the routine get_page_size() so it doesn't
conflict on a platform which has both sysconf(_SC_PAGESIZE) and
getpagesize().

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agoNEWS: further updates syslinux-4.04-pre2
H. Peter Anvin [Tue, 7 Dec 2010 00:02:12 +0000 (16:02 -0800)]
NEWS: further updates

13 years agoMerge remote branch 'genec/news-for-hpa'
H. Peter Anvin [Tue, 7 Dec 2010 00:00:58 +0000 (16:00 -0800)]
Merge remote branch 'genec/news-for-hpa'

13 years agocom32: fix a ffile descriptor leak on open() of a nonexistent file
H. Peter Anvin [Mon, 6 Dec 2010 23:54:24 +0000 (15:54 -0800)]
com32: fix a ffile descriptor leak on open() of a nonexistent file

If we try to open a nonexistent file, free the resulting file
descriptor.

Reported-by: Antonio Carlini <arcarlini@iee.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 years agogfxboot: require LABEL keywords
Sebastian Herbszt [Sun, 5 Dec 2010 20:43:45 +0000 (21:43 +0100)]
gfxboot: require LABEL keywords

Require LABEL keywords in config file.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agogfxboot: support TEXT and ENDTEXT keywords
Sebastian Herbszt [Sun, 5 Dec 2010 20:34:42 +0000 (21:34 +0100)]
gfxboot: support TEXT and ENDTEXT keywords

Support TEXT and ENDTEXT keywords; ignore the help text.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
13 years agoNEWS: Update for 4.04 as of 4.04-pre1
Gene Cumm [Sat, 4 Dec 2010 02:18:08 +0000 (21:18 -0500)]
NEWS: Update for 4.04 as of 4.04-pre1

13 years agoBump version to 4.04 syslinux-4.04-pre1
H. Peter Anvin [Fri, 3 Dec 2010 00:04:35 +0000 (16:04 -0800)]
Bump version to 4.04

13 years agoman: remove long-since-obsolete note about name mangling
H. Peter Anvin [Thu, 18 Nov 2010 20:08:47 +0000 (12:08 -0800)]
man: remove long-since-obsolete note about name mangling

We haven't mangled label names for a very long time...

13 years agocore, pxe: Fix handling of unqualified DNS names
H. Peter Anvin [Sun, 14 Nov 2010 21:14:49 +0000 (13:14 -0800)]
core, pxe: Fix handling of unqualified DNS names

Actually append the domain name to the end of an unqualified DNS name
like we should have done all along.

Reported-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agomemdisk: use char array for external symbols
H. Peter Anvin [Sun, 14 Nov 2010 21:13:25 +0000 (13:13 -0800)]
memdisk: use char array for external symbols

Use "extern const char foo[];" for an external symbol rather than
"extern void" (gcc 4.5 fix.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agogfxboot: use a character array for an absolute symbol
H. Peter Anvin [Sun, 14 Nov 2010 21:12:28 +0000 (13:12 -0800)]
gfxboot: use a character array for an absolute symbol

The best way to access an absolute symbol is "extern const char
foo[];" -- older gccs let you get away with "extern void" but gcc 4.5
chokes on it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agodisklib: remove improper "inline"
H. Peter Anvin [Sun, 14 Nov 2010 21:11:30 +0000 (13:11 -0800)]
disklib: remove improper "inline"

Remove improper inlines from static functions which cause gcc 4.5 to
abort due to inlining failure.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agocom32: add a centralized bitops header
H. Peter Anvin [Sun, 14 Nov 2010 21:09:48 +0000 (13:09 -0800)]
com32: add a centralized bitops header

Add a centralized bitops header <sys/bitops.h> which uses x86 bitops
instructions.  This is necessary to keep gcc 4.5 from aborting
compilation due to the inlined code being larger than the non-inlined
version, and well, we should really use the bitops.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years agoMerge branch 'genec-rosh-for-hpa', remote branches 'genec/sample-make-for-hpa', ...
H. Peter Anvin [Sun, 14 Nov 2010 20:51:07 +0000 (12:51 -0800)]
Merge branch 'genec-rosh-for-hpa', remote branches 'genec/sample-make-for-hpa', 'genec/drmk-ver-for-hpa' and 'genec/pxechain-for-hpa'

13 years agoPXELINUX: shorten code in pxenv call
Gene Cumm [Sat, 13 Nov 2010 16:29:08 +0000 (11:29 -0500)]
PXELINUX: shorten code in pxenv call

Now that both scenarios are clear (do/do not call timer_cleanup/
timer_init), shorten it to eliminate a needless jmp.

13 years agoPXELINUX: add gPXE PXENV_FILE_EXEC in addition to PXENV_RESTART_TFTP; comments
Gene Cumm [Sat, 13 Nov 2010 16:22:54 +0000 (11:22 -0500)]
PXELINUX: add gPXE PXENV_FILE_EXEC in addition to PXENV_RESTART_TFTP; comments

Both of these calls will not return if successful

14 years agover.com: Update some of how DRMK is handled
Gene Cumm [Sat, 6 Nov 2010 12:09:15 +0000 (08:09 -0400)]
ver.com: Update some of how DRMK is handled

14 years agoPXELINUX: Fix timer bug
Gene Cumm [Fri, 5 Nov 2010 17:32:52 +0000 (13:32 -0400)]
PXELINUX: Fix timer bug

Certain calls to the PXE stack could potentially remove us from
memory.  Revert the INT 1Ch timer to its previous state.

14 years agover.com: Fix month calculation for DRMK Build Date
Gene Cumm [Wed, 3 Nov 2010 02:52:09 +0000 (22:52 -0400)]
ver.com: Fix month calculation for DRMK Build Date