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

Unified Diff: firmware/include/load_kernel_fw.h

Issue 6626045: Pass VbSharedData between LoadFirmware() and LoadKernel() (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Fixed load_kernel_test 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 side-by-side diff with in-line comments
Download patch
Index: firmware/include/load_kernel_fw.h
diff --git a/firmware/include/load_kernel_fw.h b/firmware/include/load_kernel_fw.h
index 45d18e2c357dea21e8b4e0e747166c7c27133a9f..5815abfc4973795f4b134fb14d0b54d711fabc53 100644
--- a/firmware/include/load_kernel_fw.h
+++ b/firmware/include/load_kernel_fw.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2011 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -34,7 +34,15 @@
typedef struct LoadKernelParams {
/* Inputs to LoadKernel() */
- void* header_sign_key_blob; /* Key blob used to sign the kernel header */
+ void* shared_data_blob; /* Buffer for data shared between
+ * LoadFirmware() and LoadKernel(). Pass the
+ * same buffer which was passed to
+ * LoadFirmware(). */
+ uint64_t shared_data_size; /* Size of shared data blob buffer, in bytes.
+ * On output, this will contain the actual
Bill Richardson 2011/03/09 20:52:20 Isn't shared_data_size an input only? Don't we get
Randall Spangler 2011/03/09 21:11:35 In recovery mode, LoadKernel() will still use the
+ * data size placed into the buffer. */
+ void* gbb_data; /* Pointer to GBB data */
+ uint64_t gbb_size; /* Size of GBB data in bytes */
uint64_t bytes_per_lba; /* Bytes per lba sector on current device */
uint64_t ending_lba; /* Last addressable lba sector on current
* device */

Powered by Google App Engine
This is Rietveld 408576698