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

Unified Diff: vboot_firmware/lib/cgptlib/include/cgptlib.h

Issue 2718012: More cleanup (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 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: vboot_firmware/lib/cgptlib/include/cgptlib.h
diff --git a/vboot_firmware/lib/cgptlib/include/cgptlib.h b/vboot_firmware/lib/cgptlib/include/cgptlib.h
index acf91dc088855b2a2489f49bc48a2b77fa9d936b..320b5ed8fe4d825d4abd8261ec59d6a61b335555 100644
--- a/vboot_firmware/lib/cgptlib/include/cgptlib.h
+++ b/vboot_firmware/lib/cgptlib/include/cgptlib.h
@@ -24,6 +24,10 @@ enum {
#define GPT_MODIFIED_ENTRIES1 0x04
#define GPT_MODIFIED_ENTRIES2 0x08
+#define TOTAL_ENTRIES_SIZE 16384 /* Size of GptData.primary_entries
+ * and secondary_entries: 128
+ * bytes/entry * 128 entries. */
+
/* The 'update_type' of GptUpdateKernelEntry()
* We expose TRY and BAD only because those are what verified boot needs.
* For more precise control on GPT attribute bits, please refer to
« no previous file with comments | « vboot_firmware/lib/cgptlib/cgptlib_internal.c ('k') | vboot_firmware/lib/cgptlib/include/cgptlib_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698