2007-07-12 18:35:42 +02:00
|
|
|
/*****************************************************************************\
|
|
|
|
* lbtable.h
|
|
|
|
*****************************************************************************
|
2008-03-01 20:06:32 +01:00
|
|
|
* This file is part of nvramtool, a utility for reading/writing coreboot
|
2008-01-18 16:33:49 +01:00
|
|
|
* parameters and displaying information from the coreboot table.
|
2017-06-05 12:33:23 +02:00
|
|
|
* For details, see https://coreboot.org/nvramtool.
|
2007-07-12 18:35:42 +02:00
|
|
|
*
|
|
|
|
* Please also read the file DISCLAIMER which is included in this software
|
|
|
|
* distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License (as published by the
|
|
|
|
* Free Software Foundation) version 2, dated June 1991.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
|
|
|
* conditions of the GNU General Public License for more details.
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
2008-03-01 20:06:32 +01:00
|
|
|
#ifndef LBTABLE_H
|
|
|
|
#define LBTABLE_H
|
2007-07-12 18:35:42 +02:00
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
2010-01-13 22:00:23 +01:00
|
|
|
void get_lbtable(void);
|
|
|
|
void get_layout_from_cmos_table(void);
|
2011-01-21 08:24:08 +01:00
|
|
|
void get_layout_from_cbfs_file(void);
|
2010-01-13 22:00:23 +01:00
|
|
|
void dump_lbtable(void);
|
|
|
|
void list_lbtable_choices(void);
|
|
|
|
void list_lbtable_item(const char item[]);
|
2011-03-10 08:52:02 +01:00
|
|
|
const struct lb_record *find_lbrec(uint32_t tag);
|
2007-07-12 18:35:42 +02:00
|
|
|
|
2011-01-28 08:56:39 +01:00
|
|
|
void process_layout(void);
|
2010-01-13 22:00:23 +01:00
|
|
|
#endif /* LBTABLE_H */
|