diff options
Diffstat (limited to 'firmware/2lib/include/2constants.h')
-rw-r--r-- | firmware/2lib/include/2constants.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/2lib/include/2constants.h b/firmware/2lib/include/2constants.h index 96dc9995..c1e6bb91 100644 --- a/firmware/2lib/include/2constants.h +++ b/firmware/2lib/include/2constants.h @@ -80,6 +80,14 @@ #ifndef __ASSEMBLER__ #include <stdint.h> typedef uint32_t vb2_gbb_flags_t; +/* + * We use disk handles rather than indices. Using indices causes problems if + * a disk is removed/inserted in the middle of processing. + * + * TODO(b/181739551): move this to 2api.h when the VbExDisk* functions are + * removed from vboot_api.h. + */ +typedef void *vb2ex_disk_handle_t; #endif /* Size of legacy VbSharedDataHeader struct. Defined here to avoid including |