Heinrich Schuchardt
39a1ff8cea
efi_loader: optional data in load options are binary
...
The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary
data.
When we use `efidebug boot add` we should convert the 5th argument from
UTF-8 to UTF-16 before putting it into the BootXXXX variable.
When printing boot variables with `efidebug boot dump` we should support
the OptionalData being arbitrary binary data. So let's dump the data as
hexadecimal values.
Here is an example session protocol:
=> efidebug boot add 00a1 label1 scsi 0:1 doit1 'my option'
=> efidebug boot add 00a2 label2 scsi 0:1 doit2
=> efidebug boot dump
Boot00A0:
attributes: A-- (0x00000001)
label: label1
file_path: .../HD(1,MBR,0xeac4e18b,0x800,0x3fffe)/doit1
data:
00000000: 6d 00 79 00 20 00 6f 00 70 00 74 00 69 00 6f 00 m.y. .o.p.t.i.o.
00000010: 6e 00 00 00 n...
Boot00A1:
attributes: A-- (0x00000001)
label: label2
file_path: .../HD(1,MBR,0xeac4e18b,0x800,0x3fffe)/doit2
data:
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2019-05-02 18:17:50 +02:00
..
2019-04-22 12:06:39 -04:00
2018-05-07 09:34:12 -04:00
2019-04-22 12:06:39 -04:00
2018-05-07 09:34:12 -04:00
2019-04-22 12:06:39 -04:00
2017-02-08 15:56:28 -05:00
2019-01-15 15:28:54 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-26 18:58:22 -04:00
2018-08-11 09:16:08 +02:00
2018-11-16 13:34:34 -05:00
2017-07-03 17:35:28 -04:00
2018-08-21 16:21:37 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-02-15 12:48:02 +01:00
2018-05-07 09:34:12 -04:00
2018-05-23 17:30:05 -04:00
2019-05-02 18:17:49 +02:00
2018-06-19 07:31:45 -04:00
2018-05-07 09:34:12 -04:00
2018-12-07 08:13:48 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-31 09:42:41 +08:00
2018-09-29 11:49:35 -06:00
2018-12-04 19:44:57 +01:00
2018-05-07 09:34:12 -04:00
2018-09-25 21:49:18 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-09 04:40:27 -06:00
2018-05-07 09:34:12 -04:00
2019-02-19 08:55:43 -05:00
2018-05-07 09:34:12 -04:00
2019-04-21 10:26:51 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-15 11:49:19 -05:00
2019-01-15 15:28:54 -05:00
2018-05-07 09:34:12 -04:00
2019-04-25 00:00:49 +02:00
2018-08-21 00:04:24 +02:00
2019-05-02 18:17:50 +02:00
2019-02-19 08:55:43 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-03-16 13:29:43 +01:00
2018-09-23 21:55:30 +02:00
2018-05-07 09:34:12 -04:00
2018-11-29 09:30:05 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-16 11:51:33 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-09 20:04:03 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-02-20 15:25:28 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-01-15 15:28:54 -05:00
2018-11-26 08:25:35 -05:00
2018-12-10 07:30:58 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-06-18 14:02:04 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-26 13:49:58 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-22 12:06:39 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:48:17 -04:00
2018-05-07 09:34:12 -04:00
2018-10-24 14:45:36 -05:00
2018-05-07 09:34:12 -04:00
2016-03-14 15:34:50 -06:00
2019-01-15 15:28:54 -05:00
2018-05-07 09:34:12 -04:00
2019-01-18 13:40:34 -05:00
2018-09-20 20:11:01 +05:30
2017-08-16 08:30:24 -04:00
2018-07-26 14:08:20 -05:00
2019-03-20 18:16:53 +01:00
2019-02-25 12:47:13 +01:00
2018-05-07 09:34:12 -04:00
2016-10-06 20:57:42 -04:00
2018-09-28 18:27:33 +02:00
2018-09-10 21:19:33 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-11-16 16:51:56 -05:00
2018-05-18 08:27:26 +02:00
2019-04-26 17:51:51 -04:00
2018-05-07 09:34:12 -04:00
2017-08-20 09:54:30 -04:00
2018-05-07 09:34:12 -04:00
2018-06-07 20:06:29 -04:00
2018-05-07 09:34:12 -04:00
2018-11-01 10:02:43 -04:00
2018-12-07 16:31:45 +01:00
2019-02-09 07:51:00 -05:00
2018-11-26 08:25:37 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-12 11:54:50 +05:30
2018-05-07 09:34:12 -04:00
2018-05-08 09:07:35 -04:00
2018-12-13 16:36:41 -07:00
2018-07-19 16:17:58 -04:00
2019-03-25 17:36:53 -04:00
2018-05-07 09:34:12 -04:00
2016-01-25 10:39:43 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-03-08 11:31:44 -05:00
2018-05-07 09:34:12 -04:00
2018-11-29 09:30:06 -07:00
2018-11-29 09:30:06 -07:00
2018-05-25 20:12:55 -04:00
2018-11-29 09:30:06 -07:00
2019-01-15 15:28:44 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-01-15 15:28:44 -05:00
2018-09-28 20:22:32 -04:00
2018-05-07 09:34:12 -04:00
2019-01-15 15:28:44 -05:00
2018-12-07 16:31:45 +01:00
2019-04-21 10:26:52 +02:00
2019-04-09 13:11:45 +02:00
2018-05-07 09:34:12 -04:00
2018-11-14 09:16:27 -08:00
2018-09-28 20:22:36 -04:00
2019-04-12 07:04:18 +02:00
2018-07-02 14:14:20 -05:00
2019-04-22 18:13:22 -04:00
2016-01-25 10:39:43 -05:00
2018-05-07 09:34:12 -04:00
2019-01-15 15:28:44 -05:00