summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Document GPT boot protocol; add !GPT signature3.6xH. Peter Anvin2008-05-132-0/+93
| | | | | | Document the GPT boot protocol; add additional assurance by requiring that EAX contains "!GPT" for the GPT information to be valid.
* Add NEWS for 3.64syslinux-3.64-pre1H. Peter Anvin2008-05-131-0/+4
|
* Merge commit 'origin/gptmbr'H. Peter Anvin2008-05-132-1/+295
|\
| * gptmbr: use cltq to extend a zero %eax into %edxH. Peter Anvin2008-02-251-1/+1
| | | | | | | | | | Using cltq (cdq) to clear %edx when %eax is zero is cheaper by one byte.
| * gptmbr: Add commentH. Peter Anvin2008-02-251-1/+1
| |
| * gptmbr: save phdr -> bootsect on the stack, saving one byteH. Peter Anvin2008-02-251-2/+4
| |
| * gptmbr: another confusion of start and end fieldsH. Peter Anvin2008-02-251-2/+2
| | | | | | | | Use the start field for the boot sector address...
| * gptmbr: fix confusion between start and end fieldsH. Peter Anvin2008-02-251-2/+4
| | | | | | | | | | | | Fix a case of bad confusion of the start and end fields (length = end-start+1, so we can't easily reuse the load of the start field.)
| * gptmbr: use xchgw %ax,... instead of movw %ax,... when %ax is deadH. Peter Anvin2008-02-251-1/+1
| | | | | | | | | | xhcgw with %ax and a register is one byte shorter than movw with %ax if %ax is then dead.
| * gptmbr: Use %bp for references into phdr and the stackH. Peter Anvin2008-02-251-20/+19
| | | | | | | | | | | | Set up %bp as a permanent frame pointer and use it to reference stack and phdr fields; by putting phdr in the bootsect slot we can use it for phdr references with small displacements. This saves 5 bytes.
| * gptmbr: since %bx is advanced, we can test -2(%bx) == (bootsec+510)H. Peter Anvin2008-02-251-1/+1
| | | | | | | | | | With %bx advanced to the end of the boot sector, we can use -2(%bx) instead of (bootsec+510), thus saving one byte.
| * gptmbr: addw $512, %bx -> addb $2, %bhH. Peter Anvin2008-02-251-1/+1
| | | | | | | | Save one byte...
| * gptmbr: offsets into phdr are decimal, not hexH. Peter Anvin2008-02-251-4/+4
| | | | | | | | The offsets into phdr, from the EFI spec, are in decimal, not hex.
| * gptmbr: move advancing %bx into read_sectorH. Peter Anvin2008-02-251-4/+3
| | | | | | | | Move the advancing of %bx into read_sector, saving 3 bytes.
| * gptmbr: need to set %bx -> bootsecH. Peter Anvin2008-02-251-0/+1
| | | | | | | | | | | | Need to tell read_sector where to load the boot sector (unlike the MBR code, where we always loaded into 0x7c00, this code uses multiple buffers.)
| * gptmbr: shuffle slightly to reduce register pressureH. Peter Anvin2008-02-251-6/+3
| | | | | | | | | | Shuffle some code slightly to reduce register pressure; no size change but this might make the code easier to follow and/or change.
| * gptmbr: shuffle slightly to save 3 bytesH. Peter Anvin2008-02-251-14/+17
| | | | | | | | Shuffle some code to reduce the total size by 3 bytes
| * rep; cmpsw -> repe; cmpswH. Peter Anvin2008-02-251-1/+1
| | | | | | | | Same instruction, but repe is more correct for cmpsw
| * Master boot record for GPT partition tablesH. Peter Anvin2008-02-252-1/+292
| | | | | | | | Beginnings of a master boot record for GPT partition tables.
* | Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-1210-10/+14
| | | | | | | | -fstack-protector flag enabled by default.
* | chain.c32: fix booting from logical partitionsSergey Vlasov2008-04-241-1/+1
| | | | | | | | | | | | | | | | Booting from a logical partition failed with the "Requested logical partition not found" error due to a wrong test for partition signature in find_logical_partition(). Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
* | Next version on this branch would be 3.64H. Peter Anvin2008-04-201-1/+1
| |
* | localboot.inc: file missing from previous checkinH. Peter Anvin2008-04-201-0/+78
| |
* | Support LOCALBOOT (ISOLINUX-style) in SYSLINUX/EXTLINUXH. Peter Anvin2008-04-1910-47/+24
| | | | | | | | | | Add support for ISOLINUX-style LOCALBOOT in SYSLINUX/EXTLINUX. No way to do the same for PXELINUX, due to the keyword collision. Suck.
* | syslinux 3.63: Use $(CC) for examining compiler optionsMaciej W. Rozycki2008-04-171-1/+1
| | | | | | | | | | Following changes to other Makefiles use $(CC) for examining compiler options here as well.
* | syslinux 3.63: Rename $GZIP to $GZIPPROGMaciej W. Rozycki2008-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | If the variable GZIP exists in the environment, overriding it in the Makefile exports it into the environment, causing failures: gzip -cd syslogo.ppm.gz | \ ../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \ > syslogo.lss gzip.gz: No such file or directory 204480 pixels, 25715 bytes, (74.85% compression) Use $GZIPPROG instead.
* | NEWS: Add link to MSDN article on how to build a ramdisk image.syslinux-3.63H. Peter Anvin2008-04-091-0/+2
| | | | | | | | Hopefully other users might have better luck than me :-/
* | movebits: rewrite significant chunks of the algorithmsyslinux-3.63-pre5H. Peter Anvin2008-04-091-166/+246
| | | | | | | | | | | | | | | | | | Rewrite the algorithm to prefer entries which can be directly moved into their target slots; this should reduce the number of descriptors in most cases (although not necessarily *all* cases.) Try to clean up the code some while we're at it... the code is confusing enough as it is.
* | zonelist.c: Fix the coalescing of identical rangesH. Peter Anvin2008-04-091-7/+6
| | | | | | | | | | The old code could fail to coalesce backwards in the case where a range is totally obliterated. For now, just scan the whole list.
* | 3.63: update NEWSsyslinux-3.63-pre4H. Peter Anvin2008-04-081-0/+14
| |
* | memdisk: allow up to 1024 e820 descriptorsH. Peter Anvin2008-04-081-1/+1
| | | | | | | | | | | | There are plenty of systems out there with more than 64 e820 descriptors. The hard-coded limit is only used during initialization, so we might as well go nuts.
* | sdi.c32: be a tad more verbose.H. Peter Anvin2008-04-081-1/+5
| | | | | | | | Print minimal message while loading.
* | movebits: use the memmap data structure for the freelistH. Peter Anvin2008-04-081-152/+80
| | | | | | | | | | | | Use the syslinux_memmap data structure for the free memory list. This means we get range coalescing; this sometimes generates lists that are vastly shorter than without range coalescing.
* | movebits: handle the case of an upward overlap move with obstaclesH. Peter Anvin2008-04-081-115/+187
| | | | | | | | | | Handle the case of an upward move when there is something in the way. This happens when loading an SDI image.
* | extlinux: Correct the directory block end conditionsyslinux-3.63-pre3H. Peter Anvin2008-04-071-4/+12
| | | | | | | | | | | | | | ext2/3 directory blocks are *not* ended with inode == 0; that reflects a deleted block (like 0xe5 in FAT.) Directory blocks are ended by directory block exhaustion; the last block is simply made as large as the whole directory block.
* | COM32 module to load a Microsoft System Deployment ImageH. Peter Anvin2008-03-312-1/+163
| | | | | | | | COM32 module to load a Microsoft System Deployment Image (SDI) file.
* | Add target to install into /tftpbootH. Peter Anvin2008-03-221-0/+8
| |
* | pxelinux: allow class E addresses as unicastsyslinux-3.63-pre2H. Peter Anvin2008-03-201-7/+25
| | | | | | | | | | | | Class E IPv4 addresses are expected to be reassigned as available for unicast addresses (probably for site-local use, but that is a major usage domain of PXE.)
* | Merge commit 'f9ac61d6178d4994cd646fd4b6c4bb891351624c'H. Peter Anvin2008-03-201-1/+1
|\ \
| * | Remove reference to readpit.c32, an experimental moduleH. Peter Anvin2008-03-081-1/+1
| | | | | | | | | | | | | | | Remove reference to readpit.c32, an experimental module never intended for release.
* | | Fixing wrong offsets in dmiSebastian Herbszt2008-03-202-10/+10
| | | | | | | | | | | | | | | | | | | | | DMI code have some wrong offsets. This patch fixes this offsets and improve the grammar. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | | PCI detection code doesn't corrupt memory anymore (2nd try)Erwan2008-03-202-25/+23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch fixes the pci detection stuff demo'd in pcitest.c32 - Fix a wrong type in malloc - Incorrect use of strdup - Replacing strncpy by strnlcpy (thx hpa) This two fixes makes pcitest.c32 working far better, no more crash when running it twice. I'd like to thank Sebastian Herbszt for its reports and tests. This patch was made for 3.62-pre16 but applies fine on 3.63-pre1. Signed-off-by:Erwan Velu <erwan.velu@free.fr> -------------------------------------------------------------------------------- Les opinions et prises de position emises par le signataire du present message lui sont propres et ne sauraient engager la responsabilite de la societe SEANODES. Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme. The views and opinions expressed by the author of this message are personal. SEANODES shall assume no liability, express or implied for such message. This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system.
* | Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-0513-14/+14
| | | | | | | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* | win32/Makefile: clean hello.exe on "make tidy"H. Peter Anvin2008-03-031-1/+1
| | | | | | | | hello.exe isn't really anything we care about; clean it up on "make tidy".
* | Add stuff to "make dist" to clean up crap that shouldn't be thereH. Peter Anvin2008-03-031-3/+3
| |
* | Clean up .*.d files for "make tidy" in libutilH. Peter Anvin2008-03-031-1/+1
| |
* | The next release on *this* branch would be 3.63syslinux-3.63-pre1H. Peter Anvin2008-03-031-1/+1
| |
* | Prevent inclusion of system include files when inappropriateH. Peter Anvin2008-03-039-13/+30
| | | | | | | | | | Use "-nostdinc -iwithprefix include" to prevent the inclusion of system header files, but still permitting *compiler* header files.
* | simple menu: break off execute() into its own source fileH. Peter Anvin2008-03-024-56/+74
| | | | | | | | | | Break off execute() into its own source file, with the intent of being able to re-use it for a CLI module.
* | License change for CPU detection modulesErwan2008-03-026-36/+132
| | | | | | | | | | | | | | | | | | | | | | H. Peter Anvin wrote: > Erwan: I would have to get you to do this, since it would mean > changing the license (trying to keep libcom32 under the BSD/MIT > licenses), and you have them under your own copyright (as opposed to > mine), which means I can't do this change. Please find attached the patch to changing the license to MIT on modules I did contribute in com32/modules/.