coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memmap.c File Reference
#include <arch/romstage.h>
#include <cbmem.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <soc/iosf.h>
Include dependency graph for memmap.c:

Go to the source code of this file.

Functions

static uintptr_t smm_region_start (void)
 
static size_t smm_region_size (void)
 
voidcbmem_top_chipset (void)
 
void smm_region (uintptr_t *start, size_t *size)
 
void fill_postcar_frame (struct postcar_frame *pcf)
 

Function Documentation

◆ cbmem_top_chipset()

void* cbmem_top_chipset ( void  )

Definition at line 19 of file memmap.c.

References smm_region_start().

Here is the call graph for this function:

◆ fill_postcar_frame()

void fill_postcar_frame ( struct postcar_frame pcf)

Definition at line 30 of file memmap.c.

References ALIGN_DOWN, cbmem_top(), MiB, MTRR_TYPE_WRBACK, and postcar_frame_add_mtrr().

Here is the call graph for this function:

◆ smm_region()

void smm_region ( uintptr_t start,
size_t size 
)

Definition at line 24 of file memmap.c.

References BUNIT_SMRRL, iosf_bunit_read(), and smm_region_size().

Here is the call graph for this function:

◆ smm_region_size()

static size_t smm_region_size ( void  )
static

Definition at line 14 of file memmap.c.

Referenced by smm_region().

Here is the caller graph for this function:

◆ smm_region_start()

static uintptr_t smm_region_start ( void  )
static

Definition at line 9 of file memmap.c.

References BUNIT_SMRRL, and iosf_bunit_read().

Referenced by cbmem_top_chipset().

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