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

Side by Side Diff: vboot_firmware/lib/include/vboot_kernel.h

Issue 2866006: Move old vkernel code out of vboot_firmware. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « vboot_firmware/include/firmware_image_fw.h ('k') | vboot_firmware/lib/vboot_kernel.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 /* Copyright (c) 2010 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 * Data structure and API definitions for a verified boot kernel image. 5 * Data structure and API definitions for a verified boot kernel image.
6 * (Firmware Portion) 6 * (Firmware Portion)
7 */ 7 */
8 8
9 #ifndef VBOOT_REFERENCE_VBOOT_KERNEL_H_ 9 #ifndef VBOOT_REFERENCE_VBOOT_KERNEL_H_
10 #define VBOOT_REFERENCE_VBOOT_KERNEL_H_ 10 #define VBOOT_REFERENCE_VBOOT_KERNEL_H_
11 11
12 #include <stdint.h> 12 #include <stdint.h>
13 13
14 #include "cgptlib.h" 14 #include "cgptlib.h"
15 #include "load_kernel_fw.h"
16 15
17 /* Allocates and reads GPT data from the drive. The sector_bytes and 16 /* Allocates and reads GPT data from the drive. The sector_bytes and
18 * drive_sectors fields should be filled on input. The primary and 17 * drive_sectors fields should be filled on input. The primary and
19 * secondary header and entries are filled on output. 18 * secondary header and entries are filled on output.
20 * 19 *
21 * Returns 0 if successful, 1 if error. */ 20 * Returns 0 if successful, 1 if error. */
22 int AllocAndReadGptData(GptData* gptdata); 21 int AllocAndReadGptData(GptData* gptdata);
23 22
24 /* Writes any changes for the GPT data back to the drive, then frees the 23 /* Writes any changes for the GPT data back to the drive, then frees the
25 * buffers. */ 24 * buffers. */
26 int WriteAndFreeGptData(GptData* gptdata); 25 int WriteAndFreeGptData(GptData* gptdata);
27 26
28 /* Alternate LoadKernel() implementation; see load_kernel_fw.h */
29 int LoadKernel2(LoadKernelParams* params);
30
31 #endif /* VBOOT_REFERENCE_VBOOT_KERNEL_H_ */ 27 #endif /* VBOOT_REFERENCE_VBOOT_KERNEL_H_ */
OLDNEW
« no previous file with comments | « vboot_firmware/include/firmware_image_fw.h ('k') | vboot_firmware/lib/vboot_kernel.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698