| 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 *is_auth_var_store); |
| 18 | |
| 19 | #endif // SMMSTORETOOL__FV_H__ |