freebsd-dev/sys/boot/forth
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
..
beastie.4th Enable the beastie menu for the UEFI console 2016-01-06 15:50:21 +00:00
beastie.4th.8 Enable the beastie menu for the UEFI console 2016-01-06 15:50:21 +00:00
brand-fbsd.4th Eliminate literal escape sequences from *.4th 2015-04-02 01:48:12 +00:00
brand.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
brand.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
check-password.4th Add "GELI Passphrase:" prompt to boot loader. 2015-04-16 20:53:15 +00:00
check-password.4th.8 Add "GELI Passphrase:" prompt to boot loader. 2015-04-16 20:53:15 +00:00
color.4th
color.4th.8
delay.4th boot/forth: spelling fixes. 2016-04-30 02:47:41 +00:00
delay.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
efi.4th Preliminary support for EFI in boot loader. Define efi-boot forth 2016-10-24 20:36:54 +00:00
frames.4th Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
loader.4th loader.efi environment related cleanups 2017-02-01 08:46:59 +00:00
loader.4th.8
loader.conf Add a dumpdev example to /boot/defaults/loader.conf 2016-12-22 15:48:54 +00:00
loader.conf.5 Document vfs.root.mountfrom. 2016-04-08 00:24:21 +00:00
loader.rc Remove guards around overwriting loader.rc and menu.rc 2015-08-06 16:07:27 +00:00
logo-beastie.4th Re-do proper mode-endings. Antithesis of r281176-281179 which reverted 2015-04-08 20:10:42 +00:00
logo-beastiebw.4th Eliminate literal escape sequences from *.4th 2015-04-02 01:48:12 +00:00
logo-fbsdbw.4th Eliminate literal escape sequences from *.4th 2015-04-02 01:48:12 +00:00
logo-orb.4th Re-do proper mode-endings. Antithesis of r281176-281179 which reverted 2015-04-08 20:10:42 +00:00
logo-orbbw.4th Eliminate literal escape sequences from *.4th 2015-04-02 01:48:12 +00:00
Makefile Install version.4th.8 again 2015-06-21 06:56:29 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
Makefile.inc Preliminary support for EFI in boot loader. Define efi-boot forth 2016-10-24 20:36:54 +00:00
menu-commands.4th Introduce the ZFS Boot Environments menu to the loader menu 2015-12-31 20:00:53 +00:00
menu.4th boot/forth: spelling fixes. 2016-04-30 02:47:41 +00:00
menu.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
menu.rc Introduce the ZFS Boot Environments menu to the loader menu 2015-12-31 20:00:53 +00:00
menusets.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
menusets.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
pcibios.4th Comments. No functional change(s). 2015-03-31 22:32:35 +00:00
pnp.4th Comments. No functional change(s). 2015-03-31 22:32:35 +00:00
screen.4th Eliminate literal escape sequences from *.4th 2015-04-02 01:48:12 +00:00
shortcuts.4th
support.4th boot/forth spelling issue in forth word 2016-11-09 21:28:46 +00:00
version.4th Re-do proper mode-endings. Antithesis of r281176-281179 which reverted 2015-04-08 20:10:42 +00:00
version.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00