![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | tsc_struct |
Macros | |
#define | TSC_SYNC |
Typedefs | |
typedef struct tsc_struct | tsc_t |
Functions | |
static tsc_t | rdtsc (void) |
static void | multiply_to_tsc (tsc_t *const tsc, const u32 a, const u32 b) |
static uint64_t | tsc_to_uint64 (tsc_t tstamp) |
static unsigned long long | rdtscll (void) |
unsigned long | tsc_freq_mhz (void) |
static int | tsc_constant_rate (void) |
typedef struct tsc_struct tsc_t |
Definition at line 34 of file tsc.h.
References tsc_struct::hi, and tsc_struct::lo.
Definition at line 20 of file tsc.h.
References tsc_struct::hi, tsc_struct::lo, and TSC_SYNC.
Referenced by calibrate_tsc_with_pit(), and rdtscll().
Definition at line 49 of file tsc.h.
References rdtsc(), and tsc_to_uint64().
Referenced by timestamp_get(), and udelay().
|
inlinestatic |
Definition at line 57 of file tsc.h.
References CONFIG.
Referenced by lb_arch_add_records(), and timestamp_tick_freq_mhz().
Definition at line 118 of file fsb.c.
References BIOS_ERR, bus_freq_khz(), calculate_tsc_freq_from_core_crystal(), CORE_PERF_BOOST_CTRL, CPU_BCLK, cpu_bus_freq_khz(), die(), get_freq_from_cpuid16h(), msr_struct::hi, msr_struct::lo, mhz, MSR_PLATFORM_INFO, pci_read_config32(), printk, PS_LIM_REG, PSTATE_0_MSR, rdmsr(), resolve_timebase(), SOC_PM_DEV, timer_tsc, and TSC_DEFAULT_FREQ_MHZ.
Referenced by baytrail_run_reference_code(), bootblock_c_entry(), init_timer(), lb_arch_add_records(), timestamp_get(), timestamp_tick_freq_mhz(), and udelay().
Definition at line 44 of file tsc.h.
References tsc_struct::hi, and tsc_struct::lo.
Referenced by rdtscll().