Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm More debug.



details:   https://anonhg.NetBSD.org/src/rev/fd8ff0814c40
branches:  trunk
changeset: 1023520:fd8ff0814c40
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Sep 12 07:14:50 2021 +0000

description:
More debug.

diffstat:

 sys/arch/arm/arm/armv6_start.S |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 4972ffc1b9e9 -r fd8ff0814c40 sys/arch/arm/arm/armv6_start.S
--- a/sys/arch/arm/arm/armv6_start.S    Sun Sep 12 06:53:08 2021 +0000
+++ b/sys/arch/arm/arm/armv6_start.S    Sun Sep 12 07:14:50 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: armv6_start.S,v 1.35 2021/08/02 12:56:22 andvar Exp $  */
+/*     $NetBSD: armv6_start.S,v 1.36 2021/09/12 07:14:50 skrll Exp $   */
 
 /*-
  * Copyright (c) 2012, 2017, 2018 The NetBSD Foundation, Inc.
@@ -473,6 +473,14 @@
 
        VPRINTF("virtual\n\r")
 
+       VPRINTF("prrr  : ")
+       mrc     p15, 0, r0, c10, c2, 0  // Primary Region Remap Register (PRRR)
+       VPRINTX(r0)
+       VPRINTF("\n\rnmrr  : ")
+       mrc     p15, 0, r0, c10, c2, 1  // Normal Memory Remap Register (NMRR)
+       VPRINTX(r0)
+       VPRINTF("\n\r")
+
 #if defined(KASAN)
        ldr     r0, =start_stacks_bottom
        bl      _C_LABEL(kasan_early_init)



Home | Main Index | Thread Index | Old Index