coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#include <stdint.h>
#include <arch/bootblock.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <arch/io.h>
#include <halt.h>
#include "model_206ax.h"
Include dependency graph for bootblock.c:

Go to the source code of this file.

Functions

static void set_flex_ratio_to_tdp_nominal (void)
 
void bootblock_early_cpu_init (void)
 

Function Documentation

◆ bootblock_early_cpu_init()

void bootblock_early_cpu_init ( void  )

Definition at line 70 of file bootblock.c.

References set_flex_ratio_to_tdp_nominal().

Here is the call graph for this function:

◆ set_flex_ratio_to_tdp_nominal()

static void set_flex_ratio_to_tdp_nominal ( void  )
static

Definition at line 20 of file bootblock.c.

References cpuid_eax(), FLEX_RATIO_EN, FLEX_RATIO_LOCK, halt(), msr_struct::hi, IVB_CONFIG_TDP_MIN_CPUID, msr_struct::lo, MSR_CONFIG_TDP_NOMINAL, MSR_FLEX_RATIO, MSR_PLATFORM_INFO, outb(), RCBA32, RCBA32_OR, rdmsr(), soft_reset(), SOFT_RESET_CTRL, SOFT_RESET_DATA, and wrmsr().

Referenced by bootblock_early_cpu_init().

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