From 134eeb15b52efb15164619293d14404f1748f3a3 Mon Sep 17 00:00:00 2001 From: Che-Liang Chiou Date: Wed, 3 Aug 2011 14:57:09 +0800 Subject: 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 Reviewed-by: Gabe Black --- include/chromeos/hasher_state.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/chromeos/hasher_state.h (limited to 'include/chromeos') diff --git a/include/chromeos/hasher_state.h b/include/chromeos/hasher_state.h new file mode 100644 index 00000000000..322ed93bb61 --- /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 + +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_ */ -- cgit v1.2.3