diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-03-20 09:07:55 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-04-07 14:17:06 +0200 |
commit | 37279ad3eeed5285c2fee4ed9eb24d110515fe3f (patch) | |
tree | c700f385b39c4cf64797ff48579953201828c620 /test/fs | |
parent | b0c3c346c6d7ec44363037ad55fdfad4c3b474d1 (diff) |
efi_loader: bootmgr: support BootNext and BootCurrent variable behavior
See UEFI v2.7, section 3.1.2 for details of the specification.
With efidebug command, you can run any EFI boot option as follows:
=> efi boot add 1 SHELL ...
=> efi boot add 2 HELLO ...
=> efi boot order 1 2
=> efi bootmgr
(starting SHELL ...)
=> efi boot next 2
=> efi bootmgr
(starting HELLO ...)
=> env print -e
<snip ...>
BootCurrent: {boot,run}(blob)
00000000: 02 00 ..
BootOrder: {boot,run}(blob)
00000000: 01 00 02 00 ....
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test/fs')
0 files changed, 0 insertions, 0 deletions