summaryrefslogtreecommitdiffstats
path: root/block/partitions/efi.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/partitions/efi.h')
-rw-r--r--block/partitions/efi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/partitions/efi.h b/block/partitions/efi.h
index e645ecb35bf34..7fef625c04dee 100644
--- a/block/partitions/efi.h
+++ b/block/partitions/efi.h
@@ -37,6 +37,9 @@
#define EFI_PMBR_OSTYPE_EFI 0xEF
#define EFI_PMBR_OSTYPE_EFI_GPT 0xEE
+#define GPT_MBR_PROTECTIVE 1
+#define GPT_MBR_HYBRID 2
+
#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
#define GPT_HEADER_REVISION_V1 0x00010000
#define GPT_PRIMARY_PARTITION_TABLE_LBA 1