aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MCONFIG: add debugging version of GCCWARNsyslinux-3.85-pre2H. Peter Anvin2010-01-101-0/+2
| | | | | | Add the options that help smoke out bugs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* dmi_processor.c: remove unreachable table valuesH. Peter Anvin2010-01-101-50/+2
| | | | | | A uint8_t can't have values all the way up to 0x12e... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* disk/bootloaders.c: fix bogus const in get_bootloader_string()H. Peter Anvin2010-01-102-2/+2
| | | | | | | get_bootloader_string() takes a mutable first argument; the call chain does have call paths on which this argument will be modified. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* disk/ata.c: fix signedness weirdness in ata_id_c_string()H. Peter Anvin2010-01-101-1/+1
| | | | | | Fix signedness weirdness in ata_id_c_string(), thus killing a warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: remove unused variable in syslinux_getadv()H. Peter Anvin2010-01-101-1/+1
| | | | | | Remove unused variable, thus removing a warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* zlib: fix warning in crc32.cH. Peter Anvin2010-01-101-1/+1
| | | | | | Fix a signed/unsigned warning in crc32.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix external prototype for __vesacon_open()H. Peter Anvin2010-01-101-1/+1
| | | | | | | The external prototype for __vesacon_open() was incorrect; this is a good example of why external prototypes are bad, incidentally. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix inappropriate & in sys/colortable.cH. Peter Anvin2010-01-101-1/+1
| | | | | | The & is incorrect... not actively harmful, but generates a warning. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: add cast in __parse_argv()H. Peter Anvin2010-01-101-1/+1
| | | | | | | | | ALIGN_UP_FOR() returns the type of the original pointer, but we want it to be the type that we're actually going to use. Perhaps ALIGN_UP_FOR() should be changed, but for now, just add the proper cast. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* libgcc: fix signedness warning in __moddi3()H. Peter Anvin2010-01-101-1/+1
| | | | | | Intentional cross-signedness pointer passing, add a cast. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix unused argument warning in fdopendir()H. Peter Anvin2010-01-101-0/+2
| | | | | | fdopendir() is a stub, and probably will remain such. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix unused parameter warning in chdir()H. Peter Anvin2010-01-101-0/+4
| | | | | | chdir() is a stub at the moment... to be fixed in Syslinux 4. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: fix non-prototype function declarationH. Peter Anvin2010-01-101-1/+1
| | | | | | () is not a prototype, use (void) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix warning in str*cmp()H. Peter Anvin2010-01-104-4/+8
| | | | | | Shut up a warning about initializing pointer across signedness. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32/lib: fix warnings in opendir/readdir/closedirH. Peter Anvin2010-01-103-1/+6
| | | | | | Missing #include <stdlib.h>, nested comment in readdir. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: replace -W -Wall with centralized $(GCCWARN)H. Peter Anvin2010-01-1011-14/+17
| | | | | | | | | Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN), a centralized variable defined in the root MCONFIG. Add -Wstrict-prototypes to the list of global warnings: we should never have non-prototyped declarations. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* cmenu: clean up some () that should be (void)H. Peter Anvin2010-01-103-4/+4
| | | | | | | () is not a prototype, and means (...) not (void) in C. Replace with (void). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: document Grub4DOS chainloadingH. Peter Anvin2010-01-101-0/+2
|
* chain.c32: simplify the grub4dos supportH. Peter Anvin2010-01-101-13/+9
| | | | | | | Grub4dos (like Grub in general) uses the same partition numbers as Linux (and chain.c32), minus one. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c32: add grldr= command for Grub4dosKim Mik2010-01-101-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | grldr of Grub4dos wants the partition number in DH: 0xff: whole drive 0-3: primary partitions 4-*: logical partitions Hmmm... there really isn't a huge reason not to do this unconditionally, at least unless it's known to cause problems. It would be better, of course, if grldr used the standard DS:SI, but it doesn't, so oh well. Some info of a Grub4dos developer (Tinybit): GRLDR can be loaded at any address with alignment 16(i.e., a possible segment base address). Generally you want to load it at 0000:7C00, or at 2000:0000. Of course you never load it at 0000:0000 or similar. Before jumping to the entry point at the very beginning of GRLDR, you should setup DL=(BIOS drive) and DH=(partition number). For partition numbers, 0 - 3 are primary, 4 - 0xFE are logical. (DH=0xFF) stands for whole drive(unpartitioned). DH will later be passed to install_partition(the third byte, from bit 16 to bit 23). http://www.boot-land.net/forums/index.php?showtopic=8457&st=20&start=20 post #22
* Update README for 2010H. Peter Anvin2010-01-061-1/+1
|
* Change () prototypes to (void)H. Peter Anvin2010-01-0612-38/+48
| | | | | | | | () means the same as (...) in C, not the same as (void) as it does in C++. It is generally misused to mean (void), though. Actually write what we mean... this is C, after all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update date to 2010H. Peter Anvin2010-01-063-2/+3
|
* core: Remove the built-in defaultH. Peter Anvin2010-01-064-22/+25
| | | | | | | The built-in default is rarely if ever used anymore and highly confusing to users. Remove it entirely. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* dosutil: don't remove targets which need Watcom even for "make spotless"H. Peter Anvin2009-12-301-2/+4
| | | | | | | Most systems won't have Watcom installed, so don't remove Watcom-generated binaries even with "make spotless". Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c32: stylistic comments/usage output changesKim Mik2009-12-281-2/+2
| | | | | | | | | Comments fix and usage output corrected for chain.c32 - Gert Hulselmans Signed-off-by: Gert Hulselmans <kimmik999999@yahoo.co.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge commit 'sherbszt/gfxboot32'syslinux-3.85-pre1H. Peter Anvin2009-12-283-5/+12
|\
| * gfxboot: fix loading of LABELs with non KERNEL or LINUX commandsSebastian Herbszt2009-12-081-1/+6
| | | | | | | | | | | | Call syslinux_run_command() if menu_ptr->kernel or menu_ptr->linux are not set. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: accept plain boot logo filesSebastian Herbszt2009-12-081-1/+3
| | | | | | | | | | | | Don't force the boot logo file to be a cpio archive. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: fix typo in cb_getcwd - wrong function numberSebastian Herbszt2009-12-051-1/+1
| | | | | | | | | | | | Use function number 1fh in cb_getcwd. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: use $(NASM) and $(OBJCOPY)Sebastian Herbszt2009-12-051-2/+2
| | | | | | | | | | | | Use $(NASM) and $(OBJCOPY) in Makefile. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | gfxboot: add .gitignore fileH. Peter Anvin2009-12-281-0/+1
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | eltorito: align some pointlessly misaligned data itemsH. Peter Anvin2009-12-281-4/+5
| | | | | | | | | | | | | | Align some data items (including the jump table) which were misaligned for no clear reason. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | chain.c: do a proper copy operation for the cmldr signatureH. Peter Anvin2009-12-281-9/+14
| | | | | | | | | | | | | | Instead of writing into memory that we might not own, create a proper copy operation using syslinux_add_movelist(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | chain.c32: add support for booting the Recovery Console of Windows NT/2K/XPKim Mik2009-12-281-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch for chain.c32 adds support to boot the Recovery Console of Windows NT/2K/XP. Normally when you want to boot the recovery console, you need to patch "cmdcons\0" into the bootsectorof the partition (8 bytes starting at 0x3 (4th byte)). We can do this patching in memory: strcpy((char *) 0x7c03, "cmdcons"); To boot the recovery console with chain.c32: chain.c32 cmldr=/cmldr - Gert Hulselmans
* | Merge commit 'contrib/master'H. Peter Anvin2009-12-282-3/+3
|\ \
| * | memdisk: Fix "might be used uninitialized" warningShao Miller2009-12-111-2/+2
| | | | | | | | | | | | | | | | | | | | | Impact: Initializing variables The checksum_buf function was providing an incorrect checksum on at least one build.
| * | memdisk: Fix mBFT alignmentShao Miller2009-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | Impact: Fixing mBFT alignment It was previously possible that the mBFT might not be 16-byte aligned because the .data section was not.
* | | chain.c32: fixing implicit declaration of function ↵Kim Mik2009-12-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ‘syslinux_force_text_mode’ When building chain.c32: $ make chain.c32 gcc -Wp,-MT,chain.o,-MD,./..chain.o.d -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -I../../com32/gplinclude -c -o chain.o chain.c chain.c: In function ‘do_boot’: chain.c:552: warning: implicit declaration of function ‘syslinux_force_text_mode’ ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/gpllib/libcom32gpl.a ../../com32/lib/libcom32.a /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc.a objcopy -O binary chain.elf chain.c32 The following was missing: #include <syslinux/video.h> - Gert Hulselmans
* | | NEWS, version: prepare for 3.85H. Peter Anvin2009-12-222-1/+4
| | |
* | | com32: syslinux_report_video_mode returns voidH. Peter Anvin2009-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | syslinux_report_video_mode() never gave a return value, to have it return void unless we need something else. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | vesa: formatting fixH. Peter Anvin2009-12-221-1/+1
| | | | | | | | | | | | | | | | | | Code formatting fix in screencpy.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | vesamenu: unbreak the default backgroundH. Peter Anvin2009-12-221-4/+11
| | | | | | | | | | | | | | | | | | Unbreak the default background image; it would clobber all of memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | spec: don't actually package the dosutil directory propersyslinux-3.84H. Peter Anvin2009-12-181-1/+1
| | | | | | | | | | | | | | | | | | No need to actually package the dosutil directory per se. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | spec: NASM 2.03, new dosutil directoryH. Peter Anvin2009-12-181-1/+6
| | | | | | | | | | | | | | | | | | Require NASM 2.03, and add new dosutil directory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | NEWS: document eltorito.sysH. Peter Anvin2009-12-181-0/+2
| | |
* | | NEWS: chain.c32 now always returns to text mode.H. Peter Anvin2009-12-181-0/+1
| | |
* | | chain.c32: force text modeH. Peter Anvin2009-12-181-0/+3
| | | | | | | | | | | | | | | | | | When loading an unknown system, revert to text mode first. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | video: implement long-promised video functions; use themH. Peter Anvin2009-12-186-14/+153
| | | | | | | | | | | | | | | | | | | | | | | | Implement long-since-promised video functions defined in <syslinux/video.h>. Use these functions in initvesa.c instead of open-coding the same functionality. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | NEWS: document chain.c32 -> isolinux.bin additionH. Peter Anvin2009-12-181-0/+1
|/ / | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>