aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge remote branch 'hdt-pierre/fixes-for-3.86'H. Peter Anvin2010-05-111-1/+1
| |\
| | * disk.c32: add disk geometry checkPierre-Alexandre Meyer2010-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Make sure the CHS geometry is valid before displaying disk information to avoid showing garbage. Debugging-info-by: Gert Hulselmans <gerth@zytor.com> Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-113-3/+3
|\| |
| * | Merge remote branch 'erwan/master'H. Peter Anvin2010-05-113-3/+3
| |\ \
| | * | VPD: Fixing base_addressErwan Velu2010-05-113-3/+3
| | | | | | | | | | | | | | | | This commit now save properly VPD's address.
* | | | cpuid.c32: print unsigned valuessyslinux-4.00-pre41H. Peter Anvin2010-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Print unsigned values; formatting was wrong for unsigned values anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | sysdump: use <sys/cpu.h>H. Peter Anvin2010-05-111-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use <sys/cpu.h> where it makes sense. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | com32: Unbreak <sys/cpu.h>H. Peter Anvin2010-05-111-32/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CPUID functions were apparently broken when made PIC-safe; clean up and fix. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | Merge branch 'master' into pathbasedH. Peter Anvin2010-05-118-110/+200
|\| | |
| * | | Merge remote branch 'erwan/master'H. Peter Anvin2010-05-114-102/+168
| |\| |
| | * | DMI: Increasing processor buffer sizeErwan Velu2010-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Impact: avoid string truncation The version field could be bigger than 32 char.
| | * | DMI: Fixing memory corruptionErwan Velu2010-05-062-100/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: avoid memory corruption Too much usage of strcpy & sprintf was leading to serious memory corruption. Using snprintf & strncpy is prefered.
| | * | DMI: removing useless variableErwan Velu2010-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Impact: none Removing useless variable
| * | | mboot.c32: autodetect SolarisH. Peter Anvin2010-05-034-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Autodetect Solaris kernels (based on the ELF header OSABI field) and use the Solaris workarounds in that case. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | core: remove "Hello, World!" debugging messageH. Peter Anvin2010-05-103-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove "Hello, World!" debugging message -- no longer relevant. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | Merge remote branch 'origin/master' into pathbasedsyslinux-4.00-pre40H. Peter Anvin2010-04-282-51/+174
|\| | |
| * | | gfxboot: fix menu label handlingSteffen Winterfeldt2010-04-241-20/+28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: better error handlingSteffen Winterfeldt2010-04-241-23/+95
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: fix localbootSteffen Winterfeldt2010-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: turn off graphics before starting kernelSteffen Winterfeldt2010-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: handle IPAPPENDSteffen Winterfeldt2010-04-241-0/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: make config statements case-insensitiveSteffen Winterfeldt2010-04-241-11/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | gfxboot: support MENU LABEL statementSteffen Winterfeldt2010-04-241-10/+39
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * | | chain.c32 sethidden option fixMichal Soltys2010-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Hidden sectors value was applied at the wrong offset. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | extlinux: handle cases of a single level of directoriessyslinux-4.00-pre39H. Peter Anvin2010-04-281-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We had a boundary condition error where a single-level directory from the global root (e.g. /boot) would be incorrectly truncated; fix that. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | com32/tools: nothing to install hereH. Peter Anvin2010-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This directory contains builttime tools, so they don't need to be installed anywhere. This fixes "make install-all". Reported-by: Dag Wieers <dag@wieers.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | core: fs: verify call to fs_ops->readdirSebastian Herbszt2010-04-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check if fs_ops->readdir is available before calling it. At least PXELINUX doesn't implement it. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> LKML-Reference: <1267974170$3058@local> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | Merge commit 'syslinux-3.86' into pathbasedsyslinux-4.00-pre38H. Peter Anvin2010-04-013-17/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: core/cpuinit.inc Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | core: make sure we observe EFLAGS_ID onlysyslinux-3.86H. Peter Anvin2010-03-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When looking for CPUID, make sure we only look at EFLAGS_ID and no other flags that could possibly have changed for extrinsic reasons. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | cpuid.c32: output the correct register namesH. Peter Anvin2010-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Output the correct register names in cpuid.c32; fix copy-and-paste error. Reported-by: Andrew Jones <drjones@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | NEWS: document mBFT fixsyslinux-3.86-pre4H. Peter Anvin2010-03-301-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | memdisk: Calculate mBFT checksum laterShao Miller2010-03-301-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We were calculating the mBFT checksum too early; dpt_ptr could change after checksumming, so we now do it after that possibility. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
| * | | core: remove stray debugging statementsyslinux-3.86-pre3H. Peter Anvin2010-03-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove a stray debugging printout when running on Xen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | | core: move __jiffies and _IdleTimer to .data16syslinux-4.00-pre37H. Peter Anvin2010-03-302-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the __jiffies and _IdleTimer variables to the .data16 segment. This ensures that if do_idle is invoked very early that it will not jump off into a non-existent idle routine. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | Merge branch 'master' into pathbasedH. Peter Anvin2010-03-3011-12/+85
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: com32/modules/Makefile core/comboot.inc core/cpuinit.inc core/idle.inc Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | NEWS: document MEMDISK offset fixsyslinux-3.86-pre2H. Peter Anvin2010-03-301-0/+2
| | | |
| * | | memdisk: MBR not recognized correctlyBodo Stroesser2010-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a small inaccuracy in memdisk: get_disk_image_geometry() does not use MBR data to detect disk geometry, since it checks MBR signature at wrong offset. This normally does not cause problems, because memdisk guesses a reasonable value, if no MBR is found. Signed-off-by: Bodo Stroesser <bstroesser at ts.fujitsu.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | NEWS: updateH. Peter Anvin2010-03-301-0/+7
| | | |
| * | | core: remove do_idle from pollcharH. Peter Anvin2010-03-304-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove do_idle from pollchar; it is highly inappropriate while, for example, checking for a keypress during disk activity. Furthermore, make sure we reset the idle counter on events that indicate actual disk activity. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | cpuid.c32: very simple low-level CPUID info CLI routineH. Peter Anvin2010-03-302-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | Add a very simple com32 program to dump a single CPUID leaf. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | core: Workaround for Xen HVM HLT-in-real-mode bugH. Peter Anvin2010-03-302-2/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xen HVM when used with the "vmxassist" program crashes if HLT is executed in real mode. Detect a version of Xen old enough to support "vmxassist", and if it is found, then disable HLT. See: https://bugzilla.redhat.com/show_bug.cgi?id=570496 Reported-by: Andrew Jones <drjones@redhat.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | Clean up the version/copyright strings reported via the comboot APIH. Peter Anvin2010-03-305-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip leading garbage in the version and copyright strings reported via the comboot API. Clean up fixes for those, and document the situation. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | core: move idle handling into protected modeH. Peter Anvin2010-03-309-39/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do the actual idling in protected mode. This both allows PM code a more efficient interface, but also handles bugs in HVM implementations which don't handle HLT in real mode. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | Merge branch 'master' into pathbasedH. Peter Anvin2010-03-2915-18/+90
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved Conflicts: MCONFIG.embedded com32/MCONFIG com32/include/com32.h core/com32.inc core/pxelinux.asm doc/comboot.txt Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | com32: export the filename of a com32 module to the module itselfH. Peter Anvin2010-03-295-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Export the filename of the com32 module to the module itself, setting argv[0]. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | MCONFIG: update gcc options for embedded and com32H. Peter Anvin2010-03-292-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the gcc options used for embedded and for com32 and make sure they match. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | mboot: set boot loader nameH. Peter Anvin2010-03-294-3/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the boot loader name based on syslinux_version()->version_string. Based on a prior patch by Sebastian Herbszt <herbszt@gmx.de>. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | gpllib: fix call to CPUID function 4Sebastian Herbszt2010-03-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only call CPUID function 4 if cpuid_level indicates its availability. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | core: use MY_NAME for syslinux_bannerSebastian Herbszt2010-03-292-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | Use MY_NAME for syslinux_banner in isolinux and pxelinux. This is already done in ldlinux and extlinux. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | dir.c32: show long directories in pagesH. Peter Anvin2010-03-141-20/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When columnizing large directories, columnize only inside of a page, i.e. show: a d g b e h c f i j m p k n q l o r This seems to have the best readability. Signed-off-by: H. Peter Anvin <hpa@zytor.com>