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 aprint_debug_dev output alignment



details:   https://anonhg.NetBSD.org/src/rev/b7ce559549a2
branches:  trunk
changeset: 459872:b7ce559549a2
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Sep 29 06:51:45 2019 +0000

description:
aprint_debug_dev output alignment

diffstat:

 sys/arch/arm/arm32/cpu.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 27e8c0e2e4b3 -r b7ce559549a2 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c  Sun Sep 29 05:35:29 2019 +0000
+++ b/sys/arch/arm/arm32/cpu.c  Sun Sep 29 06:51:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.131 2019/09/08 07:59:43 tnn Exp $    */
+/*     $NetBSD: cpu.c,v 1.132 2019/09/29 06:51:45 skrll Exp $  */
 
 /*
  * Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.131 2019/09/08 07:59:43 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.132 2019/09/29 06:51:45 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -689,6 +689,8 @@
                aprint_normal(": %s\n", model);
        }
 
+       aprint_debug_dev(dv, "midr:   %#x\n", arm_cpuid);
+
        aprint_normal("%s:", xname);
 
        switch (cpu_class) {
@@ -856,11 +858,11 @@
        cpu_processor_features[0] = armreg_pfr0_read();
        cpu_processor_features[1] = armreg_pfr1_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, "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_debug_dev(dv, "mpidr: %#x\n", armreg_mpidr_read());
+       aprint_debug_dev(dv, "mpidr:  %#x\n", armreg_mpidr_read());
 #endif
        aprint_debug_dev(dv,
            "isar: [0]=%#x [1]=%#x [2]=%#x [3]=%#x, [4]=%#x, [5]=%#x\n",



Home | Main Index | Thread Index | Old Index