aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* core/Makefile: iso%.bin depends on checksumiso.plH. Peter Anvin2008-09-051-1/+1
| | | | | | iso%.bin depends on checksumiso.pl Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* checksumiso: pad isolinux.bin to a sector boundaryH. Peter Anvin2008-09-051-3/+18
| | | | | | | Always pad isolinux.bin to a full CD-ROM sector boundary. This avoids a lot of potential special cases. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* keytab-lilo: don't try to be too smartH. Peter Anvin2008-09-041-3/+3
| | | | | | | The keytab-lilo script tried to add pathname and extension, but loadkeys does that better. Therefore, don't try to be smart. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NEWS: update NEWS (sdi.c32, ISOLINUX fix)syslinux-3.72-pre1H. Peter Anvin2008-09-021-0/+2
|
* isolinux: return failure when opening a zero-length fileH. Peter Anvin2008-09-021-1/+2
| | | | | | | | | | | | In the Syslinux view of the world, a zero-length file doesn't exist and therefore should return error on open. A lot of the code relies on this, but ISOLINUX allowed a zero-length file to be opened, which could cause all kinds of trouble. It would be nicer to not have that restriction, but removing it will probably not happen until the configuration code is rewritten in C. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sdi.c32: credit where credit is dueH. Peter Anvin2008-09-021-1/+2
| | | | | | | This doesn't use Remi's code, but definitely used some concepts from his patch. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* sdi.c32: support gzipped SDI imagesH. Peter Anvin2008-09-021-1/+1
| | | | | | | Support gzipped SDI images, simply by replacing loadfile() with zloadfile(). Suggested by Remi Lefevre. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: add modules to BSUBDIRSSebastian Herbszt2008-08-291-1/+1
| | | | Add modules directory to BSUBDIRS.
* NEWS: update for 3.72H. Peter Anvin2008-08-271-0/+12
|
* Add pxechain.com; new modules direction; reorganize installationH. Peter Anvin2008-08-275-11/+635
| | | | | | | | | Add the pxechain module from Jeffery Hutzelman at CMU. Create new modules directory for non-com32 modules. Centralize installation, since we have three types of install, and only one of them was distributed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* menu: avoid leaving obvious password turds in memoryH. Peter Anvin2008-08-265-12/+57
| | | | | | Avoid leaving obvious password turds in memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core/Makefile: The core is an embedded targetH. Peter Anvin2008-08-221-21/+1
| | | | The core is an embedded target, so use MCONFIG.embedded.
* Clean up embedded Makefile targets; fix build failureH. Peter Anvin2008-08-229-66/+53
| | | | | | Unify common pieces to "embedded" targets (those that produce code that runs neither in the host nor in a com32 environment); this fixes the broken sample/ directory Makefile.
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-2021-428/+271
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* MEMDISK: document the pause optionH. Peter Anvin2008-08-141-0/+4
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: fix pci_scan()Sebastian Herbszt2008-08-121-2/+4
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: cosmetic fixesSebastian Herbszt2008-08-121-34/+34
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: revamp the PCI system to have a hierarchial formatH. Peter Anvin2008-08-124-251/+258
| | | | | | | | Create the concept of a PCI domain, as a hierarcy of busses, devices and functions. This avoids large static-sized arrays and allows for geographical addressing of devices. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* ctype.h: change extern inline to static inlineH. Peter Anvin2008-08-121-1/+1
| | | | | | Make -std=gnu99 happy... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* stdio.h: change fflush() from "extern inline" to "static inline"H. Peter Anvin2008-08-121-1/+1
| | | | | | | When compiling with -std=gnu99, apparently gcc doesn't like "extern inline" anymore. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: compile with -std=gnu99H. Peter Anvin2008-08-125-9/+19
| | | | | | | Compile with -std=gnu99, this allows us to define initializers inside for() loops, which makes certain kinds of ugly macros easier to write. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* stdio.h: revamp fread/fwrite to make gcc less unhappyH. Peter Anvin2008-08-121-11/+12
| | | | | | | Implement the special case size == 1 in terms of a macro; this makes gcc 4.3 less unhappy. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge updated version of the gPXE codeH. Peter Anvin2008-08-1211-0/+4352
| | | | | | | Merge gPXE up to upstream git version gpxe-0.9.3-release-197-gff2b6a5 (ff2b6a512d7a4f351e48dc9a042099a1010342a3). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix lrand48() and rand()H. Peter Anvin2008-08-111-1/+1
| | | | | | | | | lrand48() and rand() had improper parenthesization, which caused it to return negative values. Spotted by Stefan Bucur :) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add version.mk to .gitignoreH. Peter Anvin2008-08-071-0/+1
|
* com32/lib: add zalloc()H. Peter Anvin2008-08-014-9/+20
| | | | | | Add the nonstandard, but often useful, zalloc() function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: inlines for extracting part of a PCI device addressH. Peter Anvin2008-08-011-0/+15
| | | | | | The inverse operations of pci_mkaddr() Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pci: store device addressH. Peter Anvin2008-08-012-3/+8
| | | | | | | When scanning PCI devices, store the device address for reference. Based on a patch by Sebastian Herbszt. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge commit 'origin/for-3.72'H. Peter Anvin2008-07-313-9/+27
|\
| * klibc/compiler.h: add __weak macroH. Peter Anvin2008-07-231-0/+3
| | | | | | | | Add a macro for weak symbols.
| * klibc/compiler.h: booleanize likely/unlikelyH. Peter Anvin2008-07-231-4/+4
| | | | | | | | | | __likely() and __unlikely() should explicitly booleanize their arguments.
| * Simplify and fix label string scanningH. Peter Anvin2008-07-222-15/+7
| | | | | | | | | | | | | | Simplify and fix bugs in the code to store and match label names without filename mangling. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * parseconfig, ui: store the label name unmangledSebastian Herbszt2008-07-222-4/+27
| | | | | | | | | | | | | | | | Store the label names unmangled and match those against command_line. - Sebastian Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | version: bump version numberH. Peter Anvin2008-07-311-1/+1
| | | | | | | | Next version will presumably be 3.72...
* | Document search for MinGWsyslinux-3.71H. Peter Anvin2008-07-311-1/+4
| |
* | Document remaining fixes.H. Peter Anvin2008-07-311-2/+4
| |
* | chain.c32: error out on missing boot sector signatureH. Peter Anvin2008-07-301-0/+7
|/ | | | | | | | If we're booting a disk or partition, then error out if the loaded sector doesn't have a boot sector signature, rather than the otherwise-inevitable crash. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core/runkernel.inc: remove dead codesyslinux-3.71-pre16Sergey Vlasov2008-07-221-6/+0
| | | | | Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix initrd overwriting the kernel for some kernel sizesSergey Vlasov2008-07-221-0/+2
| | | | | | | | | | | | | The address in EDI returned by the load_high call used to load the kernel needs to be passed to parse_load_initrd, but the code which clears memory after setup sectors for 1.2.x kernels was corrupting low 16 bits of EDI. In most cases this corruption was not noticed, because with usual setup sizes DI was set to 0xf800, therefore the chance of getting the kernel size such that initrd would actually overwrite the kernel was about 3%. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix loading of *.lkrn images from gPXESergey Vlasov2008-07-221-7/+6
| | | | | | | | | | | Attempts to load *.lkrn images were failing with "Not enough memory to load specified image". These images have the su_ramdisk_max header field set to zero, and the code in core/runkernel.inc was limiting MyHighMemSize too early (before the load_high call used to load the main part of the kernel). Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* vesamenu: avoid strcmp() with NULLH. Peter Anvin2008-07-221-1/+1
| | | | | Avoid touching memory at address zero when going from a background to a non-background.
* pci: resize pci_device arrayssyslinux-3.71-pre15Sebastian Herbszt2008-07-191-5/+5
| | | | | | | | | | | pci_bus->pci_device get's populated with functions so it should take up to MAX_PCI_DEVICES * MAX_PCI_FUNC elements. pci_device_list->pci_device get's populated with functions for every possible pci bus. Therefore it should take up to MAX_PCI_BUS * MAX_PCI_DEVICES * MAX_PCI_FUNC elements. Also adjust count variable types. - Sebastian
* ethersel: use library functionsSebastian Herbszt2008-07-191-26/+4
| | | | | | | Replace get_config() and execute() with syslinux_config_file() and syslinux_run_command(). - Sebastian
* Document SERIAL fixH. Peter Anvin2008-07-171-0/+1
|
* Correctly parse "serial" statements with no baud rateH. Peter Anvin2008-07-171-7/+6
| | | | | People often don't bother specifying a baud rate for virtual serial ports. Handle parsing correctly.
* win32: run shell script in the current dir with ./H. Peter Anvin2008-07-171-1/+1
| | | | | | Need leading ./ to run shell script in the current directory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* isolinux: rename CurDir to CurrentDirSebastian Herbszt2008-07-161-8/+8
| | | | | | | ldlinux and extlinux are both using CurrentDir variable name. Rename CurDir to make it consistent with those. - Sebastian
* <sys/cpu.h>: asm() formatting cleanupH. Peter Anvin2008-07-161-1/+2
| | | | | | Minor asm() formatting cleanup. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* <sys/cpu.h>: drop redundant "return"H. Peter Anvin2008-07-161-1/+1
| | | | | | Drop "return" for function returning void. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: move cpuid inlines to <sys/cpu.h>H. Peter Anvin2008-07-162-73/+41
| | | | | | | | <sys/cpu.h> already has most of the CPUID inlines, put them all there. <cpuid.h> still have structures for the code that really should be librarized at some point. Signed-off-by: H. Peter Anvin <hpa@zytor.com>