platform/upstream/gummiboot.git
9 years agopackaging: Bump to 48 sandbox/pcoval/devel
Philippe Coval [Tue, 24 Feb 2015 09:21:18 +0000 (10:21 +0100)]
packaging: Bump to 48

Change-Id: I1dd4b978746fd233e05b9565a3f553cb225c6ac1
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoInstall default splash image in a sub-package
Mikko Ylinen [Fri, 31 Jan 2014 07:01:19 +0000 (09:01 +0200)]
Install default splash image in a sub-package

Change-Id: I3d261c4778552d098043938ff585f0c2c064014d
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoRebase to upstream version 43 (important splash fixes)
Mikko Ylinen [Fri, 31 Jan 2014 06:46:10 +0000 (08:46 +0200)]
Rebase to upstream version 43 (important splash fixes)

Change-Id: I58e2e69258fd1bedfcf8ccea02e45a9417eb58d9
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoRebase to upstream version 42 (splash support)
Mikko Ylinen [Fri, 17 Jan 2014 12:47:31 +0000 (14:47 +0200)]
Rebase to upstream version 42 (splash support)

Change-Id: I5f430e4c856ab04e9e0b533cd1566d87fa85312d
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoUpdate .changes for a new release
Mikko Ylinen [Wed, 28 Aug 2013 05:38:24 +0000 (08:38 +0300)]
Update .changes for a new release

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoFix build for x86_64
Mikko Ylinen [Tue, 27 Aug 2013 16:03:19 +0000 (19:03 +0300)]
Fix build for x86_64

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoNew upstream release (version 36)
Mikko Ylinen [Tue, 27 Aug 2013 06:26:20 +0000 (09:26 +0300)]
New upstream release (version 36)

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoFix RPM Group tag
Mikko Ylinen [Tue, 27 Aug 2013 06:14:53 +0000 (09:14 +0300)]
Fix RPM Group tag

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoSet EFI LDS dir to Tizen path
Mikko Ylinen [Tue, 27 Aug 2013 06:12:57 +0000 (09:12 +0300)]
Set EFI LDS dir to Tizen path

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoAdd gbs.conf
Mikko Ylinen [Mon, 26 Aug 2013 10:12:14 +0000 (13:12 +0300)]
Add gbs.conf

9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 16:40:02 +0000 (19:40 +0300)]
resetting manifest requested domain to floor

9 years agomake it exclusive to %ix86
Anas Nashif [Mon, 27 May 2013 20:24:57 +0000 (16:24 -0400)]
make it exclusive to %ix86

9 years agoadd 32bit gummiboot file path
William Douglas [Wed, 10 Apr 2013 09:09:25 +0000 (02:09 -0700)]
add 32bit gummiboot file path

Change-Id: I05d818902c3b559b539d6316c07c1e141888f5b6
Signed-off-by: William Douglas <william.douglas@intel.com>
9 years agoAdd packaging files
William Douglas [Fri, 5 Apr 2013 20:56:57 +0000 (13:56 -0700)]
Add packaging files

Also set efiroot to reflect Tizen settings.

Signed-off-by: William Douglas <william.douglas@intel.com>
Conflicts:
configure.ac

Remove efiroot change due to conflict

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoversion 48
Kay Sievers [Fri, 30 Jan 2015 18:59:36 +0000 (19:59 +0100)]
version 48

9 years agofix 32 bit build
Kay Sievers [Fri, 30 Jan 2015 18:59:09 +0000 (19:59 +0100)]
fix 32 bit build

9 years agoversion 47
Kay Sievers [Fri, 30 Jan 2015 16:35:13 +0000 (17:35 +0100)]
version 47

9 years agobuild-sys: fix typo
Kay Sievers [Fri, 30 Jan 2015 16:34:53 +0000 (17:34 +0100)]
build-sys: fix typo

9 years agoversion 46
Kay Sievers [Fri, 30 Jan 2015 16:21:41 +0000 (17:21 +0100)]
version 46

9 years agostub: rename empty binary to linuxx64.efi.stub
Kay Sievers [Fri, 30 Jan 2015 16:17:37 +0000 (17:17 +0100)]
stub: rename empty binary to linuxx64.efi.stub

9 years agostub: do not assumr secure boot on systems without support for it
Kay Sievers [Mon, 26 Jan 2015 00:51:59 +0000 (01:51 +0100)]
stub: do not assumr secure boot on systems without support for it

9 years agostub: accept custom kernel command line if not running in secure boot mode
Kay Sievers [Sun, 25 Jan 2015 16:11:08 +0000 (17:11 +0100)]
stub: accept custom kernel command line if not running in secure boot mode

9 years agostub: execute EFI image with an embedded kernel, initrd, cmdline sections
Kay Sievers [Sat, 24 Jan 2015 20:09:41 +0000 (21:09 +0100)]
stub: execute EFI image with an embedded kernel, initrd, cmdline sections

Locate the following embedded PE sections
  .linux - bzImage
  .inird - initrd cpio archive
  .cmdline - kernel command line
and hand over control to the bzImage.

9 years agofind Linux kernels with an embedded os-release file
Kay Sievers [Wed, 21 Jan 2015 23:03:42 +0000 (00:03 +0100)]
find Linux kernels with an embedded os-release file

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.

9 years agoforce screen clear when entering the menu
Kay Sievers [Thu, 8 Jan 2015 18:23:19 +0000 (19:23 +0100)]
force screen clear when entering the menu

9 years agogummiboot: freeing the wrong variable
David Härdeman [Mon, 22 Dec 2014 20:44:31 +0000 (21:44 +0100)]
gummiboot: freeing the wrong variable

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>
9 years agobuild-sys: build gummiboot executable only if HAVE_BLKID
Kang Hu [Wed, 14 May 2014 09:10:55 +0000 (17:10 +0800)]
build-sys: build gummiboot executable only if HAVE_BLKID

src/setup/setup.c depends on blkid library. so build gummiboot
binary only if blkid library is available.

9 years agoversion 45
Kay Sievers [Tue, 13 May 2014 22:55:03 +0000 (00:55 +0200)]
version 45

10 years agocompare 'architecture' value as ASCII string
Kay Sievers [Sat, 26 Apr 2014 18:34:14 +0000 (20:34 +0200)]
compare 'architecture' value as ASCII string

10 years agoAdd new config file keyword 'architecture' to specify the architecture of the EFI...
Keshav Amburay [Wed, 23 Apr 2014 01:46:18 +0000 (21:46 -0400)]
Add new config file keyword 'architecture' to specify the architecture of the EFI image

10 years agoversion 44
Kay Sievers [Sat, 29 Mar 2014 19:51:52 +0000 (20:51 +0100)]
version 44

10 years agogummiboot: build-sys: don't copy .eh_frame into final exe
Florian Albrechtskirchinger [Sat, 29 Mar 2014 18:22:12 +0000 (19:22 +0100)]
gummiboot: build-sys: don't copy .eh_frame into final exe

Apparently some firmware implementations[1] won't run executables
containing an .eh_frame section, failing instead with "Error reported:
Unsupported" on the shell. There's also no obvious need for it, so
don't copy it.

[1] e.g., the one used on the ASRock C2750D4I

10 years agoalways set a background before drawing the splash
Kay Sievers [Fri, 31 Jan 2014 12:04:30 +0000 (13:04 +0100)]
always set a background before drawing the splash

Several firmware implementations do no clear the screen and we just
draw over the existing screen content.

10 years agoversion 43 upstream 43
Kay Sievers [Fri, 24 Jan 2014 20:35:28 +0000 (21:35 +0100)]
version 43

10 years ago'P' clear screen after splash
Kay Sievers [Wed, 15 Jan 2014 19:39:52 +0000 (20:39 +0100)]
'P' clear screen after splash

10 years agographics: Do not require nonstandard console control protocol
Joonas Lahtinen [Wed, 15 Jan 2014 11:08:04 +0000 (11:08 +0000)]
graphics: Do not require nonstandard console control protocol

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>
10 years agoTypo in gummiboot man page
Chris [Thu, 2 Jan 2014 02:49:31 +0000 (03:49 +0100)]
Typo in gummiboot man page

10 years agographics: splash - correct rounding in alpha blending
Terje Gundersen [Tue, 24 Dec 2013 09:51:57 +0000 (10:51 +0100)]
graphics: splash - correct rounding in alpha blending

"(X >> 8)" always rounds down, but "(X + 0x80) >> 8)" rounds to
the nearest integer.

10 years agocosmetics for 'P' splash loop
Kay Sievers [Sun, 22 Dec 2013 20:48:45 +0000 (21:48 +0100)]
cosmetics for 'P' splash loop

10 years agodisable cursor when switching text/graphics mode
Kay Sievers [Sun, 22 Dec 2013 20:28:08 +0000 (21:28 +0100)]
disable cursor when switching text/graphics mode

10 years agoversion 42 42
Kay Sievers [Sat, 21 Dec 2013 18:22:53 +0000 (19:22 +0100)]
version 42

10 years agobuild-sys: add headers as dependency
Kay Sievers [Sat, 21 Dec 2013 18:20:52 +0000 (19:20 +0100)]
build-sys: add headers as dependency

10 years agobuild-sys: fix dist(check)
Kay Sievers [Sat, 21 Dec 2013 17:14:41 +0000 (18:14 +0100)]
build-sys: fix dist(check)

10 years agoversion 41 41
Tom Gundersen [Sat, 21 Dec 2013 15:50:49 +0000 (16:50 +0100)]
version 41

10 years agosupport "background" color setting
Kay Sievers [Sat, 21 Dec 2013 04:13:30 +0000 (05:13 +0100)]
support "background" color setting

10 years agoremove +1 from alpha calculation
Kay Sievers [Sat, 21 Dec 2013 00:37:04 +0000 (01:37 +0100)]
remove +1 from alpha calculation

10 years ago'P' support cycling to backgroud colors for debugging
Kay Sievers [Fri, 20 Dec 2013 23:56:07 +0000 (00:56 +0100)]
'P' support cycling to backgroud colors for debugging

10 years agographics - support alpha channel
Tom Gundersen [Thu, 19 Dec 2013 09:52:20 +0000 (10:52 +0100)]
graphics - support alpha channel

First get the contents of the screen we want to blit to, then blend with our picture
before blitting back.

10 years ago'P' disable cursor when coming back from graphics mode
Kay Sievers [Thu, 19 Dec 2013 02:24:06 +0000 (03:24 +0100)]
'P' disable cursor when coming back from graphics mode

10 years agoupdate test splash picture to carry an aplha channel
Kay Sievers [Fri, 20 Dec 2013 18:17:37 +0000 (19:17 +0100)]
update test splash picture to carry an aplha channel

10 years agoadd original gummiboot.svg from Sirko Kemter
Kay Sievers [Fri, 20 Dec 2013 17:55:35 +0000 (18:55 +0100)]
add original gummiboot.svg from Sirko Kemter

10 years agographics: factor out BMP header parsing
Tom Gundersen [Thu, 19 Dec 2013 08:19:50 +0000 (09:19 +0100)]
graphics: factor out BMP header parsing

10 years agographics: support smaller than 2^n colormaps
Tom Gundersen [Wed, 18 Dec 2013 13:54:30 +0000 (14:54 +0100)]
graphics: support smaller than 2^n colormaps

10 years agographics: simplify 16bpp calculation
Tom Gundersen [Tue, 17 Dec 2013 15:09:54 +0000 (16:09 +0100)]
graphics: simplify 16bpp calculation

10 years agographics: add support for XRGB{16,32}
Tom Gundersen [Tue, 17 Dec 2013 11:59:31 +0000 (12:59 +0100)]
graphics: add support for XRGB{16,32}

We now support all the formats GIMP can produce except for RGB16,
though any alpha-channels are silently ignored.

10 years agographics: accept newer BMP header versions
Tom Gundersen [Tue, 17 Dec 2013 11:26:54 +0000 (12:26 +0100)]
graphics: accept newer BMP header versions

Also accept (but ignore) ICC profiles at the end of the BMP file.

10 years agotest: fix splash location
Kay Sievers [Tue, 17 Dec 2013 00:05:03 +0000 (01:05 +0100)]
test: fix splash location

10 years agoshow unconfigured default and entry-specific splash on 'P'
Kay Sievers [Mon, 16 Dec 2013 23:57:15 +0000 (00:57 +0100)]
show unconfigured default and entry-specific splash on 'P'

10 years agoshow default splash on 'P'
Tom Gundersen [Mon, 16 Dec 2013 21:04:22 +0000 (22:04 +0100)]
show default splash on 'P'

10 years agotest: include a fallback bootsplash in the test image
Tom Gundersen [Mon, 16 Dec 2013 18:03:45 +0000 (19:03 +0100)]
test: include a fallback bootsplash in the test image

10 years agobuild-sys: don't use qemu-kvm
Tom Gundersen [Mon, 16 Dec 2013 17:49:24 +0000 (18:49 +0100)]
build-sys: don't use qemu-kvm

qemu-kvm is a wrapper around the real binary, use that directly.

10 years agofix padding for BMP lines
Kay Sievers [Mon, 16 Dec 2013 14:02:41 +0000 (15:02 +0100)]
fix padding for BMP lines

10 years agodo not show splash for automatically added entries
Kay Sievers [Mon, 16 Dec 2013 00:52:58 +0000 (01:52 +0100)]
do not show splash for automatically added entries

10 years agoversion 40 40
Kay Sievers [Sun, 15 Dec 2013 23:56:39 +0000 (00:56 +0100)]
version 40

10 years agofall back to default splash image
Kay Sievers [Mon, 16 Dec 2013 00:01:06 +0000 (01:01 +0100)]
fall back to default splash image

10 years agoadd splash support
Kay Sievers [Sun, 15 Dec 2013 18:15:30 +0000 (19:15 +0100)]
add splash support

10 years agosplit out console.[ch]
Kay Sievers [Sun, 15 Dec 2013 17:47:37 +0000 (18:47 +0100)]
split out console.[ch]

10 years agosplit out util.[ch]
Kay Sievers [Sun, 15 Dec 2013 17:37:05 +0000 (18:37 +0100)]
split out util.[ch]

10 years agomove graphics to its own file
Kay Sievers [Sun, 15 Dec 2013 17:14:06 +0000 (18:14 +0100)]
move graphics to its own file

10 years agomake console_text_mode into more generic function
Joonas Lahtinen [Tue, 10 Dec 2013 09:23:29 +0000 (09:23 +0000)]
make console_text_mode into more generic function

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>
10 years agomake file_read callable outside compilation unit
Joonas Lahtinen [Tue, 10 Dec 2013 09:23:16 +0000 (09:23 +0000)]
make file_read callable outside compilation unit

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>
10 years agoMakefile.am: be consistent defining sources
Joonas Lahtinen [Tue, 10 Dec 2013 09:22:56 +0000 (09:22 +0000)]
Makefile.am: be consistent defining sources

Be consistent with other source file definitions.

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>
10 years agoadd source format modeline
Joonas Lahtinen [Tue, 10 Dec 2013 09:22:45 +0000 (09:22 +0000)]
add source format modeline

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>
10 years agoversion 39 39
Kay Sievers [Wed, 27 Nov 2013 22:56:29 +0000 (23:56 +0100)]
version 39

10 years agohandle CTRL-w in line editor
Kay Sievers [Fri, 18 Oct 2013 00:32:41 +0000 (02:32 +0200)]
handle CTRL-w in line editor

10 years agoadd only the first OS X system we find
Kay Sievers [Fri, 4 Oct 2013 02:45:45 +0000 (04:45 +0200)]
add only the first OS X system we find

10 years agoversion 38 38
Tom Gundersen [Sun, 22 Sep 2013 23:59:20 +0000 (01:59 +0200)]
version 38

10 years agotry harder to work around firmware with broken SIMPLE_TEXT_INPUT_EX_PROTOCOL
Kay Sievers [Sun, 22 Sep 2013 20:28:49 +0000 (15:28 -0500)]
try harder to work around firmware with broken SIMPLE_TEXT_INPUT_EX_PROTOCOL

10 years agocount TSC ticks instead of relying on CPUID
Kay Sievers [Sun, 22 Sep 2013 15:22:29 +0000 (10:22 -0500)]
count TSC ticks instead of relying on CPUID

The clock frequency stated for newer CPUs does not match the
TSC frequency; count the ticks during one millisecond
instead.

10 years agoversion 37 37
Harald Hoyer [Mon, 9 Sep 2013 11:32:41 +0000 (13:32 +0200)]
version 37

10 years agotest-create-disk.sh: format the partition, not the disk
Kay Sievers [Mon, 26 Aug 2013 23:00:00 +0000 (01:00 +0200)]
test-create-disk.sh: format the partition, not the disk

10 years agoconfigure.ac: break 2 on lds directory search
Harald Hoyer [Mon, 9 Sep 2013 11:10:19 +0000 (13:10 +0200)]
configure.ac: break 2 on lds directory search

To get out of the for loops, to search for the lds directories, break 2

10 years agoconfigure.ac: search for efi-ldsdir in multiple places
Harald Hoyer [Thu, 29 Aug 2013 10:39:55 +0000 (12:39 +0200)]
configure.ac: search for efi-ldsdir in multiple places

10 years agofall back to SimpleTextInputProtocol if we do not actually get a key
Kay Sievers [Sun, 25 Aug 2013 12:33:28 +0000 (14:33 +0200)]
fall back to SimpleTextInputProtocol if we do not actually get a key

10 years agoversion 36 36
Kay Sievers [Thu, 22 Aug 2013 21:06:10 +0000 (23:06 +0200)]
version 36

10 years agobuild-sys: move EFI_LIB_DIR, EFI_INC_DIR, EFI_LDS_DIR to AC_ARG_WITH()
Kay Sievers [Thu, 22 Aug 2013 10:22:29 +0000 (12:22 +0200)]
build-sys: move EFI_LIB_DIR, EFI_INC_DIR, EFI_LDS_DIR to AC_ARG_WITH()

10 years agorename test-disk to test-disk.img
Kay Sievers [Thu, 22 Aug 2013 02:01:45 +0000 (04:01 +0200)]
rename test-disk to test-disk.img

10 years agouse EFI/Boot/bootx64.efi instead of EFI/BOOT/BOOTX64.EFI
Kay Sievers [Wed, 21 Aug 2013 23:26:18 +0000 (01:26 +0200)]
use EFI/Boot/bootx64.efi instead of EFI/BOOT/BOOTX64.EFI

10 years agofall back to SimpleTextInputProtocol if we receive errors
Kay Sievers [Wed, 21 Aug 2013 23:07:42 +0000 (01:07 +0200)]
fall back to SimpleTextInputProtocol if we receive errors

10 years agoAutodetect both x64 and ia32 boot*.efi payloads
Darren Hart [Wed, 21 Aug 2013 22:38:07 +0000 (15:38 -0700)]
Autodetect both x64 and ia32 boot*.efi payloads

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>
10 years agoqemu: skip AC_CHECK_FILE when cross-compiling
Kay Sievers [Wed, 21 Aug 2013 22:38:49 +0000 (00:38 +0200)]
qemu: skip AC_CHECK_FILE when cross-compiling

10 years agoadd EFI_INCDIR, EFI_CPPFLAGS, EFI_CFLAGS, EFI_LDFLAGS; move defines to CPP
Kay Sievers [Wed, 21 Aug 2013 22:14:39 +0000 (00:14 +0200)]
add EFI_INCDIR, EFI_CPPFLAGS, EFI_CFLAGS, EFI_LDFLAGS; move defines to CPP

10 years agoconfigure.ac: Use AC_CHECK_HEADER to detect the efi includes
Darren Hart [Wed, 21 Aug 2013 19:21:18 +0000 (21:21 +0200)]
configure.ac: Use AC_CHECK_HEADER to detect the efi includes

While cross-compiling, AC_CHECK_FILE will abort the configure.

The gnu-efi sources don't use relative paths and require the user to
explicitly include -I/usr/include/efi/${ARCH}. I haven't found a way to
do this with AC_CHECK_HEADER. However, since the existing test was not
testing for usability (conftest.c compilation), we don't lose much by
just not looking for efi.h and assume it exists if we can find and use
efibind.h.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
10 years agoconfigure.ac: Allow for more than just i686 for ia32
Darren Hart [Wed, 21 Aug 2013 18:13:42 +0000 (11:13 -0700)]
configure.ac: Allow for more than just i686 for ia32

Expand the ARCH_I686 to include i*86* (specifically to catch i586).
Rename ARCH_I686 to ARCH_IA32 as that is more accurately what we are
testing for.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
10 years agogummiboot: Add 32 bit compatible rdtsc asm
Darren Hart [Wed, 21 Aug 2013 16:31:03 +0000 (09:31 -0700)]
gummiboot: Add 32 bit compatible rdtsc asm

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>
10 years agofall back to SimpleTextInputProtocol if we can't read a key
Kay Sievers [Wed, 21 Aug 2013 13:17:22 +0000 (15:17 +0200)]
fall back to SimpleTextInputProtocol if we can't read a key

10 years agosupport M-BS, M-d, and fix word jumping
Kay Sievers [Tue, 20 Aug 2013 22:33:05 +0000 (00:33 +0200)]
support M-BS, M-d, and fix word jumping

10 years agosupport M-<, M->
Kay Sievers [Tue, 20 Aug 2013 22:07:02 +0000 (00:07 +0200)]
support M-<, M->

10 years agocleanup EFI_ERROR() use
Kay Sievers [Mon, 19 Aug 2013 21:05:12 +0000 (23:05 +0200)]
cleanup EFI_ERROR() use

10 years agomove all key press handling into key_read()
Kay Sievers [Mon, 19 Aug 2013 20:51:07 +0000 (22:51 +0200)]
move all key press handling into key_read()

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.