aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NEWS: document fix for non-partitioned devices.HEADmasterH. Peter Anvin2010-12-141-0/+1
|
* core, diskstart: add more sanity checks for handover infoH. Peter Anvin2010-12-141-1/+4
| | | | | | | | | | In particular, somehow we failed to actually test for DS:SI = 0:0! This tests both for SI < 16 and DS:SI < 1024. The former of those tests is a bit iffy and probably should be removed. This should also be promoted into isohdpfx. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* syslinux.ld: ld 2.20.51 seems to want .bss16 explicitly (NOLOAD)H. Peter Anvin2010-12-141-2/+2
| | | | | | | ld 2.20.51 seems to want the .bss16 explicitly marked (NOLOAD). We do that for most of the other bss sections, so we might as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdiskfind: abstract get page size so we can compile against klibcH. Peter Anvin2010-12-071-1/+11
| | | | | | | | | | klibc doesn't have sysconf(), because it involves a hideously inefficient multiplex. Thus, if _SC_PAGESIZE is not defined, invoke getpagesize(). Call the routine get_page_size() so it doesn't conflict on a platform which has both sysconf(_SC_PAGESIZE) and getpagesize(). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* NEWS: further updatesH. Peter Anvin2010-12-061-0/+3
|
* Merge remote branch 'genec/news-for-hpa'H. Peter Anvin2010-12-061-0/+14
|\
| * NEWS: Update for 4.04 as of 4.04-pre1Gene Cumm2010-12-031-0/+14
| |
* | com32: fix a ffile descriptor leak on open() of a nonexistent fileH. Peter Anvin2010-12-061-2/+4
| | | | | | | | | | | | | | | | If we try to open a nonexistent file, free the resulting file descriptor. Reported-by: Antonio Carlini <arcarlini@iee.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | gfxboot: require LABEL keywordsSebastian Herbszt2010-12-051-0/+5
| | | | | | | | | | | | Require LABEL keywords in config file. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | gfxboot: support TEXT and ENDTEXT keywordsSebastian Herbszt2010-12-051-1/+14
| | | | | | | | | | | | Support TEXT and ENDTEXT keywords; ignore the help text. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | Bump version to 4.04H. Peter Anvin2010-12-021-1/+1
|/
* man: remove long-since-obsolete note about name manglingH. Peter Anvin2010-11-181-5/+0
| | | | We haven't mangled label names for a very long time...
* core, pxe: Fix handling of unqualified DNS namesH. Peter Anvin2010-11-141-1/+1
| | | | | | | | Actually append the domain name to the end of an unqualified DNS name like we should have done all along. Reported-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* memdisk: use char array for external symbolsH. Peter Anvin2010-11-141-3/+3
| | | | | | | Use "extern const char foo[];" for an external symbol rather than "extern void" (gcc 4.5 fix.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* gfxboot: use a character array for an absolute symbolH. Peter Anvin2010-11-141-3/+4
| | | | | | | | The best way to access an absolute symbol is "extern const char foo[];" -- older gccs let you get away with "extern void" but gcc 4.5 chokes on it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* disklib: remove improper "inline"H. Peter Anvin2010-11-141-2/+2
| | | | | | | Remove improper inlines from static functions which cause gcc 4.5 to abort due to inlining failure. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* 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/initramfsColin 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'H. 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 supportColin 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
| |