OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010-2011 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * High-level firmware API for loading and verifying rewritable firmware. | 5 * High-level firmware API for loading and verifying rewritable firmware. |
6 * (Firmware Portion) | 6 * (Firmware Portion) |
7 */ | 7 */ |
8 | 8 |
9 #ifndef VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ | 9 #ifndef VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ |
10 #define VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ | 10 #define VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ |
11 | 11 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 * called inside GetFirmwareBody(). */ | 99 * called inside GetFirmwareBody(). */ |
100 void UpdateFirmwareBodyHash(LoadFirmwareParams* params, | 100 void UpdateFirmwareBodyHash(LoadFirmwareParams* params, |
101 uint8_t* data, uint64_t size); | 101 uint8_t* data, uint64_t size); |
102 | 102 |
103 /* Handle S3 resume. | 103 /* Handle S3 resume. |
104 * | 104 * |
105 * Returns LOAD_FIRMWARE_SUCCESS if successful, error code on failure. */ | 105 * Returns LOAD_FIRMWARE_SUCCESS if successful, error code on failure. */ |
106 int S3Resume(void); | 106 int S3Resume(void); |
107 | 107 |
108 #endif /* VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ */ | 108 #endif /* VBOOT_REFERENCE_LOAD_FIRMWARE_FW_H_ */ |
OLD | NEW |