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

Unified Diff: firmware/include/load_kernel_fw.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
« no previous file with comments | « no previous file | firmware/lib/cgptlib/cgptlib_internal.c » ('j') | firmware/lib/vboot_kernel.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/include/load_kernel_fw.h
diff --git a/firmware/include/load_kernel_fw.h b/firmware/include/load_kernel_fw.h
index 31c30818359b4cd8d0ea824a7b5e503c11fa008a..4cca8bd57b58f6a1f6a9edb8ca3e0c2bf8b98cd3 100644
--- a/firmware/include/load_kernel_fw.h
+++ b/firmware/include/load_kernel_fw.h
@@ -44,6 +44,7 @@ typedef struct LoadKernelParams {
* (1...M) */
uint64_t bootloader_address; /* Address of bootloader image in RAM */
uint64_t bootloader_size; /* Size of bootloader image in bytes */
+ uint8_t partition_guid[16]; /* UniquePartitionGuid for boot partition */
} LoadKernelParams;
int LoadKernel(LoadKernelParams* params);
@@ -62,6 +63,7 @@ typedef struct KernelBootloaderOptions {
uint64_t original_address; /* Absolute bootloader start adddress,
* as returned from LoadKernel() in
* LoadKernelParams.bootloader_start */
+ uint8_t partition_guid[16]; /* UniquePartitionGuid for boot partition */
} KernelBootloaderOptions;
« no previous file with comments | « no previous file | firmware/lib/cgptlib/cgptlib_internal.c » ('j') | firmware/lib/vboot_kernel.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698