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

Go to the source code of this file.

Macros

#define CACHED_RAM   (MA_MEM | MA_S | MA_RW)
 
#define UNCACHED_RAM   (MA_MEM | MA_S | MA_RW | MA_MEM_NC)
 
#define DEV_MEM   (MA_DEV | MA_S | MA_RW)
 

Functions

void soc_mmu_dram_config_post_dram_init (void)
 
void qc_mmu_dram_config_post_dram_init (void *ddr_base, size_t ddr_size)
 
bool soc_modem_carve_out (void **start, void **end)
 

Variables

static struct region *const ddr_region = (struct region *)_ddr_information
 

Macro Definition Documentation

◆ CACHED_RAM

#define CACHED_RAM   (MA_MEM | MA_S | MA_RW)

Definition at line 9 of file mmu_common.h.

◆ DEV_MEM

#define DEV_MEM   (MA_DEV | MA_S | MA_RW)

Definition at line 11 of file mmu_common.h.

◆ UNCACHED_RAM

#define UNCACHED_RAM   (MA_MEM | MA_S | MA_RW | MA_MEM_NC)

Definition at line 10 of file mmu_common.h.

Function Documentation

◆ qc_mmu_dram_config_post_dram_init()

void qc_mmu_dram_config_post_dram_init ( void ddr_base,
size_t  ddr_size 
)

Definition at line 10 of file mmu.c.

References CACHED_RAM, mmu_config_range(), NULL, REGION_SIZE, and soc_modem_carve_out().

Referenced by write_ddr_information().

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

◆ soc_mmu_dram_config_post_dram_init()

void soc_mmu_dram_config_post_dram_init ( void  )

◆ soc_modem_carve_out()

bool soc_modem_carve_out ( void **  start,
void **  end 
)

Definition at line 8 of file mmu.c.

References MODEM_ID_LTE, MODEM_ID_WIFI, MODEM_ONLY, and read32().

Referenced by qc_mmu_dram_config_post_dram_init(), and soc_read_resources().

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

Variable Documentation

◆ ddr_region

struct region* const ddr_region = (struct region *)_ddr_information
static

Definition at line 13 of file mmu_common.h.

Referenced by qclib_load_and_run(), soc_read_resources(), and write_ddr_information().