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

Unified Diff: firmware/include/load_kernel_fw.h

Issue 6469059: VbNvStorage cleanup and comments (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Fixes from code review Created 9 years, 10 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 | « firmware/include/load_firmware_fw.h ('k') | firmware/include/vboot_nvstorage.h » ('j') | no next file with comments »
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 16dade1fcd5ca5d7a7de0c6b3a3f96b11e56d93c..191ebe2a2231754b0fbb5d7d59d680aaf77069f5 100644
--- a/firmware/include/load_kernel_fw.h
+++ b/firmware/include/load_kernel_fw.h
@@ -10,6 +10,7 @@
#define VBOOT_REFERENCE_LOAD_KERNEL_FW_H_
#include "sysincludes.h"
+#include "vboot_nvstorage.h"
/* Interface provided by verified boot library to BDS */
@@ -33,14 +34,20 @@
typedef struct LoadKernelParams {
/* Inputs to LoadKernel() */
- void *header_sign_key_blob; /* Key blob used to sign the kernel header */
+ void* header_sign_key_blob; /* Key blob used to sign the kernel header */
uint64_t bytes_per_lba; /* Bytes per lba sector on current device */
uint64_t ending_lba; /* Last addressable lba sector on current
* device */
- void *kernel_buffer; /* Destination buffer for kernel
+ void* kernel_buffer; /* Destination buffer for kernel
* (normally at 0x100000) */
uint64_t kernel_buffer_size; /* Size of kernel buffer in bytes */
uint64_t boot_flags; /* Boot flags */
+ VbNvContext* nv_context; /* Context for NV storage. nv_context->raw
+ * must be filled before calling
+ * LoadKernel(). On output, check
+ * nv_context->raw_changed to see if
+ * nv_context->raw has been modified and
+ * needs saving. */
/* Outputs from LoadKernel(); valid only if LoadKernel() returns
* LOAD_KERNEL_SUCCESS */
« no previous file with comments | « firmware/include/load_firmware_fw.h ('k') | firmware/include/vboot_nvstorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698