OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010-2011 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * Defines EFI related structure. See more details in EFI 2.3 spec. | 5 * Defines EFI related structure. See more details in EFI 2.3 spec. |
6 * | 6 * |
7 * To download EFI standard, please visit UEFI homepage: | 7 * To download EFI standard, please visit UEFI homepage: |
8 * http://www.uefi.org/ | 8 * http://www.uefi.org/ |
9 */ | 9 */ |
10 #ifndef VBOOT_REFERENCE_CGPTLIB_GPT_H_ | 10 #ifndef VBOOT_REFERENCE_CGPTLIB_GPT_H_ |
11 #define VBOOT_REFERENCE_CGPTLIB_GPT_H_ | 11 #define VBOOT_REFERENCE_CGPTLIB_GPT_H_ |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } attrs; | 107 } attrs; |
108 uint16_t name[36]; /* UTF-16 encoded partition name */ | 108 uint16_t name[36]; /* UTF-16 encoded partition name */ |
109 /* Remainder of entry is reserved and should be 0 */ | 109 /* Remainder of entry is reserved and should be 0 */ |
110 } __attribute__((packed)) GptEntry; | 110 } __attribute__((packed)) GptEntry; |
111 | 111 |
112 #define GPTENTRY_EXPECTED_SIZE 128 | 112 #define GPTENTRY_EXPECTED_SIZE 128 |
113 | 113 |
114 __pragma(pack(pop)) /* Support packing for MSVC. */ | 114 __pragma(pack(pop)) /* Support packing for MSVC. */ |
115 | 115 |
116 #endif /* VBOOT_REFERENCE_CGPTLIB_GPT_H_ */ | 116 #endif /* VBOOT_REFERENCE_CGPTLIB_GPT_H_ */ |
OLD | NEW |