coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
voltage.c File Reference
#include <cpu/x86/msr.h>
#include <smbios.h>
Include dependency graph for voltage.c:

Go to the source code of this file.

Macros

#define MSR_PERF_STATUS   0x198
 

Functions

unsigned int smbios_cpu_get_voltage (void)
 

Macro Definition Documentation

◆ MSR_PERF_STATUS

#define MSR_PERF_STATUS   0x198

Definition at line 7 of file voltage.c.

Function Documentation

◆ smbios_cpu_get_voltage()

unsigned int smbios_cpu_get_voltage ( void  )

Definition at line 9 of file voltage.c.

References MSR_PERF_STATUS, and rdmsr().

Here is the call graph for this function: