coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tables.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <bootmem.h>
4 #include <boot/tables.h>
5 #include <boot/coreboot_tables.h>
6 #include <symbols.h>
7 
8 void arch_write_tables(uintptr_t coreboot_table)
9 {
10 }
11 
13 {
14  if (CONFIG(RISCV_OPENSBI) && REGION_SIZE(opensbi) > 0)
15  bootmem_add_range((uintptr_t)_opensbi, REGION_SIZE(opensbi),
17 }
18 
20 {
21 }
struct arm64_kernel_header header
Definition: fit_payload.c:30
void arch_write_tables(uintptr_t coreboot_table)
Definition: tables.c:8
void bootmem_arch_add_ranges(void)
Definition: tables.c:12
void lb_arch_add_records(struct lb_header *header)
Definition: tables.c:24
@ BM_MEM_OPENSBI
Definition: bootmem.h:29
void bootmem_add_range(uint64_t start, uint64_t size, const enum bootmem_type tag)
Definition: bootmem.c:88
@ CONFIG
Definition: dsi_common.h:201
#define REGION_SIZE(name)
Definition: symbols.h:10
unsigned long uintptr_t
Definition: stdint.h:21