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

Go to the source code of this file.

Functions

void backup_top_of_low_cacheable (uintptr_t ramtop)
 
uintptr_t restore_top_of_low_cacheable (void)
 
voidget_ap_entry_ptr (void)
 
void set_ap_entry_ptr (void *entry)
 
void save_uma_size (uint32_t size)
 
void save_uma_base (uint64_t base)
 
uint32_t get_uma_size (void)
 
uint64_t get_uma_base (void)
 

Function Documentation

◆ backup_top_of_low_cacheable()

void backup_top_of_low_cacheable ( uintptr_t  ramtop)

Definition at line 61 of file biosram.c.

References BIOSRAM_CBMEM_TOP, and biosram_write32().

Referenced by amd_init_post(), and platform_AfterInitPost().

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

◆ get_ap_entry_ptr()

void* get_ap_entry_ptr ( void  )

Definition at line 51 of file biosram.c.

References BIOSRAM_AP_ENTRY, and biosram_read32().

Referenced by ap_bootblock_c_entry(), and bootblock_c_entry().

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

◆ get_uma_base()

uint64_t get_uma_base ( void  )

Definition at line 87 of file biosram.c.

References base, biosram_read32(), and BIOSRAM_UMA_BASE.

Referenced by domain_read_resources().

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

◆ get_uma_size()

uint32_t get_uma_size ( void  )

Definition at line 82 of file biosram.c.

References biosram_read32(), and BIOSRAM_UMA_SIZE.

Referenced by domain_read_resources().

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

◆ restore_top_of_low_cacheable()

uintptr_t restore_top_of_low_cacheable ( void  )

Definition at line 66 of file biosram.c.

References BIOSRAM_CBMEM_TOP, and biosram_read32().

Referenced by add_uma_resource_below_tolm(), and cbmem_top_chipset().

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

◆ save_uma_base()

void save_uma_base ( uint64_t  base)

Definition at line 76 of file biosram.c.

References base, BIOSRAM_UMA_BASE, and biosram_write32().

Referenced by amd_init_post().

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

◆ save_uma_size()

void save_uma_size ( uint32_t  size)

Definition at line 71 of file biosram.c.

References BIOSRAM_UMA_SIZE, and biosram_write32().

Referenced by amd_init_post().

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

◆ set_ap_entry_ptr()

void set_ap_entry_ptr ( void entry)

Definition at line 56 of file biosram.c.

References BIOSRAM_AP_ENTRY, and biosram_write32().

Referenced by bsp_agesa_call(), and romstage_main().

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