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 Code consistency. No functional change.
details: https://anonhg.NetBSD.org/src/rev/078a8c100c2a
branches: trunk
changeset: 347175:078a8c100c2a
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Aug 16 09:55:14 2016 +0000
description:
Code consistency. No functional change.
diffstat:
sys/arch/mips/mips/mipsX_subr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ef9be6c488f2 -r 078a8c100c2a sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S Tue Aug 16 08:37:47 2016 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S Tue Aug 16 09:55:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.90 2016/08/15 14:45:31 skrll Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.91 2016/08/16 09:55:14 skrll Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -380,7 +380,7 @@
lui k1, %hi(CPUVAR(PMAP_SEGTAB)) #08: k1=hi of segtab
PTR_ADDI k1, 1 << PTR_SCALESHIFT #09: kernel segtab entry
1:
- andi k0, NBPG-(1<<PTR_SCALESHIFT) #0a: k0=seg offset (mask 0x3)
+ andi k0, (NSEGPG-1)<<PTR_SCALESHIFT #0a: k0=seg offset (mask 0x3)
PTR_L k1, %lo(CPUVAR(PMAP_SEGTAB))(k1)#0b: k1=segment tab
PTR_ADDU k1, k0 #0c: k1=seg entry address
dmfc0 k0, MIPS_COP_0_BAD_VADDR #0d: k0=bad address (again)
Home |
Main Index |
Thread Index |
Old Index