aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* isohybrid: use getopt_long_only()syslinux-3.8xH. Peter Anvin2010-05-201-1/+1
| | | | | | | For compatibility with isohybrid.pl, use getopt_long_only() so long options are accepted with a single dash. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isohybrid: create a C versionP. J. Pandit2010-05-205-2/+655
| | | | | | | Some Linux distributions have complained about Perl as a prerequisite for isohybrid, so create a C version. [ hpa: modified the array generator to put it all in one script ]
* cat.c32: handle multiple files, use argv[0], copy 4K at a timeH. Peter Anvin2010-05-201-11/+14
| | | | | | | Loop over multiple files, use argv[0] for the program name, and copy 4K at a time. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* CMENU: Fixing login_handler prototypeErwan Velu2010-05-121-1/+1
| | | | | login_handler have to follow the (t_menusystem * ms, t_menuitem * mi) prototype defined by t_handler_return
* com32: Fixing cast in argv to avoid warningErwan Velu2010-05-121-1/+1
| | | | | const char * confuse the *argv++ assignation Casting to char * removes this warning
* hdt: casting to avoid useless warningErwan Velu2010-05-121-1/+1
|
* hdt: Fixing print_history() prototypeErwan Velu2010-05-122-2/+2
| | | | print_history have to follow the exec prototype
* cpuid: Typo between argv & argcErwan Velu2010-05-121-1/+1
| | | | argv isn't a number ;)
* cmd: Adding proper include to syslinux_run_commandErwan Velu2010-05-121-0/+1
|
* disk: Fixing get_error() callErwan Velu2010-05-121-8/+6
| | | | get_error prototype changed since this module was written
* cat.c32: move from samples to modules; remove debug codeH. Peter Anvin2010-05-113-9/+3
| | | | | | | Move cat.c32 from samples to modules, and remove debugging messages. Real users may want to use this. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* cat.c32: check if filename existsGert Hulselmans2010-05-111-2/+7
| | | | | | | Don't crash if the file doesn't exist. Signed-off-by: Gert Hulselmans <gerth@zytor.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* 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 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.
* | | 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>
* | | 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>
* | | 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>
* | | 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>
* | | 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>
* | NEWS, version: update for 3.86syslinux-3.86-pre1H. Peter Anvin2010-03-052-1/+5
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | chain.c32: Fix chaining to MBRsH. Peter Anvin2010-03-051-6/+5
| | | | | | | | | | | | | | | | The change to load the bootsector even when loading a bootstrap from a file broke the handing of chainloading the MBR of a disk. Fix this. Debugging-info-by: Thomas Mieslinger <thomas.mieslinger@lundl.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | libpci: merge BIOS read and BIOS writeH. Peter Anvin2010-02-206-25/+13
| | | | | | | | | | | | | | Save a few bytes by merging the very similar BIOS read and BIOS write functions. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | i915resolution: use libpci to access PCI config spacesyslinux-3.85-pre13syslinux-3.85H. Peter Anvin2010-02-161-19/+11
| | | | | | | | | | | | | | | | Use libpci to access PCI config space. This *hopefully* will make it less likely that some old machine hangs when failing to set the requested video mode. Signed-off-by: H. Peter Anvin <hpa@zytor.com>