blob: 975801b60e5eafdcdea6f12d7fad32853b63439b [file] [log] [blame]
Gerd Hoffmann2b962032013-05-30 15:41:48 +02001/*
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 Hoffmann2b962032013-05-30 15:41:48 +020012 */
Thomas Heijligenbcd84fe2019-01-10 16:53:34 +010013#ifndef FW_CFG_H
14#define FW_CFG_H
15#include "fw_cfg_if.h"
Gerd Hoffmann2b962032013-05-30 15:41:48 +020016
Thomas Heijligena05f8a92019-01-10 12:55:59 +010017void fw_cfg_get(uint16_t entry, void *dst, int dstlen);
Thomas Heijligenbcd84fe2019-01-10 16:53:34 +010018int fw_cfg_check_file(FWCfgFile *file, const char *name);
Gerd Hoffmann2b962032013-05-30 15:41:48 +020019int fw_cfg_max_cpus(void);
Gerd Hoffmanndb9d1692014-08-27 11:25:13 +020020unsigned long fw_cfg_smbios_tables(int *handle, unsigned long *current);
Thomas Heijligenda9aa6d2019-01-10 18:19:06 +010021uintptr_t fw_cfg_tolud(void);
Thomas Heijligenbcd84fe2019-01-10 16:53:34 +010022
23#endif /* FW_CFG_H */