summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-01-26stub: do not assumr secure boot on systems without support for itKay Sievers1-3/+3
2015-01-25stub: accept custom kernel command line if not running in secure boot modeKay Sievers3-12/+48
2015-01-25stub: execute EFI image with an embedded kernel, initrd, cmdline sectionsKay Sievers7-14/+235
Locate the following embedded PE sections .linux - bzImage .inird - initrd cpio archive .cmdline - kernel command line and hand over control to the bzImage.
2015-01-23find Linux kernels with an embedded os-release fileKay Sievers6-37/+341
Look for EFI executables at /EFI/Linux/*.efi, and add them to the menu if the PE file contains an .osrel section which carries an os-release file with the expected information.
2015-01-08force screen clear when entering the menuKay Sievers1-0/+9
2014-12-25gummiboot: freeing the wrong variableDavid Härdeman1-1/+1
The error path in efivar_get free's what would have been the copy of the string if the strcpy had succeeded, which it did not (or we wouldn't be in the error path). Signed-off-by: David Härdeman <david@hardeman.nu>
2014-04-26compare 'architecture' value as ASCII stringKay Sievers1-11/+2
2014-04-26Add new config file keyword 'architecture' to specify the architecture of ↵Keshav Amburay1-2/+21
the EFI image
2014-01-31always set a background before drawing the splashKay Sievers2-11/+23
Several firmware implementations do no clear the screen and we just draw over the existing screen content.
2014-01-15'P' clear screen after splashKay Sievers1-0/+1
2014-01-15graphics: Do not require nonstandard console control protocolJoonas Lahtinen1-2/+4
Console Control Protocol is a nonstandard UEFI interface and lack of it shall not be treated as an error. Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2013-12-24graphics: splash - correct rounding in alpha blendingTerje Gundersen1-2/+2
"(X >> 8)" always rounds down, but "(X + 0x80) >> 8)" rounds to the nearest integer.
2013-12-22cosmetics for 'P' splash loopKay Sievers1-18/+18
2013-12-22disable cursor when switching text/graphics modeKay Sievers2-11/+14
2013-12-21support "background" color settingKay Sievers1-5/+41
2013-12-21remove +1 from alpha calculationKay Sievers1-2/+1
2013-12-21'P' support cycling to backgroud colors for debuggingKay Sievers4-14/+49
2013-12-21graphics - support alpha channelTom Gundersen1-4/+35
First get the contents of the screen we want to blit to, then blend with our picture before blitting back.
2013-12-20'P' disable cursor when coming back from graphics modeKay Sievers1-3/+4
2013-12-19graphics: factor out BMP header parsingTom Gundersen1-27/+36
2013-12-18graphics: support smaller than 2^n colormapsTom Gundersen1-10/+14
2013-12-17graphics: simplify 16bpp calculationTom Gundersen1-3/+5
2013-12-17graphics: add support for XRGB{16,32}Tom Gundersen1-2/+26
We now support all the formats GIMP can produce except for RGB16, though any alpha-channels are silently ignored.
2013-12-17graphics: accept newer BMP header versionsTom Gundersen1-6/+8
Also accept (but ignore) ICC profiles at the end of the BMP file.
2013-12-17show unconfigured default and entry-specific splash on 'P'Kay Sievers1-8/+18
2013-12-16show default splash on 'P'Tom Gundersen1-4/+14
2013-12-16fix padding for BMP linesKay Sievers1-2/+2
2013-12-16do not show splash for automatically added entriesKay Sievers1-3/+14
2013-12-16fall back to default splash imageKay Sievers1-4/+15
2013-12-15add splash supportKay Sievers5-7/+251
2013-12-15split out console.[ch]Kay Sievers4-144/+188
2013-12-15split out util.[ch]Kay Sievers3-292/+356
2013-12-15move graphics to its own fileKay Sievers3-72/+111
2013-12-15make console_text_mode into more generic functionJoonas Lahtinen1-3/+29
Convert console_text_mode function into console_mode function which is able to switch back and forth between graphics and text mode. Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Darren Hart <dvhart@linux.intel.com> Reviewed-by: Mikko Ylinen <mikko.ylinen@intel.com>
2013-12-15make file_read callable outside compilation unitJoonas Lahtinen1-1/+1
Make file_read usable from other compilation units allowing reuse of code when splitting functionality to multiple files. Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Darren Hart <dvhart@linux.intel.com> Reviewed-by: Mikko Ylinen <mikko.ylinen@intel.com>
2013-12-11add source format modelineJoonas Lahtinen1-0/+2
For easier editing, add source format modeline similar to other files. Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Mikko Ylinen <mikko.ylinen@intel.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
2013-10-18handle CTRL-w in line editorKay Sievers1-0/+2
2013-10-04add only the first OS X system we findKay Sievers1-4/+9
2013-09-22try harder to work around firmware with broken SIMPLE_TEXT_INPUT_EX_PROTOCOLKay Sievers1-48/+36
2013-09-22count TSC ticks instead of relying on CPUIDKay Sievers1-83/+14
The clock frequency stated for newer CPUs does not match the TSC frequency; count the ticks during one millisecond instead.
2013-08-25fall back to SimpleTextInputProtocol if we do not actually get a keyKay Sievers1-1/+9
2013-08-22use EFI/Boot/bootx64.efi instead of EFI/BOOT/BOOTX64.EFIKay Sievers2-7/+7
2013-08-22fall back to SimpleTextInputProtocol if we receive errorsKay Sievers1-7/+17
2013-08-22Autodetect both x64 and ia32 boot*.efi payloadsDarren Hart1-2/+2
The EFI specification documents /EFI/BOOT/bootx64.efi for x86_64 machines and /EFI/BOOT/bootia32.efi for ia32 machines. Update the auto detection to allow for both. Add the MACHINE_TYPE_NAME define to the efi/src build so we can use it as the standard suffix for the EFI payloads (ia32 or x64). Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2013-08-21gummiboot: Add 32 bit compatible rdtsc asmDarren Hart1-3/+7
Gcc's inline asm constraints have different meanings on x86_64 and ia32. Include a 32 bit version for the rdtsc function. Drop the empty 32 bit version of time_usec as it and the cpuid function both function properly when compiled for 32 bit systems. Tested on the following CPU: Intel(R) Atom(TM) CPU E640 @ 1.00GHz A value of 1000000000 was detected. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: "Ylinen, Mikko" <mikko.ylinen@intel.com>
2013-08-21fall back to SimpleTextInputProtocol if we can't read a keyKay Sievers1-1/+7
2013-08-21support M-BS, M-d, and fix word jumpingKay Sievers1-11/+44
2013-08-21support M-<, M->Kay Sievers1-0/+7
2013-08-19cleanup EFI_ERROR() useKay Sievers1-11/+11
2013-08-19move all key press handling into key_read()Kay Sievers1-22/+28
Avoid mixing the API calls of: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL EFI_SIMPLE_TEXT_INPUT_PROTOCOL Always wait for the key and read the key with the same API.