aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* com32: add a centralized bitops headerH. Peter Anvin2010-11-143-23/+66
| | | | | | | | | Add a centralized bitops header <sys/bitops.h> which uses x86 bitops instructions. This is necessary to keep gcc 4.5 from aborting compilation due to the inlined code being larger than the non-inlined version, and well, we should really use the bitops. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
*---. Merge branch 'genec-rosh-for-hpa', remote branches ↵H. Peter Anvin2010-11-148-25/+683
|\ \ \ | | | | | | | | | | | | 'genec/sample-make-for-hpa', 'genec/drmk-ver-for-hpa' and 'genec/pxechain-for-hpa'
| | | * PXELINUX: shorten code in pxenv callGene Cumm2010-11-131-4/+2
| | | | | | | | | | | | | | | | | | | | Now that both scenarios are clear (do/do not call timer_cleanup/ timer_init), shorten it to eliminate a needless jmp.
| | | * PXELINUX: add gPXE PXENV_FILE_EXEC in addition to PXENV_RESTART_TFTP; commentsGene Cumm2010-11-131-2/+6
| | | | | | | | | | | | | | | | Both of these calls will not return if successful
| | | * PXELINUX: Fix timer bugGene Cumm2010-11-051-0/+19
| | | | | | | | | | | | | | | | | | | | Certain calls to the PXE stack could potentially remove us from memory. Revert the INT 1Ch timer to its previous state.
| | * | ver.com: Update some of how DRMK is handledGene Cumm2010-11-061-3/+14
| | | |
| | * | ver.com: Fix month calculation for DRMK Build DateGene Cumm2010-11-021-1/+7
| | | |
| | * | modules/Makefile: add ver.comGene Cumm2010-10-251-1/+1
| | | |
| | * | ver.com: Fixed width number output; Conditional skip DOS serialGene Cumm2010-10-251-44/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create two functions, writedecb[23], to output a byte AL as fixed with of 2 or 3 characters wide, 0 prepend If all of the DOS Serialnumber is 0, don't bother with printing anything.
| | * | ver.com: Compact file by reuse of stringGene Cumm2010-10-241-9/+13
| | | |
| | * | ver.com: Update to pull info from DRMKGene Cumm2010-10-241-5/+116
| | | |
| | * | core/writedec: Remove writechr; fix overflow in .cloopGene Cumm2010-10-241-2/+3
| | | | | | | | | | | | | | | | writechr is found in other files and this prevents a compile error.
| | * | ver.com: Import from previously private branch as new fileGene Cumm2010-10-241-0/+414
| | |/
| * / sample/Makefile: re-add the includeGene Cumm2010-10-251-0/+1
| |/ | | | | | | | | Without the include, .ppm.gz to .lss messes up as $(GZIPPROG) is not expanded properly
| * gfxboot: fix buffer overrun when loading kernel/initramfssyslinux-4.03Colin Watson2010-10-201-1/+2
| | | | | | | | | | | | | | | | If the file size wasn't a multiple of 64KB, we could overwrite the next entry in the malloc arena so reading the initramfs would fail. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * Merge remote branch 'liu/master'syslinux-4.03-pre6H. Peter Anvin2010-10-151-18/+27
| |\
| | * lib: Update memmem functionLiu Aleaxander2010-10-091-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current memem implementation can not handle the case that the length of the third parameter(needle) is equal *ONE*. So that the current strstr implemention doesn't work when the lenght of substring is ONE. For example, strstr("linux", "l") it will return NULL instead of "linux", which is not right. This code is stolen from klibc ;) Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
| * | chain.c32: DRMK: Fix comment at top of sourceGene Cumm2010-10-141-1/+2
| | |
| * | chain.c32: DRMK: Add comment about only using a DWORD for partition offsetGene Cumm2010-10-131-0/+1
| | |
| * | chain.c32: DRMK: clean up output; clean up and correct commentsGene Cumm2010-10-131-10/+8
| | |
| * | chain.c: Progress on DRMK and notes that it's not perfect yet.Gene Cumm2010-10-131-2/+21
| | |
* | | rosh: rosh_argcat now has length. if DO_DEBUG, show startup commandGene Cumm2010-10-161-8/+16
| | |
* | | rosh: display command entered and a command unknown message when not knownGene Cumm2010-10-161-20/+24
| | |
* | | Merge branch 'master' into rosh_for_hpaGene Cumm2010-10-137-53/+83
|\| |
| * | gfxboot: add include and menu include supportsyslinux-4.03-pre5Colin Watson2010-10-121-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | Ubuntu CDs use multiple configuration files and the include directive as well as gfxboot, so it's useful for gfxboot to support these. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | doc: extlinux falls back to syslinux.cfgFerenc Wagner2010-10-121-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | doc: reorganize config file introFerenc Wagner2010-10-121-6/+7
| | | | | | | | | | | | | | | Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | doc: comments don't need a leading spaceFerenc Wagner2010-10-121-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | chain.c32: make CHS calculation match core/fs/diskio.cH. Peter Anvin2010-10-121-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | Use the same format for the CHS calculation as in core/fs/diskio.c; also, apply the correct limits, and propagate the fix to the write routine. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | strspn.c: drop "inline"H. Peter Anvin2010-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Drop "inline" from bit operations. These should be recoded to use x86 bts/bt instructions, but for now just drop the "inline" which causes failures on gcc 4.5 due to inlining failures. Reported-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | NEWS: Update for 4.03H. Peter Anvin2010-10-121-0/+14
| | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | isohybrid: Use ftruncate instead of seek for final paddingP J P2010-10-121-8/+4
| | | | | | | | | | | | | | | | | | | | | Pad the image via ftruncate instead of seeking to the end (which was done incorrectly). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | chain.c32: fix conversion from LBA to CHSH. Peter Anvin2010-10-121-1/+1
| |/ | | | | | | | | | | | | | | Bits [9:8] of the cylinder goes into the top bits of the sector register, not the bottom (and the math for that was wrong, anyway.) Reported-by: Michal Soltys <soltys@ziu.info> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | rosh: add another item in the ToDos commentGene Cumm2010-10-131-0/+2
| |
* | rosh: Fix rosh_ls(); fix FTBFS on rosh_more(); add ROSH_DEBUG2_ARGV_V macroGene Cumm2010-10-092-7/+31
| |
* | unistd.h: Add missing getopt declarationsGene Cumm2010-10-091-0/+4
| |
* | Merge branch 'master' into rosh_for_hpaGene Cumm2010-10-0913-30/+118
|\|
| * Merge remote branch 'genec/rosh_for_hpa'syslinux-4.03-pre4H. Peter Anvin2010-10-083-24/+99
| |\
| * | core: fix handling new directory "/" for CONFIG in ISOLINUX and EXTLINUXGene Cumm2010-09-232-0/+4
| | |
| * | Fix missing option -s in libinstallersyslinux-4.03-pre3Arwin Vosselman2010-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | In 'libinstaller/syslxopt.c' on line 71 the "s" (undercast) is missing in: const char short_options[] = "t:fid:UuzS:H:rvho:OM:ma"; Adding the 's' there seems to solve our problem.
| * | pxe: add a "pxeretry" option to deal with 404's in web appssyslinux-4.03-pre2H. Peter Anvin2010-08-264-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | For web downloads, sometimes a mirror site will not be fully synced. Add an option to retry the open a specific number of times before giving up. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | extlinux: try to get the disk offset from sysfsH. Peter Anvin2010-08-131-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible(?) that HDIO_GETGEO can't return the full offset, and in either case it is too small -- only 32 bits on 32-bit platforms. Thus query sysfs for the real value, if available. sysfs also contains information for slave devices -- this is going to really matter for the md/lvm issues. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | diskio: remove redundant register writeDon Hiatt2010-08-131-2/+0
| | | | | | | | | | | | | | | The disk number is set twice in diskio.c/edd_rdwr_sectors() this patch removes the redundant setting.
| * | version: next version will be 4.03syslinux-4.03-pre1H. Peter Anvin2010-08-111-1/+1
| | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | core: look for invalid MBR handover information addressH. Peter Anvin2010-08-111-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | The Win7 MBR doesn't provide proper handover information. Instead, it leaves DS:SI = 0:0x7e00, so reject that information as invalid on grounds that it is pointed into the bootloader area. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | chain: Extra comments; shrink the new space to minimumGene Cumm2010-08-011-5/+5
| | |
| * | chain: Just assign the value rather than using memcpy()Gene Cumm2010-08-011-4/+1
| | |
| * | chain: add drmk= to usageGene Cumm2010-08-011-0/+1
| | |
| * | chain: Fix up and clean up DRMK load code; fix filename length; Patch memory.Gene Cumm2010-08-011-11/+8
| | |
| * | chain.c32: prepare for loading DRMKGene Cumm2010-08-011-0/+31
| | |