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 Remove unnecessary register assignments



details:   https://anonhg.NetBSD.org/src/rev/b6cd0e596213
branches:  trunk
changeset: 371875:b6cd0e596213
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 15 16:20:32 2022 +0000

description:
Remove unnecessary register assignments

diffstat:

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

diffs (19 lines):

diff -r 1d0652f5ac74 -r b6cd0e596213 sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sat Oct 15 15:28:23 2022 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sat Oct 15 16:20:32 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.31 2022/10/14 08:10:22 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.32 2022/10/15 16:20:32 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2022 The NetBSD Foundation, Inc.
@@ -125,9 +125,6 @@
         * an initial PDETAB.
         */
 
-       li      s10, PAGE_SIZE
-       li      s9, USPACE
-
        PTR_LA  s5, _C_LABEL(lwp0uspace)
        PTR_LA  s6, _C_LABEL(bootstk)
 



Home | Main Index | Thread Index | Old Index