coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | CPUID_LEAF_PM 6 |
#define | PM_CAP_TURBO_MODE (1 << 1) |
#define | MONITOR_MWAIT_DIS_MASK 0x40000 |
#define | H_MISC_DISABLE_TURBO (1 << 6) |
Enumerations | |
enum | { TURBO_UNKNOWN , TURBO_UNAVAILABLE , TURBO_DISABLED , TURBO_ENABLED } |
Functions | |
int | get_turbo_state (void) |
void | enable_turbo (void) |
void | disable_turbo (void) |
anonymous enum |
Definition at line 108 of file turbo.c.
References get_turbo_state(), H_MISC_DISABLE_TURBO, msr_struct::hi, IA32_MISC_ENABLE, rdmsr(), TURBO_ENABLED, update_turbo_state(), and wrmsr().
Referenced by devtree_update(), and soc_core_init().
Definition at line 89 of file turbo.c.
References get_turbo_state(), H_MISC_DISABLE_TURBO, msr_struct::hi, IA32_MISC_ENABLE, rdmsr(), TURBO_DISABLED, update_turbo_state(), and wrmsr().
Referenced by cpu_core_init(), model_2065x_init(), model_206ax_init(), pre_mp_init(), and soc_core_init().
int get_turbo_state | ( | void | ) |
Definition at line 75 of file turbo.c.
References get_global_turbo_state(), TURBO_UNKNOWN, and update_turbo_state().
Referenced by cpu_set_max_ratio(), disable_turbo(), enable_turbo(), generate_P_state_entries(), generate_p_state_entries(), set_max_ratio(), set_max_turbo_freq(), and soc_power_states_generation().