coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_thermal.c File Reference
#include <device/mmio.h>
#include <device/pci_ops.h>
#include "pch.h"
#include "cpu/intel/model_206ax/model_206ax.h"
#include <cpu/x86/msr.h>
Include dependency graph for early_thermal.c:

Go to the source code of this file.

Macros

#define TBARB_TEMP   0x40000000
 

Functions

void early_thermal_init (void)
 

Macro Definition Documentation

◆ TBARB_TEMP

#define TBARB_TEMP   0x40000000

Definition at line 10 of file early_thermal.c.

Function Documentation

◆ early_thermal_init()

void early_thermal_init ( void  )

Definition at line 14 of file early_thermal.c.

References msr_struct::lo, MSR_TEMPERATURE_TARGET, PCH_THERMAL_DEV, pci_and_config32(), pci_or_config32(), pci_write_config32(), RCBA32_AND_OR, rdmsr(), read16p(), TBARB_TEMP, write16p(), and write8p().

Referenced by init_dram_ddr3(), and mainboard_romstage_entry().

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