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

Go to the source code of this file.

Macros

#define C1_LATENCY   1
 
#define C6_LATENCY   127
 
#define C7_LATENCY   253
 
#define C8_LATENCY   260
 
#define C9_LATENCY   487
 
#define C10_LATENCY   1048
 
#define C1_POWER   0x3e8
 
#define C6_POWER   0x15e
 
#define C7_POWER   0xc8
 
#define C8_POWER   0xc8
 
#define C9_POWER   0xc8
 
#define C10_POWER   0xc8
 
#define C_STATE_LATENCY_MICRO_SECONDS(limit, base)    (((1 << ((base)*5)) * (limit)) / 1000)
 
#define C_STATE_LATENCY_FROM_LAT_REG(reg)
 

Macro Definition Documentation

◆ C10_LATENCY

#define C10_LATENCY   1048

Definition at line 14 of file cpu.h.

◆ C10_POWER

#define C10_POWER   0xc8

Definition at line 22 of file cpu.h.

◆ C1_LATENCY

#define C1_LATENCY   1

Definition at line 9 of file cpu.h.

◆ C1_POWER

#define C1_POWER   0x3e8

Definition at line 17 of file cpu.h.

◆ C6_LATENCY

#define C6_LATENCY   127

Definition at line 10 of file cpu.h.

◆ C6_POWER

#define C6_POWER   0x15e

Definition at line 18 of file cpu.h.

◆ C7_LATENCY

#define C7_LATENCY   253

Definition at line 11 of file cpu.h.

◆ C7_POWER

#define C7_POWER   0xc8

Definition at line 19 of file cpu.h.

◆ C8_LATENCY

#define C8_LATENCY   260

Definition at line 12 of file cpu.h.

◆ C8_POWER

#define C8_POWER   0xc8

Definition at line 20 of file cpu.h.

◆ C9_LATENCY

#define C9_LATENCY   487

Definition at line 13 of file cpu.h.

◆ C9_POWER

#define C9_POWER   0xc8

Definition at line 21 of file cpu.h.

◆ C_STATE_LATENCY_FROM_LAT_REG

#define C_STATE_LATENCY_FROM_LAT_REG (   reg)
Value:
C_STATE_LATENCY_MICRO_SECONDS(C_STATE_LATENCY_CONTROL_ ##reg## _LIMIT, \
(IRTL_1024_NS >> 10))
#define IRTL_1024_NS
Definition: haswell.h:72
#define C_STATE_LATENCY_MICRO_SECONDS(limit, base)
Definition: cpu.h:24

Definition at line 26 of file cpu.h.

◆ C_STATE_LATENCY_MICRO_SECONDS

#define C_STATE_LATENCY_MICRO_SECONDS (   limit,
  base 
)     (((1 << ((base)*5)) * (limit)) / 1000)

Definition at line 24 of file cpu.h.