mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 02:04:55 +00:00
The write_tables function was void. It is a bit more useful for loading payloads from the romstage if it returns a pointer to the table it creates. Change-Id: I6eeaf3e16bcbaf1e7ec3eada8026c466d2fb6f5a Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/27537 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
22 lines
595 B
C
22 lines
595 B
C
#ifndef BOOT_TABLES_H
|
|
#define BOOT_TABLES_H
|
|
|
|
#include <boot/coreboot_tables.h>
|
|
|
|
/*
|
|
* Write architecture specific tables as well as the common
|
|
* coreboot table.
|
|
* Returns a pointer to the table or NULL on error.
|
|
*/
|
|
void *write_tables(void);
|
|
|
|
/*
|
|
* Allow per-architecture table writes called from write_tables(). The
|
|
* coreboot_table parameter provides a reference to where the coreboot
|
|
* table will be written. The parameter is to allow architectures to
|
|
* provide a forwarding table to real coreboot table.
|
|
*/
|
|
void arch_write_tables(uintptr_t coreboot_table);
|
|
|
|
#endif /* BOOT_TABLES_H */
|