diff options
author | Heinrich Schuchardt | 2024-06-10 10:00:01 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2024-06-10 11:43:37 +0200 |
commit | 535321c2ea76de44896330040d2e43aa4645d026 (patch) | |
tree | 04c9d624459f2693c76ed2eaf33d4ea48db95943 /include/efi_load_initrd.h | |
parent | e91b68fd6b83d6e4c862000630d240b339cc5a7b (diff) |
efi_loader: rename struct efi_initrd_dp to efi_lo_dp_prefix
As we now also store device-tree device-paths in load options rename
struct efi_initrd_dp to efi_lo_dp_prefix.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_load_initrd.h')
-rw-r--r-- | include/efi_load_initrd.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/efi_load_initrd.h b/include/efi_load_initrd.h index be5d5a7acbe..9feafb18c86 100644 --- a/include/efi_load_initrd.h +++ b/include/efi_load_initrd.h @@ -18,7 +18,17 @@ 0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68) extern const efi_guid_t efi_lf2_initrd_guid; -struct efi_initrd_dp { +/** + * struct efi_lo_dp_prefix - separator device path used in load options + * + * We use vendor media device nodes in UEFI load options to separate + * the binary, initrd, and fdt device-paths. This structure contains + * the vendor media device node and an end node. + * + * @vendor: vendor media device node + * @end: end node + */ +struct efi_lo_dp_prefix { struct efi_device_path_vendor vendor; struct efi_device_path end; } __packed; |