![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpigen.h>
#include <assert.h>
#include <console/console.h>
#include <console/debug.h>
#include <cpu/cpu.h>
#include <cpu/intel/common/common.h>
#include <cpu/intel/em64t101_save_state.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/smm_reloc.h>
#include <cpu/intel/turbo.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/mtrr.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/mp_init.h>
#include <intelpch/lockdown.h>
#include <soc/cpu.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/smmrelocate.h>
#include <soc/soc_util.h>
#include <soc/util.h>
#include <types.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
bool | cpu_soc_is_in_untrusted_mode (void) |
static void | xeon_configure_mca (void) |
void | get_microcode_info (const void **microcode, int *parallel) |
static void | each_cpu_init (struct device *cpu) |
static void | set_max_turbo_freq (void) |
static void | pre_mp_init (void) |
static int | get_thread_count (void) |
static void | post_mp_init (void) |
void | cpx_init_cpus (struct device *dev) |
Variables | |
static const void * | microcode_patch |
static const config_t * | chip_config = NULL |
static struct device_operations | cpu_dev_ops |
static const struct cpu_device_id | cpu_table [] |
static const struct cpu_driver driver | __cpu_driver |
static const struct mp_ops | mp_ops |
Definition at line 209 of file cpu.c.
References BIOS_ERR, chip_config, device::chip_info, intel_microcode_find(), intel_microcode_load_unlocked(), device::link_list, microcode_patch, mp_init_with_smm(), printk, and xeonsp_init_cpu_config().
Definition at line 67 of file cpu.c.
References intel_microcode_find().
|
static |
Definition at line 171 of file cpu.c.
References BIOS_SPEW, cpu_read_topology(), and printk.
Definition at line 165 of file cpu.c.
References x86_mtrr_check(), and x86_setup_mtrrs_with_detect().
Definition at line 135 of file cpu.c.
References BIOS_DEBUG, cpu_config_tdp_levels(), FUNC_ENTER, FUNC_EXIT, get_turbo_state(), msr_struct::hi, IA32_PERF_CTL, msr_struct::lo, MSR_CONFIG_TDP_NOMINAL, MSR_PLATFORM_INFO, MSR_TURBO_RATIO_LIMIT, printk, rdmsr(), TURBO_ENABLED, and wrmsr().
Definition at line 39 of file cpu.c.
References cpuid, cpuid_result::edx, msr_struct::hi, IA32_MCG_CAP, IA32_MCG_CAP_CTL_P_MASK, IA32_MCG_CTL, msr_struct::lo, mca_configure(), rdmsr(), and wrmsr().
|
static |
Definition at line 31 of file cpu.c.
Referenced by cpx_init_cpus().
|
static |
|
static |
|
static |
Definition at line 29 of file cpu.c.
Referenced by cpx_init_cpus().