Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Print out mpidr on MP systems (verbose pr...
details: https://anonhg.NetBSD.org/src/rev/1371dbe46522
branches: trunk
changeset: 338288:1371dbe46522
user: matt <matt%NetBSD.org@localhost>
date: Sun May 17 06:30:06 2015 +0000
description:
Print out mpidr on MP systems (verbose print)
diffstat:
sys/arch/arm/arm32/cpu.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 727e55a5eb79 -r 1371dbe46522 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Sun May 17 06:15:50 2015 +0000
+++ b/sys/arch/arm/arm32/cpu.c Sun May 17 06:30:06 2015 +0000
@@ -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 @@
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],
Home |
Main Index |
Thread Index |
Old Index