1 #ifndef COREBOOT_TABLE_H
2 #define COREBOOT_TABLE_H
4 #include <boot/coreboot_tables.h>
6 /* This file holds function prototypes for building the coreboot table. */
7 unsigned long write_coreboot_table(
8 unsigned long low_table_start, unsigned long low_table_end,
9 unsigned long rom_table_start, unsigned long rom_table_end);
11 void lb_memory_range(struct lb_memory *mem,
12 uint32_t type, uint64_t start, uint64_t size);
14 /* Routines to extract part so the coreboot table or information
15 * from the coreboot table.
17 struct lb_memory *get_lb_mem(void);
19 extern struct cmos_option_table option_table;
21 /* defined by mainboard.c if the mainboard requires extra resources */
22 int add_mainboard_resources(struct lb_memory *mem);
23 int add_northbridge_resources(struct lb_memory *mem);
25 #endif /* COREBOOT_TABLE_H */