change some register dumps from aprint_verbose to aprint_debug
This commit is contained in:
parent
f96884bf2d
commit
7017cd79aa
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.110 2015/07/08 15:26:19 skrll Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.111 2015/11/12 10:49:35 jmcneill Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.110 2015/07/08 15:26:19 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.111 2015/11/12 10:49:35 jmcneill Exp $");
|
||||
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
@ -840,13 +840,13 @@ identify_features(device_t dv)
|
||||
cpu_processor_features[0] = armreg_pfr0_read();
|
||||
cpu_processor_features[1] = armreg_pfr1_read();
|
||||
|
||||
aprint_verbose_dev(dv, "sctlr: %#x\n", armreg_sctlr_read());
|
||||
aprint_verbose_dev(dv, "actlr: %#x\n", armreg_auxctl_read());
|
||||
aprint_verbose_dev(dv, "revidr: %#x\n", armreg_revidr_read());
|
||||
aprint_debug_dev(dv, "sctlr: %#x\n", armreg_sctlr_read());
|
||||
aprint_debug_dev(dv, "actlr: %#x\n", armreg_auxctl_read());
|
||||
aprint_debug_dev(dv, "revidr: %#x\n", armreg_revidr_read());
|
||||
#ifdef MULTIPROCESSOR
|
||||
aprint_verbose_dev(dv, "mpidr: %#x\n", armreg_mpidr_read());
|
||||
aprint_debug_dev(dv, "mpidr: %#x\n", armreg_mpidr_read());
|
||||
#endif
|
||||
aprint_verbose_dev(dv,
|
||||
aprint_debug_dev(dv,
|
||||
"isar: [0]=%#x [1]=%#x [2]=%#x [3]=%#x, [4]=%#x, [5]=%#x\n",
|
||||
cpu_instruction_set_attributes[0],
|
||||
cpu_instruction_set_attributes[1],
|
||||
@ -854,11 +854,11 @@ identify_features(device_t dv)
|
||||
cpu_instruction_set_attributes[3],
|
||||
cpu_instruction_set_attributes[4],
|
||||
cpu_instruction_set_attributes[5]);
|
||||
aprint_verbose_dev(dv,
|
||||
aprint_debug_dev(dv,
|
||||
"mmfr: [0]=%#x [1]=%#x [2]=%#x [3]=%#x\n",
|
||||
cpu_memory_model_features[0], cpu_memory_model_features[1],
|
||||
cpu_memory_model_features[2], cpu_memory_model_features[3]);
|
||||
aprint_verbose_dev(dv,
|
||||
aprint_debug_dev(dv,
|
||||
"pfr: [0]=%#x [1]=%#x\n",
|
||||
cpu_processor_features[0], cpu_processor_features[1]);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfp_init.c,v 1.48 2015/04/28 17:14:21 jmcneill Exp $ */
|
||||
/* $NetBSD: vfp_init.c,v 1.49 2015/11/12 10:49:35 jmcneill Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 ARM Ltd
|
||||
@ -348,7 +348,7 @@ vfp_attach(struct cpu_info *ci)
|
||||
((f0 & ARM_MVFR0_EXCEPT_MASK) ? ", exceptions" : ""),
|
||||
((f1 & ARM_MVFR1_D_NAN_MASK) ? ", NaN propagation" : ""),
|
||||
((f1 & ARM_MVFR1_FTZ_MASK) ? ", denormals" : ""));
|
||||
aprint_verbose("vfp%d: mvfr: [0]=%#x [1]=%#x\n",
|
||||
aprint_debug("vfp%d: mvfr: [0]=%#x [1]=%#x\n",
|
||||
device_unit(ci->ci_dev), f0, f1);
|
||||
if (CPU_IS_PRIMARY(ci)) {
|
||||
if (f0 & ARM_MVFR0_ROUNDING_MASK) {
|
||||
|
Loading…
Reference in New Issue
Block a user