coreboot: Split parts that are platform-independent.
We currently assume that coreboot is always i386, it's no longer the case, so split i386-coreboot parts from generic coreboot code.
This commit is contained in:
parent
d08c968514
commit
461bfab7b7
10 changed files with 99 additions and 55 deletions
|
@ -20,6 +20,9 @@
|
|||
#ifndef _GRUB_MACHINE_LBIO_HEADER
|
||||
#define _GRUB_MACHINE_LBIO_HEADER 1
|
||||
|
||||
#include <grub/types.h>
|
||||
#include <grub/err.h>
|
||||
|
||||
struct grub_linuxbios_table_header
|
||||
{
|
||||
grub_uint8_t signature[4];
|
||||
|
@ -102,4 +105,10 @@ EXPORT_FUNC(grub_linuxbios_table_iterate) (int (*hook) (grub_linuxbios_table_ite
|
|||
void *),
|
||||
void *hook_data);
|
||||
|
||||
grub_linuxbios_table_header_t
|
||||
grub_linuxbios_get_tables (void);
|
||||
|
||||
int
|
||||
grub_linuxbios_check_signature (grub_linuxbios_table_header_t tbl_header);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue