coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
static const char * | display_mtrr_type (uint32_t type) |
static void | display_mtrr_fixed_types (uint64_t msr, uint32_t starting_address, uint32_t memory_size) |
static void | display_4k_mtrr (uint32_t msr_reg, uint32_t starting_address, const char *name) |
static void | display_16k_mtrr (uint32_t msr_reg, uint32_t starting_address, const char *name) |
static void | display_64k_mtrr (void) |
static void | display_mtrrcap (void) |
static void | display_mtrr_def_type (void) |
static void | display_variable_mtrr (int index, uint64_t address_mask) |
static void | _display_mtrrs (void) |
asmlinkage void | display_mtrrs (void) |
Definition at line 156 of file debug.c.
References cpu_phys_address_size(), display_16k_mtrr(), display_4k_mtrr(), display_64k_mtrr(), display_mtrr_def_type(), display_mtrrcap(), display_variable_mtrr(), get_var_mtrr_count(), MTRR_FIX_16K_80000, MTRR_FIX_16K_A0000, MTRR_FIX_4K_C0000, MTRR_FIX_4K_C8000, MTRR_FIX_4K_D0000, MTRR_FIX_4K_D8000, MTRR_FIX_4K_E0000, MTRR_FIX_4K_E8000, MTRR_FIX_4K_F0000, and MTRR_FIX_4K_F8000.
Referenced by display_mtrrs().
|
static |
Definition at line 64 of file debug.c.
References BIOS_DEBUG, display_mtrr_fixed_types(), name, printk, rdmsr(), and s.
Referenced by _display_mtrrs().
|
static |
Definition at line 51 of file debug.c.
References BIOS_DEBUG, display_mtrr_fixed_types(), name, printk, rdmsr(), and s.
Referenced by _display_mtrrs().
Definition at line 77 of file debug.c.
References BIOS_DEBUG, display_mtrr_fixed_types(), MTRR_FIX_64K_00000, printk, rdmsr(), and s.
Referenced by _display_mtrrs().
Definition at line 104 of file debug.c.
References BIOS_DEBUG, display_mtrr_type(), MTRR_DEF_TYPE_EN, MTRR_DEF_TYPE_FIX_EN, MTRR_DEF_TYPE_MASK, MTRR_DEF_TYPE_MSR, printk, rdmsr(), and s.
Referenced by _display_mtrrs().
|
static |
Definition at line 21 of file debug.c.
References BIOS_DEBUG, display_mtrr_type(), MTRR_DEF_TYPE_MASK, printk, and type.
Referenced by display_16k_mtrr(), display_4k_mtrr(), and display_64k_mtrr().
|
static |
Definition at line 8 of file debug.c.
References type.
Referenced by display_mtrr_def_type(), display_mtrr_fixed_types(), and display_variable_mtrr().
Definition at line 89 of file debug.c.
References BIOS_DEBUG, msr_struct::hi, msr_struct::lo, MTRR_CAP_FIX, MTRR_CAP_MSR, MTRR_CAP_PRMRR, MTRR_CAP_SMRR, MTRR_CAP_VCNT, MTRR_CAP_WC, printk, and rdmsr().
Referenced by _display_mtrrs().
asmlinkage void display_mtrrs | ( | void | ) |
Definition at line 186 of file debug.c.
References _display_mtrrs(), and CONFIG.
Referenced by bootblock_soc_init(), fsp_debug_after_memory_init(), fsp_debug_after_notify(), fsp_debug_after_silicon_init(), fsp_debug_before_memory_init(), fsp_debug_before_silicon_init(), fsp_notify_dummy(), and main().
Definition at line 120 of file debug.c.
References BIOS_DEBUG, display_mtrr_type(), length, mask, MTRR_DEF_TYPE_MASK, MTRR_PHYS_BASE, MTRR_PHYS_MASK_VALID, printk, rdmsr(), and s.
Referenced by _display_mtrrs().