Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Don't use printx before setting up stack.



details:   https://anonhg.NetBSD.org/src/rev/db422423c4f7
branches:  trunk
changeset: 835805:db422423c4f7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 10 07:30:33 2018 +0000

description:
Don't use printx before setting up stack.

diffstat:

 sys/arch/aarch64/aarch64/locore.S |   8 ++++++--
 sys/arch/evbarm/fdt/fdt_start.S   |  12 ++----------
 2 files changed, 8 insertions(+), 12 deletions(-)

diffs (62 lines):

diff -r 2904f8de93d0 -r db422423c4f7 sys/arch/aarch64/aarch64/locore.S
--- a/sys/arch/aarch64/aarch64/locore.S Mon Sep 10 07:04:08 2018 +0000
+++ b/sys/arch/aarch64/aarch64/locore.S Mon Sep 10 07:30:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.23 2018/09/10 05:14:42 skrll Exp $        */
+/*     $NetBSD: locore.S,v 1.24 2018/09/10 07:30:33 skrll Exp $        */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -35,7 +35,7 @@
 #include <aarch64/hypervisor.h>
 #include "assym.h"
 
-RCSID("$NetBSD: locore.S,v 1.23 2018/09/10 05:14:42 skrll Exp $")
+RCSID("$NetBSD: locore.S,v 1.24 2018/09/10 07:30:33 skrll Exp $")
 
 /* #define DEBUG_LOCORE */
 /* #define DEBUG_MMU */
@@ -79,6 +79,10 @@
        ADDR    x0, bootstk
        mov     sp, x0
 
+#ifdef VERBOSE_INIT_ARM
+       PRINT("boot NetBSD/evbarm (aarch64)\r\n")
+#endif
+
 #ifdef DEBUG_LOCORE
        PRINT("PC               = ")
        bl      1f
diff -r 2904f8de93d0 -r db422423c4f7 sys/arch/evbarm/fdt/fdt_start.S
--- a/sys/arch/evbarm/fdt/fdt_start.S   Mon Sep 10 07:04:08 2018 +0000
+++ b/sys/arch/evbarm/fdt/fdt_start.S   Mon Sep 10 07:30:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdt_start.S,v 1.3 2018/07/18 06:50:48 ryo Exp $        */
+/*     $NetBSD: fdt_start.S,v 1.4 2018/09/10 07:30:33 skrll Exp $      */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -32,10 +32,7 @@
 
 #include <aarch64/asm.h>
 
-RCSID("$NetBSD: fdt_start.S,v 1.3 2018/07/18 06:50:48 ryo Exp $")
-
-#define PRINT(string)  \
-       bl xprint;.asciz string;.align 2
+RCSID("$NetBSD: fdt_start.S,v 1.4 2018/09/10 07:30:33 skrll Exp $")
 
 /* load far effective address (pc relative) */
 .macro ADDR, reg, addr
@@ -74,11 +71,6 @@
        ADDR    x8, fdt_addr_r
        str     x0, [x8]
 
-
-#ifdef VERBOSE_INIT_ARM
-       PRINT("boot NetBSD/evbarm (aarch64)\r\n")
-#endif
-
        b       aarch64_start           /* aarch64_start() @ aarch64/locore.S */
 
 ENTRY_NP(uartputc)



Home | Main Index | Thread Index | Old Index