summaryrefslogtreecommitdiff
path: root/com32/gfxboot
Commit message (Collapse)AuthorAgeFilesLines
* com32: Add device tree supportThierry Reding2012-06-291-1/+1
| | | | | | | | This commit adds support for passing a Flattened Device Tree (FDT) blob to the Linux kernel. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'H. Peter Anvin2011-04-261-1/+2
|\ | | | | | | | | | | | | | | Resolved Conflicts: com32/hdt/Makefile com32/sysdump/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | gfxboot: pass current working dir to gfxboot coreSteffen Winterfeldt2011-04-251-0/+13
| | | | | | | | | | | | | | | | | | | | Pass current working dir to (and back from) gfxboot core via gfx_config struct. This way I can implement a chdir() in the gfxboot core without the need for additional 16-bit comboot calls. gfxboot may change the directory, so you have to read and apply the current setting in boot() (to read kernel etc. from right location). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | gfxboot: handle INITRD config lineSteffen Winterfeldt2011-04-241-1/+5
|/ | | | | | Handle case where there is no initrd= option but a separate initrd config line. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: remove save_read() functionSebastian Herbszt2011-03-301-24/+2
| | | | | | Remove the no longer needed save_read() function. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: remove lowmem_buf_size variableSebastian Herbszt2011-03-301-5/+2
| | | | | | Remove the no longer needed lowmem_buf_size variable. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: don't use the bounce bufferSebastian Herbszt2011-03-301-5/+11
| | | | | | Allocate lowmem buffer instead of using the bounce buffer. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: use skipspace()Sebastian Herbszt2011-03-301-17/+8
| | | | | | Use skipspace() instead of local skip_spaces(). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* 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>
* 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>
* 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>
* 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>
* gfxboot: set media typeSebastian Herbszt2010-06-131-0/+6
| | | | | | Set media type according to the drive number and cd mode. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: use syslinux_derivative_info()Sebastian Herbszt2010-05-301-10/+6
| | | | | | Use syslinux_derivative_info() instead of open coding it. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: fix menu label handlingSteffen Winterfeldt2010-04-241-20/+28
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: better error handlingSteffen Winterfeldt2010-04-241-23/+95
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: fix localbootSteffen Winterfeldt2010-04-241-1/+1
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: turn off graphics before starting kernelSteffen Winterfeldt2010-04-241-0/+2
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: handle IPAPPENDSteffen Winterfeldt2010-04-241-0/+12
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: make config statements case-insensitiveSteffen Winterfeldt2010-04-241-11/+11
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* gfxboot: support MENU LABEL statementSteffen Winterfeldt2010-04-241-10/+39
| | | | | Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* Change () prototypes to (void)H. Peter Anvin2010-01-061-4/+4
| | | | | | | | () means the same as (...) in C, not the same as (void) as it does in C++. It is generally misused to mean (void), though. Actually write what we mean... this is C, after all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge commit 'sherbszt/gfxboot32'syslinux-3.85-pre1H. Peter Anvin2009-12-283-5/+12
|\
| * gfxboot: fix loading of LABELs with non KERNEL or LINUX commandsSebastian Herbszt2009-12-081-1/+6
| | | | | | | | | | | | Call syslinux_run_command() if menu_ptr->kernel or menu_ptr->linux are not set. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: accept plain boot logo filesSebastian Herbszt2009-12-081-1/+3
| | | | | | | | | | | | Don't force the boot logo file to be a cpio archive. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: fix typo in cb_getcwd - wrong function numberSebastian Herbszt2009-12-051-1/+1
| | | | | | | | | | | | Use function number 1fh in cb_getcwd. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
| * gfxboot: use $(NASM) and $(OBJCOPY)Sebastian Herbszt2009-12-051-2/+2
| | | | | | | | | | | | Use $(NASM) and $(OBJCOPY) in Makefile. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
* | gfxboot: add .gitignore fileH. Peter Anvin2009-12-281-0/+1
|/ | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* gfxboot.c32syslinux-3.84-pre5Steffen Winterfeldt2009-11-263-0/+1040
Ok, here is the first try to turn the gfxboot wrapper into a com32 module. I had to extend the interface to the gfxboot core a bit to get it working. So it works only with latest gfxboot from git://gitorious.org/gfxboot/gfxboot.git Steffen Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>