Angel Pons | 585495e | 2020-04-03 01:21:38 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 2 | #ifndef FW_CFG_H |
| 3 | #define FW_CFG_H |
| 4 | #include "fw_cfg_if.h" |
Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 5 | |
Thomas Heijligen | a05f8a9 | 2019-01-10 12:55:59 +0100 | [diff] [blame] | 6 | void fw_cfg_get(uint16_t entry, void *dst, int dstlen); |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 7 | int fw_cfg_check_file(FWCfgFile *file, const char *name); |
Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 8 | int fw_cfg_max_cpus(void); |
Gerd Hoffmann | db9d169 | 2014-08-27 11:25:13 +0200 | [diff] [blame] | 9 | unsigned long fw_cfg_smbios_tables(int *handle, unsigned long *current); |
Thomas Heijligen | da9aa6d | 2019-01-10 18:19:06 +0100 | [diff] [blame] | 10 | uintptr_t fw_cfg_tolud(void); |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 11 | |
| 12 | #endif /* FW_CFG_H */ |