diff options
author | gonzo <gonzo@FreeBSD.org> | 2009-01-14 20:16:44 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2009-01-14 20:16:44 +0000 |
commit | e90f59a5ecdc1590164f826b227908c1ec467a39 (patch) | |
tree | 550d43e876653384ebad297d4d2fc068db8c6eaa /sys/mips | |
parent | f068898e8495323b133af4fa41e87d39ceb84b98 (diff) | |
download | FreeBSD-src-e90f59a5ecdc1590164f826b227908c1ec467a39.zip FreeBSD-src-e90f59a5ecdc1590164f826b227908c1ec467a39.tar.gz |
o Move $FreeBSD$ from comment to __FBSDID macro
o Be a bit more verbose about CPU type during boot process (print
manufacturer, chip info, MMU and cache parameters)
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/cpu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/mips/mips/cpu.c b/sys/mips/mips/cpu.c index 6eac8f7..f9596e2 100644 --- a/sys/mips/mips/cpu.c +++ b/sys/mips/mips/cpu.c @@ -22,9 +22,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/kernel.h> #include <sys/module.h> @@ -132,6 +134,8 @@ mips_cpu_init(void) mips_icache_sync_all(); mips_dcache_wbinv_all(); + /* Print some info about CPU */ + cpu_identify(); } void |