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

Unified Diff: src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/gpt.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/gpt.h
diff --git a/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/gpt.h b/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/gpt.h
index 57d722c4a3a37ae133d4f5956088dd8175e0aa6e..a199755df68187d0f2eb3d4317253a0f7e0b8f11 100644
--- a/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/gpt.h
+++ b/src/platform/vboot_reference/vboot_firmware/lib/cgptlib/include/gpt.h
@@ -34,6 +34,8 @@
{{{0x3cb8e202,0x3b7e,0x47dd,0x8a,0x3c,{0x7f,0xf2,0xa1,0x3c,0xfc,0xec}}}}
#define GPT_ENT_TYPE_CHROMEOS_RESERVED \
{{{0x2e0a753d,0x9e48,0x43b0,0x83,0x37,{0xb1,0x51,0x92,0xcb,0x1b,0x5e}}}}
+#define GPT_ENT_TYPE_LINUX_DATA \
+ {{{0xebd0a0a2,0xb9e5,0x4433,0x87,0xc0,{0x68,0xb6,0xb7,0x26,0x99,0xc7}}}}
#define UUID_NODE_LEN 6
@@ -56,6 +58,10 @@ typedef struct {
} u;
} __attribute__((packed)) Guid;
+/* Some constant values */
+extern const Guid guid_unused;
+extern const Guid guid_chromeos_kernel;
+
/* GPT header defines how many partitions exist on a drive and sectors managed.
* For every drive device, there are 2 headers, primary and secondary.
* Most of fields are duplicated except my_lba and entries_lba.

Powered by Google App Engine
This is Rietveld 408576698