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>
H. Peter Anvin [Wed, 16 Mar 2011 20:16:16 +0000 (13:16 -0700)]
Merge remote-tracking branch 'genec/news-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'
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Gene Cumm [Thu, 10 Mar 2011 01:48:16 +0000 (20:48 -0500)]
NEWS: wrapping
Gene Cumm [Thu, 10 Mar 2011 01:45:28 +0000 (20:45 -0500)]
doc/pxelinux.txt: Info on gPXE-enhanced binaries
Gene Cumm [Thu, 10 Mar 2011 01:45:03 +0000 (20:45 -0500)]
doc/memdisk.txt: Add mem= parameter
Gene Cumm [Thu, 10 Mar 2011 01:42:28 +0000 (20:42 -0500)]
NEWS: update
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>
H. Peter Anvin [Thu, 3 Mar 2011 23:27:32 +0000 (15:27 -0800)]
version: it is 2011...
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>
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>
H. Peter Anvin [Wed, 2 Mar 2011 23:07:07 +0000 (15:07 -0800)]
Merge remote branch 'genec/memdisk-maxmem-for-hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:06:55 +0000 (15:06 -0800)]
Merge remote branch 'genec/rosh_for_hpa'
H. Peter Anvin [Wed, 2 Mar 2011 23:06:41 +0000 (15:06 -0800)]
Merge remote branch 'genec/diskboot-comment-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'
H. Peter Anvin [Wed, 2 Mar 2011 23:04:41 +0000 (15:04 -0800)]
Merge remote branch 'genec/win64-mingw32-ubuntu-for-hpa'
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.
Gene Cumm [Mon, 28 Feb 2011 17:07:29 +0000 (12:07 -0500)]
doc/syslinux.txt: CONFIG: Shorten how it's specified.
Gene Cumm [Mon, 28 Feb 2011 17:06:24 +0000 (12:06 -0500)]
doc/syslinux.txt: CONFIG order of operations
Gene Cumm [Mon, 28 Feb 2011 17:03:54 +0000 (12:03 -0500)]
doc/syslinux.txt: Specify that CONFIG can change working directory
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>
H. Peter Anvin [Mon, 21 Feb 2011 00:40:43 +0000 (16:40 -0800)]
Merge remote-tracking branch 'hdt/lua'
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>
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.
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
Gene Cumm [Wed, 9 Feb 2011 01:31:28 +0000 (20:31 -0500)]
memdisk: Fix CSRC in Makefile
Gene Cumm [Wed, 9 Feb 2011 01:07:43 +0000 (20:07 -0500)]
memdisk & libcom32: Fix minor errors in previous commit
Gene Cumm [Wed, 9 Feb 2011 00:54:20 +0000 (19:54 -0500)]
com32: Move suffix_number() from libutil to libcom32
Gene Cumm [Wed, 9 Feb 2011 00:40:43 +0000 (19:40 -0500)]
memdisk: Undo addition of vpath and removal of tiny files
Erwan Velu [Tue, 8 Feb 2011 21:15:07 +0000 (22:15 +0100)]
lua: Adding CPU module
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.
Gene Cumm [Tue, 8 Feb 2011 01:53:13 +0000 (20:53 -0500)]
memdisk/setup: Allow suffix processing on mem= parameter
Gene Cumm [Tue, 8 Feb 2011 01:13:48 +0000 (20:13 -0500)]
libutil: copy suffix_number() from com32/lib/syslinux/load_linux.c
Gene Cumm [Mon, 7 Feb 2011 23:53:46 +0000 (18:53 -0500)]
memdisk: Add strtoull from libcom32 by #include
Erwan Velu [Mon, 7 Feb 2011 22:23:40 +0000 (23:23 +0100)]
NEWS: Updating LUA to 5.1.4-2
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.
Erwan Velu [Mon, 7 Feb 2011 21:33:34 +0000 (22:33 +0100)]
lua: Adding PCI init
This removable was introduced by commit
bfcd7b7305c5465eb33acca86109ca96cb37403a
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
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
Erwan Velu [Mon, 7 Feb 2011 19:14:36 +0000 (20:14 +0100)]
Merge branch 'master' into lua
Erwan Velu [Mon, 7 Feb 2011 19:14:06 +0000 (20:14 +0100)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
Gene Cumm [Mon, 7 Feb 2011 04:16:57 +0000 (23:16 -0500)]
memdisk/setup: remove unneeded code associated with int15maxres
Gene Cumm [Mon, 7 Feb 2011 04:09:57 +0000 (23:09 -0500)]
memdisk/setup: int15maxres: Use 1 const; comment out printf()
Gene Cumm [Mon, 7 Feb 2011 03:59:53 +0000 (22:59 -0500)]
memdisk/setup: Change int15maxres to parse memory range lines
Only touch the ranges that are type 1 (available)
Gene Cumm [Mon, 7 Feb 2011 03:04:58 +0000 (22:04 -0500)]
memdisk/setup: change option to mem
Gene Cumm [Mon, 7 Feb 2011 03:03:55 +0000 (22:03 -0500)]
memdisk/setup: Move duplicate code in int15maxres to new function
Gene Cumm [Mon, 7 Feb 2011 02:24:30 +0000 (21:24 -0500)]
Merge branch 'master' into memdisk-maxmem-for-hpa
Erwan Velu [Sun, 6 Feb 2011 23:06:55 +0000 (00:06 +0100)]
NEWS: Updating for ACPI & HDT 0.4.1
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.
Erwan Velu [Sun, 6 Feb 2011 22:54:02 +0000 (23:54 +0100)]
lua: Preventing gcc warning on vesa.c
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
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>
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.
Gene Cumm [Sat, 5 Feb 2011 21:56:21 +0000 (16:56 -0500)]
memdisk: New parameter (int15maxres) for specifying maximum RAM
Add a new parameter, int15maxres, for specifying (in decimal bytes) the
maximum amount of free RAM that different calls will return. The RAM is
tagged in INT15h AXe820h as reserved in order to satisfy this.
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.
Erwan Velu [Wed, 2 Feb 2011 20:09:37 +0000 (21:09 +0100)]
hdt: Releasing 0.4.0
Erwan Velu [Wed, 2 Feb 2011 20:09:18 +0000 (21:09 +0100)]
hdt: Ignoring *gz files
Erwan Velu [Mon, 31 Jan 2011 21:28:58 +0000 (22:28 +0100)]
hdt: Adding BOOT support
Erwan Velu [Mon, 31 Jan 2011 21:28:45 +0000 (22:28 +0100)]
ACPI: Adding BOOT support
Erwan Velu [Mon, 31 Jan 2011 21:26:50 +0000 (22:26 +0100)]
hdt: Adding SLIC support
Erwan Velu [Mon, 31 Jan 2011 21:21:05 +0000 (22:21 +0100)]
ACPI: Adding SLIC support
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
Erwan Velu [Mon, 31 Jan 2011 21:14:33 +0000 (22:14 +0100)]
hdt: Adding MCFG support
Erwan Velu [Mon, 31 Jan 2011 21:14:16 +0000 (22:14 +0100)]
ACPI: Adding MCFG support
Erwan Velu [Mon, 31 Jan 2011 21:12:54 +0000 (22:12 +0100)]
hdt: Displaying FACS in gui mode
Erwan Velu [Mon, 31 Jan 2011 21:04:12 +0000 (22:04 +0100)]
ACPI: Fixing typo in TCPA
Erwan Velu [Mon, 31 Jan 2011 21:02:39 +0000 (22:02 +0100)]
hdt: Adding TCPA support
Erwan Velu [Mon, 31 Jan 2011 21:02:39 +0000 (22:02 +0100)]
hdt: Adding TCPA support
Erwan Velu [Mon, 31 Jan 2011 21:01:26 +0000 (22:01 +0100)]
ACPI: Adding TCPA support
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.
Erwan Velu [Mon, 31 Jan 2011 20:24:19 +0000 (21:24 +0100)]
hdt: Adding HPET support
Erwan Velu [Mon, 31 Jan 2011 20:24:07 +0000 (21:24 +0100)]
ACPI: Adding HPET support
Erwan Velu [Mon, 31 Jan 2011 16:03:02 +0000 (17:03 +0100)]
hdt: Don't skrink cpu name
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.
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.
Gene Cumm [Mon, 31 Jan 2011 14:05:59 +0000 (09:05 -0500)]
rosh: 2 bug fixes; more debug code
This fixes two issues when doing "ls -l"; directory entries with a
directory argument were not qualified; stat() checked 1, not -1
Gene Cumm [Mon, 31 Jan 2011 11:45:50 +0000 (06:45 -0500)]
Merge branch 'master' into rosh_for_hpa
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.