Module Name: src
Committed By: jakllsch
Date: Tue Aug 16 14:03:16 UTC 2011
Modified Files:
src/sys/sys: disklabel_gpt.h
Log Message:
Add partition entry attributes listed in UEFI 2.3.1 spec.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/disklabel_gpt.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/disklabel_gpt.h
diff -u src/sys/sys/disklabel_gpt.h:1.7 src/sys/sys/disklabel_gpt.h:1.8
--- src/sys/sys/disklabel_gpt.h:1.7 Wed Nov 12 22:50:22 2008
+++ src/sys/sys/disklabel_gpt.h Tue Aug 16 14:03:16 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel_gpt.h,v 1.7 2008/11/12 22:50:22 thorpej Exp $ */
+/* $NetBSD: disklabel_gpt.h,v 1.8 2011/08/16 14:03:16 jakllsch Exp $ */
/*
* Copyright (c) 2002 Marcel Moolenaar
@@ -82,8 +82,12 @@
uint16_t ent_name[36]; /* partition name in UNICODE-16 */
};
-#define GPT_ENT_ATTR_PLATFORM (1ULL << 0) /* required for platform
- to function */
+#define GPT_ENT_ATTR_REQUIRED_PARTITION (1ULL << 0)
+ /* required for platform to function */
+#define GPT_ENT_ATTR_NO_BLOCK_IO_PROTOCOL (1ULL << 1)
+ /* UEFI won't recognize file system */
+#define GPT_ENT_ATTR_LEGACY_BIOS_BOOTABLE (1ULL << 2)
+ /* legacy BIOS boot partition */
/*
* Partition types defined by the EFI specification: