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 Quick hack to make this link



details:   https://anonhg.NetBSD.org/src/rev/d21b6c099d26
branches:  trunk
changeset: 378956:d21b6c099d26
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 01 07:10:34 2021 +0000

description:
Quick hack to make this link

diffstat:

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

diffs (19 lines):

diff -r f23c5201e369 -r d21b6c099d26 sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S     Sat May 01 07:09:55 2021 +0000
+++ b/sys/arch/riscv/riscv/locore.S     Sat May 01 07:10:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.20 2020/11/08 10:08:28 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.21 2021/05/01 07:10:34 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -120,8 +120,7 @@ ENTRY_NP(start)
 #endif
 
        // We should have a VM so let's start using our real addresses
-       lui     t0, %hi(.Lmmu_on)       // load hi part of absolute address
-       jr      t0, %lo(.Lmmu_on)       // jump to absolute address
+       PTR_LA  t0, .Lmmu_on
 
 .Lmmu_on:
        // MMU is on!



Home | Main Index | Thread Index | Old Index