diff options
Diffstat (limited to 'firmware/lib20/include/vb2_struct.h')
-rw-r--r-- | firmware/lib20/include/vb2_struct.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/lib20/include/vb2_struct.h b/firmware/lib20/include/vb2_struct.h index 1e39061f..f644a5fa 100644 --- a/firmware/lib20/include/vb2_struct.h +++ b/firmware/lib20/include/vb2_struct.h @@ -219,9 +219,11 @@ struct vb2_kernel_preamble { /* Load address for kernel body */ uint64_t body_load_address; + /* TODO (vboot 2.1): we never used that */ /* Address of bootloader, after body is loaded at body_load_address */ uint64_t bootloader_address; + /* TODO (vboot 2.1): should be a 32-bit offset */ /* Size of bootloader in bytes */ uint32_t bootloader_size; @@ -231,6 +233,14 @@ struct vb2_kernel_preamble { struct vb2_signature body_signature; /* + * TODO (vboot 2.1): fields for kernel offset and size. Right now the + * size is implicitly the same as the size of data signed by the body + * signature, and the offset is implicitly at the end of the preamble. + * But that forces us to pad the preamble to 64KB rather than just + * having a tiny preamble and an offset field. + */ + + /* * Fields added in header version 2.1. You must verify the header * version before reading these fields! */ |