include/secvar.h: add .lockdown() hook to secvar storage driver
Previously, it was implied that the storage driver would lock itself after
performing a write action. As this behavior is not particularly clear when
reviewing the main secvar flow, this action instead has been made explicit.
@@ -12,6 +12,7 @@ struct secvar_storage_driver {
int (*load_bank)(struct list_head *bank, int section);
int (*write_bank)(struct list_head *bank, int section);
int (*store_init)(void);
+ void (*lockdown)(void);
uint64_t max_var_size;
};
