aboutsummaryrefslogtreecommitdiff
path: root/host/include/vboot_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/vboot_host.h')
-rw-r--r--host/include/vboot_host.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/host/include/vboot_host.h b/host/include/vboot_host.h
index b22eea2d..4b5db67e 100644
--- a/host/include/vboot_host.h
+++ b/host/include/vboot_host.h
@@ -58,5 +58,14 @@ char *FindKernelConfig(const char *filename,
uint64_t kernel_body_load_address);
/****************************************************************************/
+/* Kernel partition */
+
+/* Used to get a bootable vmlinuz from the kernel partition. vmlinuz_out must
+ * be free'd after this function returns success. Success is indicated by a
+ * zero return value.
+ */
+int ExtractVmlinuz(void *kpart_data, size_t kpart_size,
+ void **vmlinuz_out, size_t *vmlinuz_size);
+
#endif /* VBOOT_HOST_H_ */