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 Comment re-arragement



details:   https://anonhg.NetBSD.org/src/rev/24ebd2b3ebf9
branches:  trunk
changeset: 371876:24ebd2b3ebf9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 15 16:29:56 2022 +0000

description:
Comment re-arragement

diffstat:

 sys/arch/riscv/riscv/locore.S |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r b6cd0e596213 -r 24ebd2b3ebf9 sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sat Oct 15 16:20:32 2022 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sat Oct 15 16:29:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.32 2022/10/15 16:20:32 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.33 2022/10/15 16:29:56 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
@@ -120,17 +120,17 @@
 
        sub     s8, s8, s11
 
+       PTR_LA  s5, _C_LABEL(lwp0uspace)
+       PTR_LA  s6, _C_LABEL(bootstk)
+
        /*
         * Our load address is not fixed, but our VA is.  We need to construct
         * an initial PDETAB.
+        *
+        * The space for the inital page table is included in the kernel
+        * .bss size calculation so we know the space exists.
         */
 
-       PTR_LA  s5, _C_LABEL(lwp0uspace)
-       PTR_LA  s6, _C_LABEL(bootstk)
-
-       // The space for the inital page table is included in the kernel
-       // .bss size calculation so we know the space exists.
-
        li      a1, 0
        PTR_LA  s2, _C_LABEL(l1_pte)
        mv      s4, s2                  // last page table



Home | Main Index | Thread Index | Old Index