void * bootmem_allocate_buffer(size_t size)
void bootmem_dump_ranges(void)
bool(* range_action_t)(const struct range_entry *r, void *arg)
bool bootmem_walk_os_mem(range_action_t action, void *arg)
Walk memory tables from OS point of view and call the provided function, for every region.
void bootmem_platform_add_ranges(void)
bootmem_type
Bootmem types match to LB_MEM tags, except for the following: BM_MEM_RAMSTAGE : Memory where any kind...
void bootmem_arch_add_ranges(void)
void bootmem_add_range(uint64_t start, uint64_t size, const enum bootmem_type tag)
void bootmem_write_memory_table(struct lb_memory *mem)
Write memory coreboot table.
int bootmem_region_targets_type(uint64_t start, uint64_t size, enum bootmem_type dest_type)
bool bootmem_walk(range_action_t action, void *arg)
Walk memory tables and call the provided function, for every region.
unsigned long long uint64_t