coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memmap.h File Reference
#include <stdint.h>
#include <symbols.h>
Include dependency graph for memmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  memmap_early_dram
 

Functions

void memmap_stash_early_dram_usage (void)
 
const struct memmap_early_drammemmap_get_early_dram_usage (void)
 

Function Documentation

◆ memmap_get_early_dram_usage()

const struct memmap_early_dram* memmap_get_early_dram_usage ( void  )

Definition at line 28 of file memmap.c.

References cbmem_find(), CBMEM_ID_CB_EARLY_DRAM, and die().

Referenced by read_resources().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ memmap_stash_early_dram_usage()

void memmap_stash_early_dram_usage ( void  )

Definition at line 15 of file memmap.c.

References memmap_early_dram::base, cbmem_add(), CBMEM_ID_CB_EARLY_DRAM, die(), REGION_SIZE, and memmap_early_dram::size.

Referenced by car_stage_entry().

Here is the call graph for this function:
Here is the caller graph for this function: