Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 12 | */ |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 13 | #ifndef FW_CFG_H |
| 14 | #define FW_CFG_H |
| 15 | #include "fw_cfg_if.h" |
Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 16 | |
Thomas Heijligen | a05f8a9 | 2019-01-10 12:55:59 +0100 | [diff] [blame] | 17 | void fw_cfg_get(uint16_t entry, void *dst, int dstlen); |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 18 | int fw_cfg_check_file(FWCfgFile *file, const char *name); |
Gerd Hoffmann | 2b96203 | 2013-05-30 15:41:48 +0200 | [diff] [blame] | 19 | int fw_cfg_max_cpus(void); |
Gerd Hoffmann | db9d169 | 2014-08-27 11:25:13 +0200 | [diff] [blame] | 20 | unsigned long fw_cfg_smbios_tables(int *handle, unsigned long *current); |
Thomas Heijligen | da9aa6d | 2019-01-10 18:19:06 +0100 | [diff] [blame^] | 21 | uintptr_t fw_cfg_tolud(void); |
Thomas Heijligen | bcd84fe | 2019-01-10 16:53:34 +0100 | [diff] [blame] | 22 | |
| 23 | #endif /* FW_CFG_H */ |