aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mboot: reimplement the Solaris DHCP hack, add compliant a.out modesyslinux-3.80-pre1H. Peter Anvin2009-04-265-6/+83
| | | | | | | | | | | | | Reimplement the Solaris DHCP information passing hack. Add a spec-compliant mode for the "a.out kludge". The spec is pretty clear that the bit should override the ELF header (after all, otherwise there wouldn't be any need for the bit), but Grub disagrees. We default to Grub-compliant mode, as Solaris seems to set the bit even though it's an ELF kernel, but add the option to enable spec-compliant mode, as apparently some versions of FreeBSD need it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: add updates for 3.80H. Peter Anvin2009-04-261-0/+4
|
* Merge branch 'syslinux-3.7x'H. Peter Anvin2009-04-261-0/+4
|\ | | | | | | | | Conflicts: version
| * NEWS, version: prepare for a 3.76 releasesyslinux-3.76-pre1H. Peter Anvin2009-04-252-1/+5
| |
* | Remove the old mboot moduleH. Peter Anvin2009-04-266-1631/+3
| |
* | mboot: fix cmdline; a few more layout tweaksH. Peter Anvin2009-04-264-30/+38
| | | | | | | | | | | | | | | | | | | | Fix module command lines (it was overwriting the main kernel command line); a few minor layout tweaks. In particular, we require the section header to be page-aligned, but not the subsequent sections. With this, I can get Xen to boot. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | mboot: skip --- marker; decompress all filesH. Peter Anvin2009-04-261-7/+5
| | | | | | | | | | | | | | | | | | When walking the argument list we need to skip --- markers. Grub, and the old mboot.c32, seem to transparently decompress all files, not just the main one, so do the same. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | mboot: make sure we actually succeed when we finishedH. Peter Anvin2009-04-262-18/+44
| | | | | | | | | | | | | | When we actually finished mapping the image, return 0 and don't bail. Add error messages to most failure cases. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | com32/MCONFIG: generate dependency files by defaultH. Peter Anvin2009-04-261-2/+4
| | | | | | | | | | | | | | Generate the dependency files by default. They should perhaps even move into the actual rule lines. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | mboot: set up a stack even though the spec doesn't require itH. Peter Anvin2009-04-261-0/+18
| | | | | | | | | | | | | | Set up a stack for the Multiboot OS even though it is not required by spec. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | First attempt at a rewritten mboot moduleH. Peter Anvin2009-04-269-1/+1228
| | | | | | | | | | | | | | First attempt at rewriting the mboot module to use the Syslinux shuffle APIs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'syslinux-3.7x'H. Peter Anvin2009-04-251-0/+2
|\|
| * ISOLINUX: set directory length correctlySteffen Winterfeldt2009-04-251-0/+2
| | | | | | | | | | | | Since searchdir() uses getfssec() to read the directory it needs to set file_bytesleft. Else it loops forever if you have a large directory (and/or rock ridge on).
* | pxelinux: fix minor bugsH. Peter Anvin2009-04-241-4/+2
| | | | | | | | | | | | Fix minor bugs reported by pfranz73@tiscali.it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | shuffle_rm: clean up the trampoline generator with macrosH. Peter Anvin2009-04-231-31/+50
| | | | | | | | | | | | | | Define macros for common constructs to clean up the rm trampoline generator. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | shuffle_rm: set up SS:ESP and segs as quickly as possibleH. Peter Anvin2009-04-231-13/+40
| | | | | | | | | | | | | | For extra paranoia's sake, set up SS:ESP immediately after the real-mode switch, and then set all the segment registers. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | hdt: fix conflictErwan Velu2009-04-231-24/+0
| | | | | | | | | | | | Impact: making build working again A forgoten conflict
* | Merge branch 'master' of git://git.kernel.org/pub/scm/boot/syslinux/syslinux ↵Erwan Velu2009-04-2347-1486/+844
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into mainline Conflicts: com32/hdt/hdt-cli-pci.c com32/hdt/hdt-cli-vesa.c com32/hdt/hdt-common.c com32/hdt/hdt-menu-dmi.c
| * | a20: advance A20Test by a large, prime numberH. Peter Anvin2009-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Rather than simply incrementing A20Test, advance it by a large prime number every time. The reason is to minimize false aliasing as quickly as possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | a20: remove DO_WBINVD configurableH. Peter Anvin2009-04-213-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | We haven't enabled DO_WBINVD for a very long time. A20 is implemented on the inside of the L1 cache for 486+ (and 386 didn't have WBINVD), so an I/O delay is the only thing we can rely on anyway. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | a20: inline io_delayH. Peter Anvin2009-04-211-4/+3
| | | | | | | | | | | | | | | | | | | | | The io_delay operation is only two instructions, might as well inline it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | a20: A20Test is now a dwordH. Peter Anvin2009-04-211-2/+3
| | | | | | | | | | | | | | | | | | | | | A20Test is now a dword; this makes it less likely that we'll have a case of false aliasing resulting in the io_delay path being taken. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | a20: try to avoid io_delay if A20 is already enabledH. Peter Anvin2009-04-211-25/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have at least the possibility to avoid io_delay if A20 is already enabled. Thus, give it a try. Furthermore, when calling enable_a20, always try the zero-work case first, since we may have been enabled by a previous call. This should improve performance of the rm/pm ping-pong. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | Global whitespace cleanup.H. Peter Anvin2009-04-2035-83/+70
| | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | core: remove references to MDSLINUXH. Peter Anvin2009-04-194-12/+7
| | | | | | | | | | | | | | | | | | | | | MDSLINUX (Multiple Disk Syslinux) will never happen, kill references to it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | core: merge the startup code for disk-based derivativesH. Peter Anvin2009-04-194-1307/+707
| | | | | | | | | | | | | | | | | | | | | | | | Merge the startup code for disk-based derivatives (currently SYSLINUX, EXTLINUX) into a single file. There is probably still additional shared code that should be merged, but this is a good start. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | hdt: fix format string warningsSebastian Herbszt2009-04-172-5/+3
| | | | | | | | | | | | | | | | | | Fix format string warnings spit by the compiler. - Sebastian
| * | com32: remove unused variablesSebastian Herbszt2009-04-172-4/+0
| | | | | | | | | | | | | | | | | | Silence compiler warnings by removing unused variables. - Sebastian
| * | bcopyxx: when going to 16-bit PM, might as well do it rightH. Peter Anvin2009-04-164-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When entering 16-bit PM after shuffle and boot, we might as well do so sanely. Specifically, set up the data segments so that they match the code segment, generating a 16-bit "tiny" model environment. This makes it a lot saner to bootstrap a proper PM environment from there if that is what the user intends. For the presumably more common case of RM entry, it won't do any harm, and it's only a handful of additional instructions. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | hdt: 0.3.1hdt-0.3.1Erwan Velu2009-04-231-1/+1
| | | | | | | | | | | | | | | | | | Impact: new release New release
* | | Merge commit 'mouraf/for-erwan' into for-erwanPierre-Alexandre Meyer2009-04-2216-49/+322
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: com32/hdt/hdt-cli-hdt.c
| * | | hdt: Add VPD menu itemPierre-Alexandre Meyer2009-04-173-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | Add an item to display VPD information, if detected. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | | hdt: Add vpd mode (CLI)Pierre-Alexandre Meyer2009-04-175-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | Add the vpd mode to dump the vpd structure, if found. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | | Merge commit 'erwan/master' into for-erwanPierre-Alexandre Meyer2009-04-1759-544/+714
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/hdt/hdt-cli-hdt.c com32/hdt/hdt-cli.c
| * | | | hdt: Get rid of nb_modules in struct cli_module_descrPierre-Alexandre Meyer2009-04-1710-33/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | End list of modules commands by NULL instead of managing manually the number in nb_modules. This should limit the number of bugs when adding new features. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | | | hdt: Get rid of MAX_MODESPierre-Alexandre Meyer2009-04-163-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | End the list of modes by NULL instead of managing manually the length. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | | | | hdt: removing useless more_printfErwan Velu2009-04-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: improving user experience hdt>show modes was using more_printf. This is pretty useless and annoying for users.
* | | | | hdt: removing useless more_printfErwan Velu2009-04-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: none more_printf isn't needed for such display
* | | | | hdt: more_printf was eating a lineErwan Velu2009-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: Visual. Some lines were missing at display The more_printf call was missing some lines to display
* | | | | hdt: MAC Address should only be displayed on the PXE DeviceErwan Velu2009-04-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: MAC address were shown on invalid devices Prior to that commit, the mac address of the PXE booted network card was displayed on every pci devices.... weird.
* | | | | hdt: fixing typoErwan Velu2009-04-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: fixing compilation errors Wrong call :(
* | | | | hdt: Cleaning dmi chassis asset tag outputErwan Velu2009-04-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: Visual Some users reported this dmi/chassis/asset tag could reports many spaces.
* | | | | hdt: removing multiple spacesErwan Velu2009-04-194-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: Improving visual experience Some hardware reported strings contains multiple spaces. This isn't very nice for managing display. The del_multiple_spaces() function is removing multiple spaces.
* | | | | hdt: moving contact adress to the mailing listErwan Velu2009-04-181-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | Impact: none Mailing list is the best place to have user inputs
* | | | hdt: removing useless clear_screenErwan Velu2009-04-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Impact: Improve user experience Prevent clear screen when not necessary
* | | | hdt: Improving more_printf & clear_screen managementErwan Velu2009-04-1610-190/+181
| | | | | | | | | | | | | | | | | | | | | | | | Impact: greatly improve user experience This commit adds more coherency in more_printf & clear_screen usage
* | | | hdt: Fixing wrong printf callsErwan Velu2009-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Impact: Removing memory corruption Some printf called were badly setup
* | | | hdt: Adding reset_more_printf()Erwan Velu2009-04-162-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: first step toward more_printf() rationalization reset_more_printf() reset the counter used by more_printf to count lines.
* | | | hdt: menu should be 80x25Erwan Velu2009-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Impact: increasing menu size to improve display 80x24 was a mistake, it have to be 80x25
* | | | Merge branch 'master' of git://git.kernel.org/pub/scm/boot/syslinux/syslinux ↵Erwan Velu2009-04-1610-23/+60
|\ \ \ \ | | |/ / | |/| | | | | | into erwan