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 tyop
details: https://anonhg.NetBSD.org/src/rev/6ab41341dedc
branches: trunk
changeset: 829532:6ab41341dedc
user: maya <maya%NetBSD.org@localhost>
date: Mon Feb 05 10:41:12 2018 +0000
description:
Fix tyop
diffstat:
sys/arch/riscv/riscv/locore.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 111a484424d2 -r 6ab41341dedc sys/arch/riscv/riscv/locore.S
--- a/sys/arch/riscv/riscv/locore.S Mon Feb 05 10:26:06 2018 +0000
+++ b/sys/arch/riscv/riscv/locore.S Mon Feb 05 10:41:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.6 2016/12/05 07:24:16 kamil Exp $ */
+/* $NetBSD: locore.S,v 1.7 2018/02/05 10:41:12 maya Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -190,7 +190,7 @@
REG_L sp, L_MD_KTF(tp) // # load its kernel stack pointer
REG_L t4, TF_SR(sp) // # fetch status register
- csrw sstatus, t4 // # restore it (and interrutps?)
+ csrw sstatus, t4 // # restore it (and interrupts?)
REG_L s0, TF_S0(sp) // restore callee saved
REG_L s1, TF_S1(sp) // restore callee saved
@@ -281,7 +281,7 @@
PTR_S tp, CI_CURLWP(t1) // update curlwp
PTR_L sp, L_MD_KTF(tp) // switch to its stack
#if 0
- csrw sstatus, t0 // reeanble interrupts
+ csrw sstatus, t0 // reenable interrupts
#endif
call _C_LABEL(softint_dispatch)
#if 0
Home |
Main Index |
Thread Index |
Old Index