![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | RPM_START ((uintptr_t)_rpm / KiB) |
#define | RPM_END ((uintptr_t)_erpm / KiB) |
#define | RPM_SIZE (RPM_END - RPM_START) |
#define | SRAM_START ((uintptr_t)_sram / KiB) |
#define | SRAM_END ((uintptr_t)_esram / KiB) |
#define | DRAM_START ((uintptr_t)_dram / MiB) |
#define | DRAM_SIZE (CONFIG_DRAM_SIZE_MB) |
#define | DRAM_END (DRAM_START + DRAM_SIZE) |
#define | DMA_START ((uintptr_t)_dma_coherent / MiB) |
#define | DMA_SIZE (REGION_SIZE(dma_coherent) / MiB) |
Functions | |
void | setup_dram_mappings (enum dram_state dram) |
void | setup_mmu (enum dram_state dram) |
#define DMA_SIZE (REGION_SIZE(dma_coherent) / MiB) |
#define DRAM_END (DRAM_START + DRAM_SIZE) |
void setup_dram_mappings | ( | enum dram_state | dram | ) |
Definition at line 22 of file mmu.c.
References DCACHE_OFF, DCACHE_WRITEBACK, DMA_SIZE, DMA_START, DRAM_INITIALIZED, DRAM_SIZE, DRAM_START, ENV_ROMSTAGE, ipq_cbmem_backing_store_ready(), mmu_config_range(), and mmu_disable_range().
void setup_mmu | ( | enum dram_state | dram | ) |
Definition at line 38 of file mmu.c.
References dcache_mmu_disable(), dcache_mmu_enable(), DCACHE_OFF, DCACHE_WRITEBACK, DRAM_END, mmu_config_range(), mmu_config_range_kb(), mmu_disable_range(), mmu_disable_range_kb(), mmu_init(), RPM_SIZE, RPM_START, setup_dram_mappings(), SRAM_END, and SRAM_START.