disk: part_efi: add new partition attribute definitions
authorStephen Warren <swarren@nvidia.com>
Mon, 8 Oct 2012 08:14:35 +0000 (08:14 +0000)
committerTom Rini <trini@ti.com>
Wed, 17 Oct 2012 14:59:10 +0000 (07:59 -0700)
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: Stephen Warren <swarren@nvidia.com>
disk/part_efi.h

index 5903e7c812a6e21e1a2420d338bd4a0e402c939e..1d0c67cbe0b15ef52917da18f2634343cd1833eb 100644 (file)
@@ -113,7 +113,9 @@ typedef struct _gpt_header {
 
 typedef struct _gpt_entry_attributes {
        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;
 } __attribute__ ((packed)) gpt_entry_attributes;