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 |