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

Go to the source code of this file.

Functions

unsigned long tsc_freq_mhz (void)
 

Function Documentation

◆ tsc_freq_mhz()

unsigned long tsc_freq_mhz ( void  )

Definition at line 9 of file tsc_freq.c.

References CPU_BCLK, msr_struct::lo, MSR_PLATFORM_INFO, and rdmsr().

Here is the call graph for this function: