coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cbmem.c File Reference
#include <cbmem.h>
#include <commonlib/helpers.h>
#include <symbols.h>
#include <soc/emi.h>
Include dependency graph for cbmem.c:

Go to the source code of this file.

Macros

#define MAX_DRAM_ADDRESS   ((uintptr_t)4 * GiB)
 

Functions

voidcbmem_top_chipset (void)
 

Macro Definition Documentation

◆ MAX_DRAM_ADDRESS

#define MAX_DRAM_ADDRESS   ((uintptr_t)4 * GiB)

Definition at line 8 of file cbmem.c.

Function Documentation

◆ cbmem_top_chipset()

void* cbmem_top_chipset ( void  )

Definition at line 10 of file cbmem.c.

References _dram, MAX_DRAM_ADDRESS, MIN, and sdram_size().

Here is the call graph for this function: