| Index: src/platform/vboot_reference/vkernel/include/kernel_image.h
|
| diff --git a/src/platform/vboot_reference/vkernel/include/kernel_image.h b/src/platform/vboot_reference/vkernel/include/kernel_image.h
|
| index 3fcdcf8bc55f54bd9feeb527447aad7438409bde..58e1b1ac9923d101afcdda40894ef269fe8dcc1a 100644
|
| --- a/src/platform/vboot_reference/vkernel/include/kernel_image.h
|
| +++ b/src/platform/vboot_reference/vkernel/include/kernel_image.h
|
| @@ -63,6 +63,18 @@ int WriteKernelImage(const char* input_file,
|
| const KernelImage* image,
|
| int is_only_vblock);
|
|
|
| +/* Create a kernel_data blob from its components and fill
|
| + * its length into blob_len, plus some information about the bootloader.
|
| + *
|
| + * Caller owns the returned pointer and must Free() it.
|
| + */
|
| +uint8_t* GenerateKernelBlob(const char* vmlinuz_file,
|
| + const char* config_file,
|
| + const char* bootloader_file,
|
| + uint64_t* blob_len,
|
| + uint64_t* bootloader_offset,
|
| + uint64_t* bootloader_size);
|
| +
|
| /* Pretty print the contents of [image]. Only headers and metadata information
|
| * is printed.
|
| */
|
|
|