summaryrefslogtreecommitdiff
path: root/include/efi_variable.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2026-02-12 21:44:56 +0100
committerHeinrich Schuchardt <[email protected]>2026-02-15 08:43:58 +0100
commit1450a4555d0533a0ca16df5bc6aa16f8162f91e1 (patch)
tree429d91357a979124a6144a597f5296d507b46dd7 /include/efi_variable.h
parent63d52576e7b7fc39a1e5685065384a4653e4a9ef (diff)
disk: part_dos: Align dos_partition_t with struct partition
The dos_partition_t struct defined in part_dos.h is nearly identical to the struct partition defined in part_efi.h. They differ primarily in how define their starting sector and number of sectors fields. The former uses unsigned char arrays while the latter uses __le32 types. Using __le32 is preferable, as it removes the ambiguity and potential misuse of a raw byte array. This also aligns the structure with how the Linux kernel defines it nowadays, which is the original source of it. To prepare for future consolidation where one of the data structures can be removed, this change aligns both definitions and updates all accessors for dos_partition_t. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/efi_variable.h')
0 files changed, 0 insertions, 0 deletions