coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mtrr.c File Reference
#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>
#include <soc/pci_devs.h>
#include <soc/reg_access.h>
Include dependency graph for mtrr.c:

Go to the source code of this file.

Functions

asmlinkage voidsoc_set_mtrrs (void *top_of_stack)
 
asmlinkage void soc_enable_mtrrs (void)
 

Function Documentation

◆ soc_enable_mtrrs()

asmlinkage void soc_enable_mtrrs ( void  )

Definition at line 69 of file mtrr.c.

References MTRR_DEF_TYPE_EN, MTRR_DEF_TYPE_MSR, soc_msr_read(), and soc_msr_write().

Here is the call graph for this function:

◆ soc_set_mtrrs()

asmlinkage void* soc_set_mtrrs ( void top_of_stack)

Definition at line 8 of file mtrr.c.

References MTRR_PHYS_BASE, and soc_msr_write().

Here is the call graph for this function: