Merge "slot_metadata: add verity_corrupted field" am: 3788001b2c
am: 1ae2434c11
* commit '1ae2434c117a3cd0b504e3f3ad24730577836a69':
slot_metadata: add verity_corrupted field
Change-Id: I8c7bca4f0bb41268904d09309ef1b94215c24bc8
This commit is contained in:
+4
-1
@@ -74,8 +74,11 @@ struct slot_metadata {
|
|||||||
uint8_t tries_remaining : 3;
|
uint8_t tries_remaining : 3;
|
||||||
// 1 if this slot has booted successfully, 0 otherwise.
|
// 1 if this slot has booted successfully, 0 otherwise.
|
||||||
uint8_t successful_boot : 1;
|
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.
|
// Reserved for further use.
|
||||||
uint8_t reserved;
|
uint8_t reserved : 7;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
/* Bootloader Control AB
|
/* Bootloader Control AB
|
||||||
|
|||||||
Reference in New Issue
Block a user