summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/linux.h
Commit message (Collapse)AuthorAgeFilesLines
* efi: implement Linux kernel handover protocol supportMatt Fleming2013-07-081-1/+8
| | | | | | | | | | | | The handover protocol is the preferred method of booting kernels on EFI because it allows workarounds for various firmware bugs to be contained in one place and applied irrespective of the chosen bootloader. Use it if available, but ensure that we fallback to the legacy boot method. Also, update the linux_header structure with recent changes made in the kernel source. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* Merge remote-tracking branch 'mfleming/elflink' into for-hpa/elflink/firmwareMatt Fleming2012-07-301-1/+28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile com32/elflink/ldlinux/adv.c com32/elflink/ldlinux/kernel.c com32/elflink/ldlinux/ldlinux.c com32/include/bitsize/stddef.h com32/include/bitsize/stdint.h com32/include/stdint.h com32/include/sys/module.h com32/include/sys/x86_64/bitops.h com32/include/syslinux/linux.h com32/lib/Makefile com32/lib/sys/ansicon_write.c com32/lib/sys/module/elfutils.h com32/lib/sys/vesa/efi/fill.h com32/lib/syslinux/load_linux.c com32/lib/syslinux/serial.c com32/lib/syslinux/shuffle.c core/conio.c core/elflink/config.c core/elflink/load_env32.c core/graphics.c core/include/graphics.h core/init.c core/pxelinux.asm mk/elf.mk mk/lib.mk
| * <syslinux/linux.h>: add missing setup_data_init() definitionH. Peter Anvin2012-06-291-0/+2
| | | | | | | | | | | | Missing prototype. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * Change fdt-specific loader into a generic setup_data loaderH. Peter Anvin2012-06-291-12/+14
| | | | | | | | | | | | | | Make it a generic setup_data loader keyed by type. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Thierry Reding <thierry.reding@avionic-design.de>
| * com32: Add device tree supportThierry Reding2012-06-291-1/+24
| | | | | | | | | | | | | | | | 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>
* | firmware: Add EFI linux boot supportMatt Fleming2012-02-021-0/+39
| | | | | | | | | | | | | | | | | | Add .boot_linux to 'struct firmware', we do quite a lot of things differently for BIOS and EFI. For EFI we don't need the movelist code because we have little control over the memory map, and so can't guarantee we can place code/data at specific addresses. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | com32: Move initramfs_size() into header fileMatt Fleming2012-02-021-0/+17
| | | | | | | | | | | | | | Both the EFI and BIOS firmwares need to calculate the size of initramfs, so move this helper function into a common header file. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | linux: Move linux_header definition to headerMatt Fleming2012-02-021-0/+43
|/ | | | | | | | We're gonna need to include the 'struct linux_header' definition in both the BIOS .boot_linux implementation the EFI one so move the definition into a central header file. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* Run Nindent on com32/include/syslinux/linux.hH. Peter Anvin2009-05-291-7/+6
| | | | | | | | | Automatically reformat com32/include/syslinux/linux.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>
* linux.c32: move handling of mem= and vga= into the library functionsyslinux-3.80-pre5H. Peter Anvin2009-04-291-4/+1
| | | | | | | Move the handling of mem= and vga= into syslinux_boot_linux(), so that the user of that function doesn't need to worry about it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Update copyright yearH. Peter Anvin2008-01-101-1/+1
|
* initramfs chain handling: add support for forcing the alignment.H. Peter Anvin2007-03-151-1/+3
| | | | | | cpio has annoying alignment constraints; make it possible to enforce them without adding padding to the end of last member (which breaks things which relies on gzip and need to know the final length.)
* Library functions for manipulating initramfsH. Peter Anvin2007-03-151-1/+18
| | | | | | Library support for constructing initramfs. This version is *not* complete, as it doesn't take into account alignment requirements properly.
* Initial library support for booting a Linux kernelH. Peter Anvin2007-03-151-0/+58