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 <console/console.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/systemagent.h>
#include <arch/bert_storage.h>
#include <types.h>
Include dependency graph for memmap.c:

Go to the source code of this file.

Macros

#define BERT_REGION_MAX_SIZE   0x10000
 

Functions

void smm_region (uintptr_t *start, size_t *size)
 
void bert_reserved_region (void **start, size_t *size)
 
void fill_postcar_frame (struct postcar_frame *pcf)
 

Macro Definition Documentation

◆ BERT_REGION_MAX_SIZE

#define BERT_REGION_MAX_SIZE   0x10000

Definition at line 53 of file memmap.c.

Function Documentation

◆ bert_reserved_region()

void bert_reserved_region ( void **  start,
size_t size 
)

Definition at line 61 of file memmap.c.

References BERT_REGION_MAX_SIZE, BIOS_DEBUG, cbmem_add(), CBMEM_ID_ACPI_BERT, and printk.

Here is the call graph for this function:

◆ fill_postcar_frame()

void fill_postcar_frame ( struct postcar_frame pcf)

Definition at line 69 of file memmap.c.

References ALIGN_UP, BIOS_DEBUG, cbmem_top(), fast_spi_cache_ext_bios_postcar(), MiB, MTRR_TYPE_WRBACK, postcar_enable_tseg_cache(), postcar_frame_add_mtrr(), and printk.

Here is the call graph for this function:

◆ smm_region()

void smm_region ( uintptr_t start,
size_t size 
)

Definition at line 55 of file memmap.c.

References sa_get_tseg_base(), and sa_get_tseg_size().

Here is the call graph for this function: