platform/upstream/syslinux.git
15 years agoPCI: Fixing freeze when detecting many PCI devices
Erwan Velu [Tue, 14 Apr 2009 19:41:05 +0000 (21:41 +0200)]
PCI: Fixing freeze when detecting many PCI devices

Impact: Prevent hard freeze when having many PCI devices

A user reported that calling gather_additional_pci_config() when many
PCI devices exists on a host could lead to a complete freeze.
This patch remove some useless code and use for_each_pci_func() instead.
This prevent useless memory allocation.

15 years agoNEWS: add the latest stuff... syslinux-3.75-pre3
H. Peter Anvin [Wed, 15 Apr 2009 04:55:08 +0000 (21:55 -0700)]
NEWS: add the latest stuff...

Document additional changes since 3.74.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agogpxe: Don't use "lret $2" to return from an interrupt
H. Peter Anvin [Wed, 15 Apr 2009 04:52:50 +0000 (21:52 -0700)]
gpxe: Don't use "lret $2" to return from an interrupt

Using "lret $2" to return from an interrupt causes interrupts to be
disabled in the calling program, since the INT instruction will have
disabled interrupts.  Instead, patch CF on the stack and use iret to
return.

Interestingly, the original PC BIOS had this bug in at least one
place.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agomenu: modify MENU SAVE to be a cascading default
H. Peter Anvin [Wed, 15 Apr 2009 04:45:54 +0000 (21:45 -0700)]
menu: modify MENU SAVE to be a cascading default

Change MENU SAVE to be a cascading default that can be reverted with
MENU NOSAVE.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agodoc: fix stray parenthesis in syslinux.txt
H. Peter Anvin [Tue, 14 Apr 2009 22:36:05 +0000 (15:36 -0700)]
doc: fix stray parenthesis in syslinux.txt

Remove stay parenthesis in syslinux.txt

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agodoc: update copyright in syslinux.txt
H. Peter Anvin [Tue, 14 Apr 2009 19:36:21 +0000 (12:36 -0700)]
doc: update copyright in syslinux.txt

Update and clarify copyright in syslinux.txt.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoNEWS: the extlinux(1) is from Brian Pellin, not Daniel Baumann.
H. Peter Anvin [Tue, 14 Apr 2009 19:08:08 +0000 (12:08 -0700)]
NEWS: the extlinux(1) is from Brian Pellin, not Daniel Baumann.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoNEWS: document MEMDISK fixes, updates. syslinux-3.75-pre2
H. Peter Anvin [Tue, 14 Apr 2009 19:04:54 +0000 (12:04 -0700)]
NEWS: document MEMDISK fixes, updates.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoAdding manpage from Brian Pellin <bpellin@gmail.com> for extlinux.
Daniel Baumann [Tue, 14 Apr 2009 18:30:55 +0000 (20:30 +0200)]
Adding manpage from Brian Pellin <bpellin@gmail.com> for extlinux.

15 years agoCorrecting typo in extlinux documentation.
Daniel Baumann [Tue, 14 Apr 2009 18:29:43 +0000 (20:29 +0200)]
Correcting typo in extlinux documentation.

15 years agoMEMDISK: traceability for the geometry
H. Peter Anvin [Tue, 14 Apr 2009 19:02:11 +0000 (12:02 -0700)]
MEMDISK: traceability for the geometry

Print the source of the geometry determination.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoMEMDISK: fix MBR geometry extraction
H. Peter Anvin [Tue, 14 Apr 2009 19:01:07 +0000 (12:01 -0700)]
MEMDISK: fix MBR geometry extraction

Fix the MBR geometry extraction; there was an off-by-2 error in the
MBR signature offset.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoNEWS, version: bump version to 3.75, document keeppxe fix syslinux-3.75-pre1
H. Peter Anvin [Tue, 14 Apr 2009 18:22:07 +0000 (11:22 -0700)]
NEWS, version: bump version to 3.75, document keeppxe fix

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agopxelinux: fix the handling of KeepPXE
H. Peter Anvin [Tue, 14 Apr 2009 18:20:03 +0000 (11:20 -0700)]
pxelinux: fix the handling of KeepPXE

KeepPXE was broken in 3.74, because we tried to use both bits 0 and 1,
but failed to actually test both bits.  Instead, just use bit 0, but
move the place where we clear the bits.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agogfxboot: parse DEFAULT keywork in syslinux config file syslinux-3.74
Christophe Fergeau [Thu, 9 Apr 2009 09:09:55 +0000 (11:09 +0200)]
gfxboot: parse DEFAULT keywork in syslinux config file

The gfxboot COM module currently ignores the DEFAULT entry set in
syslinux config file and always default to 0 instead. This patch parses
DEFAULT entries in the config file and set the default entry
accordingly.

Signed-off-by: Christophe Fergeau <cfergeau@mandriva.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agohdt: clear memtest_label syslinux-3.74-pre21
Sebastian Herbszt [Wed, 8 Apr 2009 19:08:14 +0000 (21:08 +0200)]
hdt: clear memtest_label

Clear memtest_label in init_hardware().

15 years agocom32: the keyboard map size is in CX not in DX
H. Peter Anvin [Wed, 8 Apr 2009 23:17:55 +0000 (16:17 -0700)]
com32: the keyboard map size is in CX not in DX

Impact: fixes kbdmap.c32

The keyboard map size is passed in CX, not in DX.  Fix typo in
libcom32.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agogfxboot module: fix copyright notice
Sebastian Herbszt [Wed, 8 Apr 2009 19:02:52 +0000 (21:02 +0200)]
gfxboot module: fix copyright notice

Include copyright notices of reused code.

15 years agoNEWS: document gfxboot.com syslinux-3.74-pre20
H. Peter Anvin [Tue, 7 Apr 2009 22:40:24 +0000 (15:40 -0700)]
NEWS: document gfxboot.com

15 years agoGfxboot COMBOOT module
Sebastian Herbszt [Sun, 5 Apr 2009 21:19:49 +0000 (23:19 +0200)]
Gfxboot COMBOOT module

A COMBOOT module to interface to Steffen Winterfeldt's Gfxboot
graphical front end (http://gfxboot.sourceforge.net/).

15 years agoMerge commit 'hdt/master'
H. Peter Anvin [Mon, 6 Apr 2009 23:56:51 +0000 (16:56 -0700)]
Merge commit 'hdt/master'

15 years agoAdd back "install: all" to the com32 devel directories syslinux-3.74-pre19
H. Peter Anvin [Mon, 6 Apr 2009 23:38:28 +0000 (16:38 -0700)]
Add back "install: all" to the com32 devel directories

"make install" in the com32 directory currently installs the devel
environment, which should be build using the host toolchain... so make
it so.

15 years agoMakefiles: try to make "make install" do the right thing
H. Peter Anvin [Mon, 6 Apr 2009 23:33:43 +0000 (16:33 -0700)]
Makefiles: try to make "make install" do the right thing

One more attempt at getting semi-sanity to "make install".
Realistically, the install/netinstall/install-all/... needs to be
pushed into the com32 Makefiles, but this is at least a quick hack.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoImplement MENU SAVE; fix COM32 setadv function syslinux-3.74-pre18
H. Peter Anvin [Mon, 6 Apr 2009 22:19:21 +0000 (15:19 -0700)]
Implement MENU SAVE; fix COM32 setadv function

Implement MENU SAVE, which allows the menu system to retain the
previous selection from one boot to another.  In the process, fix the
syslinux_setadv() function.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agocore: unbreak "make depend", fix make spotless
H. Peter Anvin [Mon, 6 Apr 2009 21:10:10 +0000 (14:10 -0700)]
core: unbreak "make depend", fix make spotless

cmdline.inc: Unbreak "make depend"
Makefile: fix "make spotless"

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNEWS: document cmdline fix
H. Peter Anvin [Mon, 6 Apr 2009 21:02:04 +0000 (14:02 -0700)]
NEWS: document cmdline fix

15 years agoipappend: clean up ipappend code; add ipappend to plain cmdline
H. Peter Anvin [Mon, 6 Apr 2009 20:59:47 +0000 (13:59 -0700)]
ipappend: clean up ipappend code; add ipappend to plain cmdline

ipappend information is needed for the plain cmdline too, since it may
be used by linux.c32.  While we're at it, clean up the handling of
ipappend lines -- we can rather obviously use a loop for them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agohdt: Don't display unsupported modes
Erwan Velu [Mon, 6 Apr 2009 10:58:11 +0000 (12:58 +0200)]
hdt: Don't display unsupported modes

Impact: Prevent from displaying 0x0 modes

Some vesa bioses reports 0x0 modes, no need to display them

15 years agoProvide a shared MIME file for the LSS16 image format
Omair Eschkenazi [Sat, 4 Apr 2009 23:27:57 +0000 (16:27 -0700)]
Provide a shared MIME file for the LSS16 image format

Add a MIME file for the LSS16 image format.  Currently only included
in source, as it is somewhat unclear what the proper way to package
this thing is.

15 years agomemscan: protect 0-0x7c00 until the new shuffler is merged
H. Peter Anvin [Sat, 4 Apr 2009 22:55:26 +0000 (15:55 -0700)]
memscan: protect 0-0x7c00 until the new shuffler is merged

Mark the memory range 0-0x7c00 unavailable until the new shuffler code
is ready, at which point we can go for a tighter bound.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoMakefile: install new MBR variants; NEWS: document syslinux-3.74-pre17
H. Peter Anvin [Sat, 4 Apr 2009 22:39:26 +0000 (15:39 -0700)]
Makefile: install new MBR variants; NEWS: document

Make the new MBR variants installables, and add to the NEWS file.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agomemdisk: fix comment syntax in memdisk.ld
H. Peter Anvin [Sat, 4 Apr 2009 22:36:37 +0000 (15:36 -0700)]
memdisk: fix comment syntax in memdisk.ld

Fix build failure due to incorrect comment syntax in memdisk.ld

15 years agoMerge branch 'ctrl-mbr'
H. Peter Anvin [Sat, 4 Apr 2009 22:33:29 +0000 (15:33 -0700)]
Merge branch 'ctrl-mbr'

15 years agombr: generate normal versions, force-80 versions, and ctrl-80 versions
H. Peter Anvin [Sat, 4 Apr 2009 22:32:24 +0000 (15:32 -0700)]
mbr: generate normal versions, force-80 versions, and ctrl-80 versions

Produce MBR variants with normal (DL) behavior, force to drive 80
behavior, and force to 80 on Ctrl pressed behavior.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoUpdate copyright notices
H. Peter Anvin [Sat, 4 Apr 2009 22:09:42 +0000 (15:09 -0700)]
Update copyright notices

Update copyright notices; add Intel copyright notices where
appropriate.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoUpdate copyright notices; add Intel notices where appropriate
H. Peter Anvin [Sat, 4 Apr 2009 21:48:10 +0000 (14:48 -0700)]
Update copyright notices; add Intel notices where appropriate

Update copyright notices.  Per agreement with my new employer, Intel
Corporation, add Intel copyright notices where appropriate.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoMerge commit 'hdt/master' syslinux-3.74-pre16
H. Peter Anvin [Fri, 3 Apr 2009 23:51:27 +0000 (16:51 -0700)]
Merge commit 'hdt/master'

15 years agolinux.c32: don't relocate the real-mode code *above* 0x90000
H. Peter Anvin [Fri, 3 Apr 2009 23:50:27 +0000 (16:50 -0700)]
linux.c32: don't relocate the real-mode code *above* 0x90000

Do not relocate the real-mode code above address 0x90000... that would
not be prudent.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agolinux.c32: make load_linux() support relocation
H. Peter Anvin [Fri, 3 Apr 2009 23:09:29 +0000 (16:09 -0700)]
linux.c32: make load_linux() support relocation

In the case where the preferred kernel locations are not available,
make load_linux() smart enough to be able to relocate the kernel if at
all possible.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agocom32: add _t to scan_memory_callback
H. Peter Anvin [Fri, 3 Apr 2009 22:08:44 +0000 (15:08 -0700)]
com32: add _t to scan_memory_callback

Change scan_memory_callback to scan_memory_callback_t

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agocom32: merge all memory map discovery to one file
H. Peter Anvin [Fri, 3 Apr 2009 22:02:37 +0000 (15:02 -0700)]
com32: merge all memory map discovery to one file

Merge the memory map discovery for malloc and the memory map discovery
for memmap into one file that scans memory and invokes a callback.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agohdt: Adding exit menu in menu mode
Erwan Velu [Fri, 3 Apr 2009 18:08:48 +0000 (20:08 +0200)]
hdt: Adding exit menu in menu mode

Impact: Users can now exit hdt :)

It's now possible to exit HDT properly. Thx to fcrozat report.

15 years agohdt: Fixing aligment in about menu
Erwan Velu [Fri, 3 Apr 2009 18:04:53 +0000 (20:04 +0200)]
hdt: Fixing aligment in about menu

Impact: cosmetic

Fixing contact in about mode

15 years agohdt: Fixing author name
Erwan Velu [Fri, 3 Apr 2009 18:01:17 +0000 (20:01 +0200)]
hdt: Fixing author name

Impact: cosmetic

Fixing author name

15 years agoNEWS: document new com32 memory management syslinux-3.74-pre15
H. Peter Anvin [Wed, 1 Apr 2009 20:50:58 +0000 (13:50 -0700)]
NEWS: document new com32 memory management

15 years agocom32: fix the argument order
H. Peter Anvin [Wed, 1 Apr 2009 20:25:04 +0000 (13:25 -0700)]
com32: fix the argument order

Impact: bug fix

Fix the order of arguments to a com32 program.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agocom32: make memory beyond the core HighMem available to malloc
H. Peter Anvin [Wed, 1 Apr 2009 20:20:24 +0000 (13:20 -0700)]
com32: make memory beyond the core HighMem available to malloc

Impact: should deal with memory holes more gracefully

Right now, if we find a memory hole, we simply don't use the memory
beyond that point.  This makes it possible for com32 modules to
use that memory.  After this, we should be able to add relocation
support to allow loading when the memory at 1 MB is unavailable.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoNEWS: fix typo
H. Peter Anvin [Wed, 1 Apr 2009 07:15:53 +0000 (00:15 -0700)]
NEWS: fix typo

15 years agoBanner: "and contributors" is just too long; try "et al"
H. Peter Anvin [Tue, 31 Mar 2009 16:30:32 +0000 (09:30 -0700)]
Banner: "and contributors" is just too long; try "et al"

Impact: aestetics

Change "and contributors" to "et al" so that the message actually fits
on one line.  This is unfortunate, but what can you do...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
15 years agoaltmbr: an alternative MBR which ignores the active flag
H. Peter Anvin [Tue, 31 Mar 2009 01:17:05 +0000 (18:17 -0700)]
altmbr: an alternative MBR which ignores the active flag

Impact: new feature

Create an alternative MBR which takes a partition number in byte 439
instead of looking at the active flag.  This is useful when
dual-booting legacy operating systems which assume that their
particular partition must be the active partition.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agombr/*.S: use a symbolic constant for BIOS_kbdflags
H. Peter Anvin [Tue, 31 Mar 2009 00:53:09 +0000 (17:53 -0700)]
mbr/*.S: use a symbolic constant for BIOS_kbdflags

Impact: cleanup

Use a symbolic constant for BIOS_kbdflags instead of open-coding the
address.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agombr/*.S: if Ctrl is pressed, force the drive number to 0x80
H. Peter Anvin [Tue, 31 Mar 2009 00:38:44 +0000 (17:38 -0700)]
mbr/*.S: if Ctrl is pressed, force the drive number to 0x80

Impact: BIOS bug workaround, possible unexpected consequences?

Escape hatch for BIOSes which pass in garbage in DL: if the Ctrl key
is pressed during boot, force the drive number to 0x80.

Based on a patch by "TJ <ubuntu@tjworld.net>".

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agoFix the new kernel command-line parser syslinux-3.74-pre14
H. Peter Anvin [Mon, 30 Mar 2009 23:03:30 +0000 (16:03 -0700)]
Fix the new kernel command-line parser

Impact: bug fix

We were incorrectly looking at [ds:di] instead of [es:di] for
verifying that a command was properly terminated.  Fix.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
15 years agomemdisk: Int13FuncsCnt is a constant, not a memory location
H. Peter Anvin [Mon, 30 Mar 2009 20:37:09 +0000 (13:37 -0700)]
memdisk: Int13FuncsCnt is a constant, not a memory location

Impact: bug fix

Int13FuncsCnt is a compile-time constant, not a memory location.  This
is a rather important distinction.

15 years agopci: Rename get_module_name_from_pci_ids syslinux-3.74-pre12 syslinux-3.74-pre13
Erwan Velu [Sun, 29 Mar 2009 19:28:23 +0000 (21:28 +0200)]
pci: Rename get_module_name_from_pci_ids

Impact: none

Rename get_module_name_from_pci_ids to get_module_name_from_pcimap since
the module names are read from the modules.pcimap and not pci.ids file.

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agohdt: prevent unless disk's menu
Erwan Velu [Fri, 27 Mar 2009 21:03:24 +0000 (22:03 +0100)]
hdt: prevent unless disk's menu

Impact: none

No need to compute disk's menu if no disk are detected

15 years agohdt: Adding memtest= boot parameter
Erwan Velu [Fri, 27 Mar 2009 18:04:00 +0000 (19:04 +0100)]
hdt: Adding memtest= boot parameter

Impact: memtest=<label> allow users to give another label name for the
memtest call

Prior to that version, memtest label was hardcoded to "memtest".
Now, "memtest" is the default label but could be overrided by users.

15 years agohdt: Adding PXE information on the booted pci device
Erwan Velu [Fri, 27 Mar 2009 17:40:59 +0000 (18:40 +0100)]
hdt: Adding PXE information on the booted pci device

Impact: Display which pci device is the one used for PXE

Sync with cli's behavior

15 years agodoc: Adding more initrd details
Erwan Velu [Fri, 27 Mar 2009 15:21:21 +0000 (16:21 +0100)]
doc: Adding more initrd details

Signed-off-by: Gert Hulselmans (hulselmansgert@gmail.com)
15 years agodoc: Fixing typo
Erwan Velu [Fri, 27 Mar 2009 15:14:43 +0000 (16:14 +0100)]
doc: Fixing typo

Signed-off-by: Gert Hulselmans (hulselmansgert@gmail.com)
15 years agohdt: Updating author name
Erwan Velu [Thu, 26 Mar 2009 19:17:32 +0000 (20:17 +0100)]
hdt: Updating author name

Impact: none

Made for testing purpose

15 years agohdt: bump version to 0.2.7
Erwan Velu [Thu, 26 Mar 2009 17:47:57 +0000 (18:47 +0100)]
hdt: bump version to 0.2.7

Impact: None

Bump to 0.2.7

15 years agoMerge commit 'origin/repair'
Erwan Velu [Thu, 26 Mar 2009 17:36:50 +0000 (18:36 +0100)]
Merge commit 'origin/repair'

15 years agohdt: in the cli, we have to Skip empty lines
Erwan Velu [Wed, 25 Mar 2009 22:25:38 +0000 (23:25 +0100)]
hdt: in the cli, we have to Skip empty lines

Impact: empty lines were confusing history

History works better when we ignore empty lines

15 years agohdt: Workaround for PXE detection
Erwan Velu [Wed, 25 Mar 2009 19:50:39 +0000 (20:50 +0100)]
hdt: Workaround for PXE detection

Impact: The PCI device matching could fails in some cases

In some cases, trying to find the exact bus/dev/fun/vendor/product
fails reported by the pxe rom fails. In such case, that workaround will
only look at the vendor/product id

15 years agohdt: Fixing output of vesa software revision
Erwan Velu [Wed, 25 Mar 2009 17:51:48 +0000 (18:51 +0100)]
hdt: Fixing output of vesa software revision

Impact: Vesa's software revision was misdisplayed and could lead to
corruption

Displaying an int with %s isn't a good idea ;o)

15 years agohdt: Fix typo in vesa initialization
Pierre-Alexandre Meyer [Wed, 25 Mar 2009 15:53:51 +0000 (08:53 -0700)]
hdt: Fix typo in vesa initialization

Impact: Bug fixing.

This caused some garbage to be displayed when detecting vesa.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
15 years agohdt: Pxe mode might generate corruption
Erwan Velu [Wed, 25 Mar 2009 11:59:00 +0000 (12:59 +0100)]
hdt: Pxe mode might generate corruption

Impact: Prevent some hard lock due to pxe detection

In some cases, we can't find the associated PCI device.
In such situation, we shouldn't try to display its properties as
pci_device is set to NULL.

15 years agohdt: Fixing crash on some optical drives
Erwan Velu [Tue, 24 Mar 2009 21:43:07 +0000 (22:43 +0100)]
hdt: Fixing crash on some optical drives

Impact: Prevent some hard crashes

On some optical drives, requesting int 13, func 0x48 make the system
crash. In fact, if the geometry isn't valid (optical drives), no need to
check for extended attributes

15 years agomenu: Increasing the maximum number of menus
Erwan Velu [Tue, 24 Mar 2009 18:50:04 +0000 (19:50 +0100)]
menu: Increasing the maximum number of menus

Impact: some hosts can generate many menus when used with hdt

In some cases, we can run out of menus

15 years agopci: Check if configuration type is PCI_CFG_NONE
Erwan Velu [Mon, 23 Mar 2009 17:20:38 +0000 (18:20 +0100)]
pci: Check if configuration type is PCI_CFG_NONE

Impact: prevent from grabbing configuration when PCI is PCI_CFG_NONE

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agopci: Remove "(void)cfgtype"
Erwan Velu [Mon, 23 Mar 2009 17:17:55 +0000 (18:17 +0100)]
pci: Remove "(void)cfgtype"

Impact: none

Remove useless "(void)cfgtype"
Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agopci modules: Check for pci_scan() == NULL.
Erwan Velu [Mon, 23 Mar 2009 09:15:11 +0000 (10:15 +0100)]
pci modules: Check for pci_scan() == NULL.

Impact: we don't have to grab more details if pci_scan returns NULL

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agohdt: Check for pci_scan() == NULL.
Erwan Velu [Mon, 23 Mar 2009 09:05:58 +0000 (10:05 +0100)]
hdt: Check for pci_scan() == NULL.

Impact: we don't have to grab more details if pci_scan returns NULL

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agohdt: Adding IPMI detection
Erwan Velu [Sun, 22 Mar 2009 08:24:23 +0000 (09:24 +0100)]
hdt: Adding IPMI detection

Impact: HDT can now reports if an IPMI base board exists

By using DMI, it's now possible to detect IPMI base boards
Bump to 0.2.6

15 years agodmi: Adding IPMI detection
Erwan Velu [Sun, 22 Mar 2009 08:23:15 +0000 (09:23 +0100)]
dmi: Adding IPMI detection

Impact: IPMI base board can now be detected

Detecting IPMI via DMI structures

15 years agoMerge commit 'origin/erwan'
Erwan Velu [Wed, 25 Mar 2009 22:38:29 +0000 (23:38 +0100)]
Merge commit 'origin/erwan'

15 years agohdt: in the cli, we have to Skip empty lines
Erwan Velu [Wed, 25 Mar 2009 22:25:38 +0000 (23:25 +0100)]
hdt: in the cli, we have to Skip empty lines

Impact: empty lines were confusing history

History works better when we ignore empty lines

15 years agoMerge branch 'erwan'
Erwan Velu [Wed, 25 Mar 2009 21:06:18 +0000 (22:06 +0100)]
Merge branch 'erwan'

15 years agohdt: Workaround for PXE detection
Erwan Velu [Wed, 25 Mar 2009 19:50:39 +0000 (20:50 +0100)]
hdt: Workaround for PXE detection

Impact: The PCI device matching could fails in some cases

In some cases, trying to find the exact bus/dev/fun/vendor/product
fails reported by the pxe rom fails. In such case, that workaround will
only look at the vendor/product id

15 years agohdt: Fixing output of vesa software revision
Erwan Velu [Wed, 25 Mar 2009 17:51:48 +0000 (18:51 +0100)]
hdt: Fixing output of vesa software revision

Impact: Vesa's software revision was misdisplayed and could lead to
corruption

Displaying an int with %s isn't a good idea ;o)

15 years agohdt: Fix typo in vesa initialization
Pierre-Alexandre Meyer [Wed, 25 Mar 2009 15:53:51 +0000 (08:53 -0700)]
hdt: Fix typo in vesa initialization

Impact: Bug fixing.

This caused some garbage to be displayed when detecting vesa.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
15 years agohdt: Fix typo in vesa initialization
Pierre-Alexandre Meyer [Wed, 25 Mar 2009 15:53:51 +0000 (08:53 -0700)]
hdt: Fix typo in vesa initialization

Impact: Bug fixing.

This caused some garbage to be displayed when detecting vesa.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
15 years agohdt: Pxe mode might generate corruption
Erwan Velu [Wed, 25 Mar 2009 11:59:00 +0000 (12:59 +0100)]
hdt: Pxe mode might generate corruption

Impact: Prevent some hard lock due to pxe detection

In some cases, we can't find the associated PCI device.
In such situation, we shouldn't try to display its properties as
pci_device is set to NULL.

15 years agohdt: Fixing crash on some optical drives
Erwan Velu [Tue, 24 Mar 2009 21:43:07 +0000 (22:43 +0100)]
hdt: Fixing crash on some optical drives

Impact: Prevent some hard crashes

On some optical drives, requesting int 13, func 0x48 make the system
crash. In fact, if the geometry isn't valid (optical drives), no need to
check for extended attributes

15 years agomenu: Increasing the maximum number of menus
Erwan Velu [Tue, 24 Mar 2009 18:50:04 +0000 (19:50 +0100)]
menu: Increasing the maximum number of menus

Impact: some hosts can generate many menus when used with hdt

In some cases, we can run out of menus

15 years agopci: Check if configuration type is PCI_CFG_NONE
Erwan Velu [Mon, 23 Mar 2009 17:20:38 +0000 (18:20 +0100)]
pci: Check if configuration type is PCI_CFG_NONE

Impact: prevent from grabbing configuration when PCI is PCI_CFG_NONE

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agopci: Remove "(void)cfgtype"
Erwan Velu [Mon, 23 Mar 2009 17:17:55 +0000 (18:17 +0100)]
pci: Remove "(void)cfgtype"

Impact: none

Remove useless "(void)cfgtype"
Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agopci modules: Check for pci_scan() == NULL.
Erwan Velu [Mon, 23 Mar 2009 09:15:11 +0000 (10:15 +0100)]
pci modules: Check for pci_scan() == NULL.

Impact: we don't have to grab more details if pci_scan returns NULL

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agohdt: Check for pci_scan() == NULL.
Erwan Velu [Mon, 23 Mar 2009 09:05:58 +0000 (10:05 +0100)]
hdt: Check for pci_scan() == NULL.

Impact: we don't have to grab more details if pci_scan returns NULL

Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
15 years agohdt: Adding IPMI detection
Erwan Velu [Sun, 22 Mar 2009 08:24:23 +0000 (09:24 +0100)]
hdt: Adding IPMI detection

Impact: HDT can now reports if an IPMI base board exists

By using DMI, it's now possible to detect IPMI base boards
Bump to 0.2.6

15 years agodmi: Adding IPMI detection
Erwan Velu [Sun, 22 Mar 2009 08:23:15 +0000 (09:23 +0100)]
dmi: Adding IPMI detection

Impact: IPMI base board can now be detected

Detecting IPMI via DMI structures

15 years agoAdd "and contributors" to the copyright banner
H. Peter Anvin [Sun, 22 Mar 2009 05:29:09 +0000 (22:29 -0700)]
Add "and contributors" to the copyright banner

Clarify that there are nowadays more copyright holders than just
myself.

15 years agomemdisk: additional comments in memdisk.inc and postprocess.pl
Shao Miller [Sun, 22 Mar 2009 04:27:56 +0000 (00:27 -0400)]
memdisk: additional comments in memdisk.inc and postprocess.pl

Just a sprinkling of comments adding further description to the code.

15 years agovesacon: remove unused com32sys_t variables syslinux-3.74-pre11
H. Peter Anvin [Fri, 20 Mar 2009 23:34:19 +0000 (16:34 -0700)]
vesacon: remove unused com32sys_t variables

No more direct __intcall()'s in this code, so remove unused register
set variables.

15 years agoMerge branch 'memdisk-cd'
H. Peter Anvin [Fri, 20 Mar 2009 23:31:11 +0000 (16:31 -0700)]
Merge branch 'memdisk-cd'

15 years agoMerge commit 'hdt/master' syslinux-3.74-pre10
H. Peter Anvin [Fri, 20 Mar 2009 22:45:55 +0000 (15:45 -0700)]
Merge commit 'hdt/master'

15 years agohdt: Adding contributors
Erwan Velu [Fri, 20 Mar 2009 22:37:05 +0000 (23:37 +0100)]
hdt: Adding contributors

Impact: A new cli command : hdt> show hdt

Bump to 0.2.5
Adding contributor's list

15 years agohdt: commenting some devel messages
Erwan Velu [Fri, 20 Mar 2009 22:03:28 +0000 (23:03 +0100)]
hdt: commenting some devel messages

Impact: remove useless error messages

Some error messages were displayed even if commands were valid

15 years agohdt: Fixing more_printf to display a proper \n
Erwan Velu [Fri, 20 Mar 2009 22:02:05 +0000 (23:02 +0100)]
hdt: Fixing more_printf to display a proper \n

Impact: Improve the visibility of the message

more_printf could have printed that message without any \n