soc/intel/xeon_sp: Drop uncore_fill_ssdt
[coreboot2.git] / util / smmstoretool / storage.h
blob8b91713f14d5d47b35f2c5691f01443a4f170ed4
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SMMSTORETOOL__STORAGE_H__
4 #define SMMSTORETOOL__STORAGE_H__
6 #include "vs.h"
7 #include "utils.h"
9 struct storage_t {
10 bool rw;
11 struct mem_range_t file;
12 struct mem_range_t region;
13 struct mem_range_t store_area;
14 struct var_store_t vs;
17 bool storage_open(const char store_file[], struct storage_t *storage, bool rw);
19 bool storage_write_back(struct storage_t *storage);
21 void storage_drop(struct storage_t *storage);
23 #endif // SMMSTORETOOL__STORAGE_H__