blob: b28db4cbf26bdb848f4929d3525392ec2b1c66e2 [file] [log] [blame]
Sergii Dmytruk04bd9652023-11-17 19:31:20 +02001/* 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
13bool fv_init(struct mem_range_t fv);
14
15bool fv_parse(struct mem_range_t fv,
16 struct mem_range_t *var_store,
17 bool *auth_vars);
18
19#endif // SMMSTORETOOL__FV_H__