summaryrefslogtreecommitdiff
path: root/util/smmstoretool/fv.h
blob: b28db4cbf26bdb848f4929d3525392ec2b1c66e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef SMMSTORETOOL__FV_H__
#define SMMSTORETOOL__FV_H__

#include <stdbool.h>

#include "utils.h"

// Firmware volume is what's stored in SMMSTORE region of CBFS.  It wraps
// variable store.

bool fv_init(struct mem_range_t fv);

bool fv_parse(struct mem_range_t fv,
	      struct mem_range_t *var_store,
	      bool *auth_vars);

#endif // SMMSTORETOOL__FV_H__