Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3788001b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "slot_metadata: add verity_corrupted field"

parents 14352497 e77a68f6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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