diff options
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/intel/fsb.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/include/cpu/intel/fsb.h b/src/include/cpu/intel/fsb.h new file mode 100644 index 0000000000..49f3b17aae --- /dev/null +++ b/src/include/cpu/intel/fsb.h @@ -0,0 +1,30 @@ +/* + * This file is part of the coreboot project. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef CPU_INTEL_FSB_H +#define CPU_INTEL_FSB_H + +/* + * This function returns: + * the system bus speed value in MHz + * -1 if FSB is not found + * -2 if the CPU is not supported + */ +int get_ia32_fsb(void); + +/* + * This function returns round up 3 * get_ia32_fsb() + */ +int get_ia32_fsb_x3(void); + +#endif /* CPU_INTEL_FSB_H */ |