summaryrefslogtreecommitdiff
path: root/include/chromeos
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2011-08-03 14:57:09 +0800
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:21 -0700
commit134eeb15b52efb15164619293d14404f1748f3a3 (patch)
tree9b2781c40c53d3b9287a1eafabb5381dc0a58235 /include/chromeos
parent744345a6dcf4864d86a20f26993234b02ab0d30c (diff)
CHROMIUM: move VbExHashFirmwareBody() to lib/vbexport/
This patch only moves code around. BUG=chromium-os:16542 TEST=build okay Change-Id: Idc908fd2e652c114ae8029c120386fb44e63b4f9 Reviewed-on: http://gerrit.chromium.org/gerrit/5204 Tested-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/chromeos')
-rw-r--r--include/chromeos/hasher_state.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/chromeos/hasher_state.h b/include/chromeos/hasher_state.h
new file mode 100644
index 0000000000..322ed93bb6
--- /dev/null
+++ b/include/chromeos/hasher_state.h
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ *
+ * Alternatively, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") version 2 as published by the Free
+ * Software Foundation.
+ */
+
+#ifndef CHROMEOS_HASHER_STATE_H_
+#define CHROMEOS_HASHER_STATE_H_
+
+#include <chromeos/firmware_storage.h>
+
+typedef struct {
+ firmware_storage_t *file;
+ struct {
+ void *vblock;
+ uint32_t offset;
+ uint32_t size;
+ void *cache;
+ } fw[2];
+} hasher_state_t;
+
+#endif /* CHROMEOS_HASHER_STATE_H_ */