coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/pci.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/smm_reloc.h>
#include <cpu/intel/turbo.h>
#include <cpu/intel/common/common.h>
#include <fsp/api.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/mp_init.h>
#include <intelblocks/msr.h>
#include <soc/cpu.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
#include <types.h>
Go to the source code of this file.
Functions | |
bool | cpu_soc_is_in_untrusted_mode (void) |
static void | soc_fsp_load (void) |
static void | configure_misc (void) |
static void | configure_c_states (void) |
void | soc_core_init (struct device *cpu) |
static void | per_cpu_smm_trigger (void) |
static void | post_mp_init (void) |
void | soc_init_cpus (struct bus *cpu_bus) |
Variables | |
static const struct mp_ops | mp_ops |
Definition at line 63 of file cpu.c.
References C_STATE_LATENCY_CONTROL_1_LIMIT, C_STATE_LATENCY_CONTROL_2_LIMIT, C_STATE_LATENCY_CONTROL_3_LIMIT, C_STATE_LATENCY_CONTROL_4_LIMIT, C_STATE_LATENCY_CONTROL_5_LIMIT, msr_struct::hi, IRTL_32768_NS, IRTL_VALID, msr_struct::lo, MSR_C_STATE_LATENCY_CONTROL_1, MSR_C_STATE_LATENCY_CONTROL_2, MSR_C_STATE_LATENCY_CONTROL_3, MSR_C_STATE_LATENCY_CONTROL_4, MSR_C_STATE_LATENCY_CONTROL_5, and wrmsr().
Referenced by soc_core_init().
Definition at line 32 of file cpu.c.
References config_of_soc, cpu_set_eist(), msr_struct::hi, IA32_MISC_ENABLE, IA32_PACKAGE_THERM_INTERRUPT, IA32_THERM_INTERRUPT, msr_struct::lo, MSR_POWER_CTL, rdmsr(), and wrmsr().
Referenced by soc_core_init().
Definition at line 19 of file cpu.c.
References ENABLE_IA_UNTRUSTED, msr_struct::lo, MSR_BIOS_DONE, and rdmsr().
Definition at line 125 of file cpu.c.
References smm_relocate().
Definition at line 97 of file cpu.c.
References configure_c_states(), configure_dca_cap(), configure_misc(), enable_lapic_tpr(), enable_pm_timer_emulation(), enable_turbo(), ENERGY_POLICY_NORMAL, mca_configure(), and set_energy_perf_bias().
Definition at line 27 of file cpu.c.
References fsps_load().
Definition at line 159 of file cpu.c.
References mp_init_with_smm().