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 Fix after register re-org



details:   https://anonhg.NetBSD.org/src/rev/843d347a5a0d
branches:  trunk
changeset: 371897:843d347a5a0d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 16 05:48:15 2022 +0000

description:
Fix after register re-org

diffstat:

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

diffs (21 lines):

diff -r bcf934fbd6a6 -r 843d347a5a0d sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sat Oct 15 23:21:34 2022 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sun Oct 16 05:48:15 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.35 2022/10/15 16:58:16 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.36 2022/10/16 05:48:15 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
@@ -365,9 +365,9 @@
        .option pop
 
        // Now we should ready to start initializing the kernel.
-       mv      a0, s0                  // hartid
+       mv      a0, s10                 // hartid
        mv      a1, t0                  // vdtb
-       //mv    a1, s1                  // dtb (physical)
+       //mv    a1, s11                 // dtb (physical)
 
        li      s0, 0                   // zero frame pointer
        call    _C_LABEL(init_riscv)    // do MD startup



Home | Main Index | Thread Index | Old Index