diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2016-05-24 03:19:36 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-24 03:19:36 +0200 |
commit | be04a5efa269c2746ad7d7df5bb81350f2f6096f (patch) | |
tree | 65237ca8c8583486b6bb5582eeba71e1509294c8 /bootloader.h | |
parent | resolve merge conflicts of 84478e8 to nyc-mr1-dev-plus-aosp (diff) | |
parent | Merge "slot_metadata: add verity_corrupted field" am: 3788001b2c am: 1ae2434c11 (diff) | |
download | android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar.gz android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar.bz2 android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar.lz android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar.xz android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.tar.zst android_bootable_recovery-be04a5efa269c2746ad7d7df5bb81350f2f6096f.zip |
Diffstat (limited to '')
-rw-r--r-- | bootloader.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader.h b/bootloader.h index 92c74f078..de5351851 100644 --- a/bootloader.h +++ b/bootloader.h @@ -74,8 +74,11 @@ struct slot_metadata { uint8_t tries_remaining : 3; // 1 if this slot has booted successfully, 0 otherwise. uint8_t successful_boot : 1; + // 1 if this slot is corrupted from a dm-verity corruption, 0 + // otherwise. + uint8_t verity_corrupted : 1; // Reserved for further use. - uint8_t reserved; + uint8_t reserved : 7; } __attribute__((packed)); /* Bootloader Control AB |