AKASHI Takahiro
37279ad3ee
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>
2019-04-07 14:17:06 +02:00
..
2017-01-09 10:30:24 -05:00
2018-07-02 09:23:28 +08:00
2019-04-07 14:17:06 +02:00
2019-04-07 14:17:06 +02:00
2019-03-10 19:56:59 +01:00
2018-12-02 21:59:37 +01:00
2018-05-10 20:38:35 -04:00
2019-03-02 23:34:26 +01:00
2018-12-02 21:59:36 +01:00
2019-03-27 21:52:11 +01:00
2019-02-13 09:40:06 +01:00
2018-12-02 21:59:37 +01:00
2019-02-13 09:40:06 +01:00
2019-03-20 18:16:53 +01:00
2019-02-16 15:51:14 +01:00
2019-03-20 18:16:53 +01:00
2018-12-02 21:59:37 +01:00
2018-09-23 21:55:31 +02:00
2019-02-13 09:40:05 +01:00
2019-02-13 09:40:05 +01:00
2018-12-02 21:59:37 +01:00
2018-09-23 21:55:29 +02:00
2019-03-20 18:16:53 +01:00
2018-05-10 20:38:35 -04:00
2019-02-13 09:40:06 +01:00
2019-02-13 09:40:06 +01:00
2019-02-13 09:40:06 +01:00