Module Name:    src
Committed By:   skrll
Date:           Sun Oct 16 05:48:15 UTC 2022

Modified Files:
        src/sys/arch/riscv/riscv: locore.S

Log Message:
Fix after register re-org


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/riscv/riscv/locore.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/riscv/riscv/locore.S
diff -u src/sys/arch/riscv/riscv/locore.S:1.35 src/sys/arch/riscv/riscv/locore.S:1.36
--- src/sys/arch/riscv/riscv/locore.S:1.35	Sat Oct 15 16:58:16 2022
+++ src/sys/arch/riscv/riscv/locore.S	Sun Oct 16 05:48:15 2022
@@ -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 @@ vstart:
 	.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

Reply via email to