aboutsummaryrefslogtreecommitdiff
path: root/src/include/cpu/intel/fsb.h
blob: 49f3b17aaec798ce7050ae1bb807bec7e3f26df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 */