Skip to content
Snippets Groups Projects
Commit 1c8346ab authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

disk: part_efi: add new partition attribute definitions


Add no_block_io_protocol and legacy_bios_bootable attribute definitions.
These are sourced from UEFI Spec 2.3, page 105, table 19. Credits to the
libparted source for the specification pointer.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent f07cd2c4
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,9 @@ typedef struct _gpt_header { ...@@ -113,7 +113,9 @@ typedef struct _gpt_header {
typedef struct _gpt_entry_attributes { typedef struct _gpt_entry_attributes {
unsigned long long required_to_function:1; unsigned long long required_to_function:1;
unsigned long long reserved:47; unsigned long long no_block_io_protocol:1;
unsigned long long legacy_bios_bootable:1;
unsigned long long reserved:45;
unsigned long long type_guid_specific:16; unsigned long long type_guid_specific:16;
} __attribute__ ((packed)) gpt_entry_attributes; } __attribute__ ((packed)) gpt_entry_attributes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment