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

Side by Side Diff: firmware/lib/cgptlib/include/gpt.h

Issue 6626020: Only advance kernel version when the booted partition has a valid key block (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « firmware/lib/cgptlib/include/cgptlib_internal.h ('k') | firmware/lib/rollback_index.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_ */
OLDNEW
« no previous file with comments | « firmware/lib/cgptlib/include/cgptlib_internal.h ('k') | firmware/lib/rollback_index.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698