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/8744307bc447
branches:  trunk
changeset: 956819:8744307bc447
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 03de7d5b7245 -r 8744307bc447 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