Module Name: src
Committed By: matt
Date: Sun May 17 06:30:06 UTC 2015
Modified Files:
src/sys/arch/arm/arm32: cpu.c
Log Message:
Print out mpidr on MP systems (verbose print)
To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/arm/arm32/cpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/cpu.c
diff -u src/sys/arch/arm/arm32/cpu.c:1.107 src/sys/arch/arm/arm32/cpu.c:1.108
--- src/sys/arch/arm/arm32/cpu.c:1.107 Tue Mar 3 23:42:47 2015
+++ src/sys/arch/arm/arm32/cpu.c Sun May 17 06:30:06 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.107 2015/03/03 23:42:47 jmcneill Exp $ */
+/* $NetBSD: cpu.c,v 1.108 2015/05/17 06:30:06 matt Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.107 2015/03/03 23:42:47 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.108 2015/05/17 06:30:06 matt Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@@ -840,6 +840,9 @@ identify_features(device_t dv)
cpu_processor_features[0] = armreg_pfr0_read();
cpu_processor_features[1] = armreg_pfr1_read();
+#ifdef MULTIPROCESSOR
+ aprint_verbose_dev(dv, "mpidr: %#x\n", armreg_mpidr_read());
+#endif
aprint_verbose_dev(dv,
"isar: [0]=%#x [1]=%#x [2]=%#x [3]=%#x, [4]=%#x, [5]=%#x\n",
cpu_instruction_set_attributes[0],