| Index: src/platform/vboot_reference/cgptlib/gpt.h
|
| diff --git a/src/platform/vboot_reference/cgptlib/gpt.h b/src/platform/vboot_reference/cgptlib/gpt.h
|
| index 95f0efba321c81ba581c2e9dfe8549f7d09122c9..5d49b17b73a02bf60606cbe03c8c22d679d378b8 100644
|
| --- a/src/platform/vboot_reference/cgptlib/gpt.h
|
| +++ b/src/platform/vboot_reference/cgptlib/gpt.h
|
| @@ -17,15 +17,15 @@
|
| #define GPT_HEADER_REVISION 0x00010000
|
|
|
| #define GPT_ENT_TYPE_EFI \
|
| - {{Uuid: {0xc12a7328,0xf81f,0x11d2,0xba,0x4b,{0x00,0xa0,0xc9,0x3e,0xc9,0x3b}}}}
|
| + {{{0xc12a7328,0xf81f,0x11d2,0xba,0x4b,{0x00,0xa0,0xc9,0x3e,0xc9,0x3b}}}}
|
| #define GPT_ENT_TYPE_UNUSED \
|
| - {{Uuid: {0x00000000,0x0000,0x0000,0x00,0x00,{0x00,0x00,0x00,0x00,0x00,0x00}}}}
|
| + {{{0x00000000,0x0000,0x0000,0x00,0x00,{0x00,0x00,0x00,0x00,0x00,0x00}}}}
|
| #define GPT_ENT_TYPE_CHROMEOS_KERNEL \
|
| - {{Uuid: {0xfe3a2a5d,0x4f32,0x41a7,0xb7,0x25,{0xac,0xcc,0x32,0x85,0xa3,0x09}}}}
|
| + {{{0xfe3a2a5d,0x4f32,0x41a7,0xb7,0x25,{0xac,0xcc,0x32,0x85,0xa3,0x09}}}}
|
| #define GPT_ENT_TYPE_CHROMEOS_ROOTFS \
|
| - {{Uuid: {0x3cb8e202,0x3b7e,0x47dd,0x8a,0x3c,{0x7f,0xf2,0xa1,0x3c,0xfc,0xec}}}}
|
| + {{{0x3cb8e202,0x3b7e,0x47dd,0x8a,0x3c,{0x7f,0xf2,0xa1,0x3c,0xfc,0xec}}}}
|
| #define GPT_ENT_TYPE_CHROMEOS_RESERVED \
|
| - {{Uuid: {0x2e0a753d,0x9e48,0x43b0,0x83,0x37,{0xb1,0x51,0x92,0xcb,0x1b,0x5e}}}}
|
| + {{{0x2e0a753d,0x9e48,0x43b0,0x83,0x37,{0xb1,0x51,0x92,0xcb,0x1b,0x5e}}}}
|
|
|
| #define UUID_NODE_LEN 6
|
| #define GUID_SIZE 16
|
| @@ -44,7 +44,7 @@ typedef struct {
|
| uint8_t node[UUID_NODE_LEN];
|
| } Uuid;
|
| uint8_t raw[GUID_SIZE];
|
| - };
|
| + } u;
|
| } __attribute__((packed)) Guid;
|
|
|
| /* GPT header defines how many partitions exist on a drive and sectors managed.
|
|
|