Sergii Dmytruk | 04bd965 | 2023-11-17 19:31:20 +0200 | [diff] [blame] | 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__ |