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 a typo



details:   https://anonhg.NetBSD.org/src/rev/6769272cd64f
branches:  trunk
changeset: 1016078:6769272cd64f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 08 08:12:17 2020 +0000

description:
Fix a typo

diffstat:

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

diffs (18 lines):

diff -r 4c1046694ebb -r 6769272cd64f sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sun Nov 08 08:11:15 2020 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sun Nov 08 08:12:17 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.18 2020/11/08 08:11:15 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.19 2020/11/08 08:12:17 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 #ifdef _LP64
        add     s3, s2, s10             // s3 = second PDE page (RV64 only)
 #else
-       mv      s3, 22
+       mv      s3, s2
 #endif
        add     s4, s3, s10             // s4 = first kernel PTE page
        add     s5, s1, s9              // s5 = kernel_end



Home | Main Index | Thread Index | Old Index