Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv/riscv Pretty print



details:   https://anonhg.NetBSD.org/src/rev/ac5fb910d587
branches:  trunk
changeset: 371839:ac5fb910d587
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Oct 14 08:10:22 2022 +0000

description:
Pretty print

diffstat:

 sys/arch/riscv/riscv/locore.S |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r 1591afd1cfa4 -r ac5fb910d587 sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Fri Oct 14 07:58:30 2022 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Fri Oct 14 08:10:22 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.30 2022/10/14 07:58:30 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.31 2022/10/14 08:10:22 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
@@ -212,6 +212,7 @@
 #endif
        REG_S   t0, 0(t1)
 
+       VPRINTS("l2pde:   ")
        VPRINTX(t1)
 #else
 #ifdef notyet
@@ -220,10 +221,11 @@
        REG_S   t0, 0(s3)
 #endif
 
+       VPRINTS("l2pde:   ")
        VPRINTX(s3)
 #endif
 
-       VPRINTS(": ")
+       VPRINTS(":  ")
        VPRINTXNL(t0)
        VPRINTS("\n\r")
 #endif // _LP64
@@ -249,9 +251,9 @@
        slli    s0, s0, (SEGSHIFT - PGSHIFT + PTE_PPN_SHIFT)    // ... to PPN
        or      s0, s0, s7
 .Lfill:
-       VPRINTS("kern ")
+       VPRINTS("kern:    ")
        VPRINTX(s2)
-       VPRINTS(": ")
+       VPRINTS(":  ")
        VPRINTXNL(s0)
 
        REG_S   s0, 0(s2)               // store PDE
@@ -268,9 +270,9 @@
        slli    s0, s0, (SEGSHIFT - PGSHIFT + PTE_PPN_SHIFT)    // ... to PPN
        or      s0, s0, s7
 
-       VPRINTS("dtb  ")
+       VPRINTS("dtb:     ")
        VPRINTX(s2)
-       VPRINTS(": ")
+       VPRINTS(":  ")
        VPRINTXNL(s0)
 
        REG_S   s0, 0(s2)
@@ -282,9 +284,9 @@
        slli    s0, s0, (SEGSHIFT - PGSHIFT + PTE_PPN_SHIFT)    // ... to PPN
        or      s0, s0, s7
 
-       VPRINTS("cons ")
+       VPRINTS("cons:    ")
        VPRINTX(s2)
-       VPRINTS(": ")
+       VPRINTS(":  ")
        VPRINTXNL(s0)
 
        REG_S   s0, 0(s2)



Home | Main Index | Thread Index | Old Index