Merge "Add flag whether MTE state was forced" into main am: cf6676e15e

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2656836

Change-Id: I87bad089e42751275548a8dc0f81a73ba2e80c27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Florian Mayer 2023-07-14 22:38:04 +00:00 committed by Automerger Merge Worker
commit 90db0020b6

View file

@ -110,6 +110,11 @@ struct misc_memtag_message {
#define MISC_MEMTAG_MODE_MEMTAG_KERNEL 0x4
#define MISC_MEMTAG_MODE_MEMTAG_KERNEL_ONCE 0x8
#define MISC_MEMTAG_MODE_MEMTAG_OFF 0x10
// This is set when the state was overridden forcibly. This does not need to be
// interpreted by the bootloader but is only for bookkeeping purposes so
// userspace knows what to do when the override is undone.
// See system/extras/mtectrl in AOSP for more information.
#define MISC_MEMTAG_MODE_FORCED 0x20
#if (__STDC_VERSION__ >= 201112L) || defined(__cplusplus)
static_assert(sizeof(struct misc_virtual_ab_message) == 64,