12 #if CONFIG(SOUTHBRIDGE_INTEL_BD82X6X) || \
13 CONFIG(SOUTHBRIDGE_INTEL_C216)
17 #error "CPU must be paired with Intel BD82X6X or C216 southbridge"
22 msr_t flex_ratio, msr;
37 if (((msr.
hi >> 1) & 3) == 0)
42 nominal_ratio = msr.
lo & 0xff;
45 if (((flex_ratio.
lo >> 8) & 0xff) == nominal_ratio)
49 flex_ratio.
lo &= ~0xff00;
50 flex_ratio.
lo |= nominal_ratio << 8;
static unsigned int cpuid_eax(unsigned int op)
void __weak bootblock_early_cpu_init(void)
#define MSR_CONFIG_TDP_NOMINAL
static void set_flex_ratio_to_tdp_nominal(void)
void outb(u8 val, u16 port)
#define MSR_PLATFORM_INFO
void __noreturn halt(void)
halt the system reliably
static __always_inline msr_t rdmsr(unsigned int index)
static __always_inline void wrmsr(unsigned int index, msr_t msr)
#define IVB_CONFIG_TDP_MIN_CPUID
static __noreturn void soft_reset(void)