Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h

Issue 2614002: Enable attributes to display and set properly. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h
diff --git a/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h b/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h
index 195f4d6c33891a6b31541996687d0c11159c593a..0b993c3665d5859f3358cdc830ff3766893fa15e 100644
--- a/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h
+++ b/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/cgptlib_internal.h
@@ -18,14 +18,15 @@
/* Bit definitions and masks for GPT attributes.
*
- * 63 -- do not automounting
- * 62 -- hidden
+ * 63-61 -- (reserved)
* 60 -- read-only
- * :
+ * 59-57 -- (reserved)
* 56 -- success
- * 55,52 -- tries
- * 51,48 -- priority
- * 0 -- system partition
+ * 55-52 -- tries
+ * 51-48 -- priority
+ * 47-2 -- UEFI: reserved for future use
+ * 1 -- UEFI: partition is not mapped
+ * 0 -- UEFI: partition is required
*/
#define CGPT_ATTRIBUTE_SUCCESSFUL_OFFSET 56
#define CGPT_ATTRIBUTE_MAX_SUCCESSFUL (1ULL)

Powered by Google App Engine
This is Rietveld 408576698