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

Side by Side Diff: src/platform/vboot_reference/utility/include/kernel_utility.h

Issue 1732022: VBoot Reference: Make kernel_config a 4K byte block, and move it after the verified boot block. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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
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 #ifndef VBOOT_REFERENCE_KERNEL_UTILITY_H_ 5 #ifndef VBOOT_REFERENCE_KERNEL_UTILITY_H_
6 #define VBOOT_REFERENCE_KERNEL_UTILITY_H_ 6 #define VBOOT_REFERENCE_KERNEL_UTILITY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 extern "C" { 10 extern "C" {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // KernelImage (from vkernel/kernel_image_fw.h). Ideally we'd like to have 63 // KernelImage (from vkernel/kernel_image_fw.h). Ideally we'd like to have
64 // a well defined config file format which is also backwards compatible with 64 // a well defined config file format which is also backwards compatible with
65 // Legacy BIOS boot loaders. 65 // Legacy BIOS boot loaders.
66 66
67 // Fields of a KernelImage. (read from the command line). 67 // Fields of a KernelImage. (read from the command line).
68 int header_version_; 68 int header_version_;
69 int firmware_sign_algorithm_; 69 int firmware_sign_algorithm_;
70 int kernel_sign_algorithm_; 70 int kernel_sign_algorithm_;
71 int kernel_key_version_; 71 int kernel_key_version_;
72 int kernel_version_; 72 int kernel_version_;
73 kconfig_options options_; 73 uint64_t kernel_len_;
Bill Richardson 2010/04/29 18:14:44 No objection, but I kind of doubt that the kernel
74 uint8_t* cmd_line_; 74 uint8_t* kernel_config_;
75 75
76 std::string in_file_; 76 std::string in_file_;
77 std::string out_file_; 77 std::string out_file_;
78 bool is_generate_; // Are we generating a new image? 78 bool is_generate_; // Are we generating a new image?
79 bool is_verify_; // Are we just verifying an already signed image? 79 bool is_verify_; // Are we just verifying an already signed image?
80 bool is_describe_; // Should we print out description of the image? 80 bool is_describe_; // Should we print out description of the image?
81 bool is_only_vblock_; // Show we just output the verification block? 81 bool is_only_vblock_; // Show we just output the verification block?
82 }; 82 };
83 83
84 } // namespace vboot_reference 84 } // namespace vboot_reference
85 85
86 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_ 86 #endif // VBOOT_REFERENCE_FIRMWARE_UTILITY_H_
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/tests/test_common.c ('k') | src/platform/vboot_reference/utility/kernel_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698