freebsd-dev/sys/boot/efi
Toomas Soome d124e3965a loader.efi environment related cleanups
Since we have dedicated libefi/env.c file for variable support, the following
changes are done:

Simple cstyle changes in env.c
Moved efi variable related commands from loader/main.c to libefi/env.c
Did create function to set "efi-version" environment variable in env.c.

This function does serve two purposes: for first a  small clean up of the
loader main(), and for second, it does replace the otherwise unused
efi_variable_support hack.
A bit of cleanup of ficl backend functions. The TEST_MAIN has no meaning,
and removed few memory leaks.

The forth code is updated to use "efi-version" variable, instead of ficl
environment check.

Reviewed by:	imp
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D9165
2017-02-01 08:46:59 +00:00
..
boot1 Use proper prototypes in struct boot_module_t 2017-01-11 20:00:24 +00:00
fdt Add more .NOMETA missed in r291320 2016-03-11 23:45:51 +00:00
include loader.efi environment related cleanups 2017-02-01 08:46:59 +00:00
libefi loader.efi environment related cleanups 2017-02-01 08:46:59 +00:00
loader loader.efi environment related cleanups 2017-02-01 08:46:59 +00:00
Makefile Fix typo in the COMPILER_VERSION check 2016-10-22 20:00:39 +00:00
Makefile.inc [efi] Build EFI bits with -fPIC on ARM 2017-01-10 20:15:24 +00:00