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

Unified Diff: firmware/include/load_firmware_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 | « no previous file | firmware/include/load_kernel_fw.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/include/load_firmware_fw.h
diff --git a/firmware/include/load_firmware_fw.h b/firmware/include/load_firmware_fw.h
index e377766027abec1f5da858c6ed99d57464e1024c..76fa9904016c77687f10791d02b977d5774ed879 100644
--- a/firmware/include/load_firmware_fw.h
+++ b/firmware/include/load_firmware_fw.h
@@ -10,6 +10,7 @@
#define VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_
#include "sysincludes.h"
+#include "vboot_nvstorage.h"
/* Recommended size of kernel_sign_key_blob in bytes, for
* implementations which must preallocate a transfer buffer between
@@ -42,6 +43,12 @@ typedef struct LoadFirmwareParams {
* will contain the actual key blob
* size placed into the buffer. */
uint64_t boot_flags; /* Boot flags */
+ VbNvContext* nv_context; /* Context for NV storage. nv_context->raw
+ * must be filled before calling
+ * LoadFirmware(). On output, check
+ * nv_context->raw_changed to see if
+ * nv_context->raw has been modified and
+ * needs saving. */
/* Outputs from LoadFirmware(); valid only if LoadFirmware() returns
* LOAD_FIRMWARE_SUCCESS. */
« no previous file with comments | « no previous file | firmware/include/load_kernel_fw.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698