xref: /aosp_15_r20/external/coreboot/util/smmstoretool/fv.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef SMMSTORETOOL__FV_H__
4 #define SMMSTORETOOL__FV_H__
5 
6 #include <stdbool.h>
7 
8 #include "utils.h"
9 
10 // Firmware volume is what's stored in SMMSTORE region of CBFS.  It wraps
11 // variable store.
12 
13 bool fv_init(struct mem_range_t fv);
14 
15 bool fv_parse(struct mem_range_t fv,
16 	      struct mem_range_t *var_store,
17 	      bool *auth_vars);
18 
19 #endif // SMMSTORETOOL__FV_H__
20