diff options
author | Sen Jiang <senj@google.com> | 2018-01-26 02:00:05 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-01-26 02:00:05 +0100 |
commit | cbbf67191923b2a178da1bf9a7324aa233a3c823 (patch) | |
tree | 0842f8798aaeb5a5eb020a1653bba6112031540e | |
parent | Merge "StartsWith allows a std::string prefix now." am: 80ccac2fff (diff) | |
parent | Merge "Add update_channel field to bootloader_message_ab." (diff) | |
download | android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar.gz android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar.bz2 android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar.lz android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar.xz android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.tar.zst android_bootable_recovery-cbbf67191923b2a178da1bf9a7324aa233a3c823.zip |
-rw-r--r-- | bootloader_message/include/bootloader_message/bootloader_message.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h index 798f3bb8c..95c19ae54 100644 --- a/bootloader_message/include/bootloader_message/bootloader_message.h +++ b/bootloader_message/include/bootloader_message/bootloader_message.h @@ -103,13 +103,17 @@ static_assert(sizeof(struct bootloader_message) == 2048, * implementations are free to use all 32 bytes and may store private * data past the first NUL-byte in this field. It is encouraged, but * not mandatory, to use 'struct bootloader_control' described below. + * + * The update_channel field is used to store the Omaha update channel + * if update_engine is compiled with Omaha support. */ struct bootloader_message_ab { struct bootloader_message message; char slot_suffix[32]; + char update_channel[128]; // Round up the entire struct to 4096-byte. - char reserved[2016]; + char reserved[1888]; }; /** |