Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Fix two comments



details:   https://anonhg.NetBSD.org/src/rev/54baa30d2cc3
branches:  trunk
changeset: 744884:54baa30d2cc3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Feb 15 17:01:00 2020 +0000

description:
Fix two comments

diffstat:

 sys/arch/mips/mips/mipsX_subr.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 526a5f75f9d9 -r 54baa30d2cc3 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sat Feb 15 16:56:15 2020 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sat Feb 15 17:01:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.106 2020/02/15 16:56:15 skrll Exp $   */
+/*     $NetBSD: mipsX_subr.S,v 1.107 2020/02/15 17:01:00 skrll Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -1960,7 +1960,7 @@
        _SLL    k0, k0, WIRED_SHIFT             # get rid of wired bit
        _SRL    k0, k0, WIRED_SHIFT
 #endif
-       _MTC0   k0, MIPS_COP_0_TLB_LO1          # save PTE entry
+       _MTC0   k0, MIPS_COP_0_TLB_LO1          # load PTE entry
        COP0_SYNC
        and     k0, k0, MIPS3_PG_V              # check for valid entry
 #ifdef MIPS3
@@ -1981,7 +1981,7 @@
        sltiu   k1, k1, MIPS3_TLB_WIRED_UPAGES  # Luckily this is MIPS3_PG_G
        or      k1, k1, k0
 #endif
-       _MTC0   k0, MIPS_COP_0_TLB_LO0          # save PTE entry
+       _MTC0   k0, MIPS_COP_0_TLB_LO0          # load PTE entry
        COP0_SYNC
 #ifdef MIPS3
        nop                                     # required for QED5230



Home | Main Index | Thread Index | Old Index