aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into core32H. Peter Anvin2009-05-294-358/+359
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/include/netinet/in.h com32/include/sys/cpu.h dos/argv.c dos/malloc.c dos/syslinux.c extlinux/main.c libinstaller/setadv.c libinstaller/syslinux.h libinstaller/syslxint.h libinstaller/syslxmod.c linux/syslinux.c mtools/syslinux.c win32/syslinux.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on libinstaller/syslxmod.cH. Peter Anvin2009-05-291-188/+187
| | | | | | | | | | | | | | | | | | Automatically reformat libinstaller/syslxmod.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on libinstaller/syslxint.hH. Peter Anvin2009-05-291-18/+18
| | | | | | | | | | | | | | | | | | Automatically reformat libinstaller/syslxint.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on libinstaller/syslinux.hH. Peter Anvin2009-05-291-10/+10
| | | | | | | | | | | | | | | | | | Automatically reformat libinstaller/syslinux.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on libinstaller/setadv.cH. Peter Anvin2009-05-291-89/+89
| | | | | | | | | | | | | | | | | | Automatically reformat libinstaller/setadv.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dos: uninline far data accessor functionsH. Peter Anvin2009-05-251-6/+12
| | | | | | | | | | | | | | Forcibly uninline the far data accessor functions. This significantly reduces the size of the code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dos installer: reuse ldlinux_segH. Peter Anvin2009-05-251-3/+2
| | | | | | | | | | | | | | Make ldlinux_seg a global variable, and use it in syslxmod.c. This reduces the size of syslxmod.o fairly significantly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Standardize the names SECTOR_SIZE and SECTOR_SHIFTH. Peter Anvin2009-05-192-5/+6
| | | | | | | | | | | | | | Use the names SECTOR_SIZE and SECTOR_SHIFT everywhere, instead of an odd mix of symbols and hard-coded constants. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: change DOS installer to EXE; additional 32K limit fixesH. Peter Anvin2009-05-194-42/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Additional fixes for the 32K limits in the installers. In the case of the DOS installer, that means changing it from COM format to EXE format (since COM format has a 63K hard limit); retain the name syslinux.com for user compatibility, though (DOS doesn't care what the extension except for pathname search; if it finds an MZ EXE header it will use it.) With the change to EXE means having to handle more than one segment. Since we don't have a real DOS compiler we have to wing it a bit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | libinstaller: "nsect" is the size of ldlinux.sys, not the totalH. Peter Anvin2009-05-191-1/+0
| | | | | | | | | | | | | | | | | | | | "nsect" here is the size of ldlinux.sys, not the total structure; therefore it should not be decremented. Again, all this should really be unified. With this patch the FAT derivatives boot with the current code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | libinstaller: fix definition of bsHeadLenH. Peter Anvin2009-05-191-1/+1
| | | | | | | | | | | | | | Correct the definition of bsHeadLen, the size of the region at the start of the boot sector that should always be copied. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: update the FAT installers to match the new diskstart.incH. Peter Anvin2009-05-192-150/+55
| | | | | | | | | | | | | | | | | | | | | | | | Update the FAT installers to match the new patch area format in diskstart.inc. Also, update the coding style to match extlinux; this code should eventually get unified. This does not resolve the current issues with the DOS installer when ldlinux.sys exceeds about 48K, at which point the DOS installer needs to become a segment-aware EXE program. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: handle more than 32K of code for disk-based derivativesH. Peter Anvin2009-05-142-11/+80
|/ | | | | | | | | | | | Handle more than 32K worth of code for disk-based derivatives. We do this by allowing the sector pointers to overflow past sector 1; this is OK because we limit a run to be based on only the pointers that we have read so far. XXX: This is implemented for EXTLINUX, but breaks SYSLINUX. Need to update (and unify!) the SYSLINUX installers to cope. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Build _bin.c files in libinstaller; clean up B/I separationH. Peter Anvin2008-06-272-0/+113
| | | | | | | Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files, which are an intermediate stage toward building the installers, in the libinstaller directory, since that directory is used by all the installers anyway. That also lets us get bin2c.pl out of the root.
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-192-5/+4
|
* Merge commit 'origin/master' into advH. Peter Anvin2008-01-104-4/+4
| | | | | | Conflicts: extlinux/extlinux.c
* Add missing libinstaller filessyslinux-3.60-pre4H. Peter Anvin2007-12-143-0/+235
| | | | Files missing from previous checkin, sigh.
* Create libinstaller; actually implement boot-once for extlinuxH. Peter Anvin2007-12-142-0/+338
--once now supported for extlinux; some infrastructure for syslinux there as well, need implementation in all the various installers, however.