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

Unified Diff: vboot_firmware/lib/include/vboot_firmware.h

Issue 2745007: Major refactoring of structures, with unit tests. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Implemented LoadFirmware2() Created 10 years, 6 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: vboot_firmware/lib/include/vboot_firmware.h
diff --git a/vboot_firmware/lib/include/vboot_firmware.h b/vboot_firmware/lib/include/vboot_firmware.h
new file mode 100644
index 0000000000000000000000000000000000000000..72e586b4183290c2abdbadbf7a99d414a82cee17
--- /dev/null
+++ b/vboot_firmware/lib/include/vboot_firmware.h
@@ -0,0 +1,24 @@
+/* Copyright (c) 2010 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.
+ *
+ * Data structure and API definitions for a verified boot kernel image.
+ * (Firmware Portion)
+ */
+
+#ifndef VBOOT_REFERENCE_VBOOT_FIRMWARE_H_
+#define VBOOT_REFERENCE_VBOOT_FIRMWARE_H_
+
+#include <stdint.h>
+
+#include "cgptlib.h"
+#include "cryptolib.h"
+#include "load_firmware_fw.h"
+#include "vboot_common.h"
+
+/* Alternate LoadFirmware() implementation; see load_firmware_fw.h */
+void UpdateFirmwareBodyHash2(uint8_t* data, uint64_t size);
+int LoadFirmware2(LoadFirmwareParams* params);
+
+
gauravsh 2010/06/10 14:44:13 nit: extra new line
+#endif /* VBOOT_REFERENCE_VBOOT_FIRMWARE_H_ */

Powered by Google App Engine
This is Rietveld 408576698