Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: firmware/lib/cgptlib/include/cgptlib_internal.h

Issue 3056014: Make LoadKernel() pass back the kernel partition's UniqueGuid. (Closed) Base URL: ssh://git@chromiumos-git//vboot_reference.git
Patch Set: Created 10 years, 5 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: firmware/lib/cgptlib/include/cgptlib_internal.h
diff --git a/firmware/lib/cgptlib/include/cgptlib_internal.h b/firmware/lib/cgptlib/include/cgptlib_internal.h
index 95e5b4e75ee927899ab9f740cb180ae933ce6ac0..66ceef13884110a21837aae19c1ab88bbe0b9144 100644
--- a/firmware/lib/cgptlib/include/cgptlib_internal.h
+++ b/firmware/lib/cgptlib/include/cgptlib_internal.h
@@ -112,4 +112,7 @@ int IsUnusedEntry(const GptEntry* e);
/* Returns 1 if the entry is a Chrome OS kernel partition, else 0. */
int IsKernelEntry(const GptEntry* e);
+/* Copies the current kernel partition's UniquePartitionGuid to the dest */
+void GetCurrentKernelUniqueGuid(GptData *gpt, void *dest);

Powered by Google App Engine
This is Rietveld 408576698