coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
fsb.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_ia32_fsb_x3 (void)
 Returns three times the FSB clock in MHz. More...
 

Function Documentation

◆ get_ia32_fsb_x3()

int get_ia32_fsb_x3 ( void  )

Returns three times the FSB clock in MHz.

The result of calculations with the returned value shall be divided by 3. This helps to avoid rounding errors.

Definition at line 133 of file fsb.c.

References BIOS_ERR, DIV_ROUND_CLOSEST, get_timer_fsb(), and printk.

Referenced by gen_pstate_entries().

Here is the call graph for this function:
Here is the caller graph for this function: