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 - Forgot to change 'tlbpid' to 'asid'. B...
details: https://anonhg.NetBSD.org/src/rev/849a0c97a75d
branches: trunk
changeset: 473039:849a0c97a75d
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue May 18 03:13:37 1999 +0000
description:
- Forgot to change 'tlbpid' to 'asid'. But, why does the MIPS TLBmod
handler touch the value anyway?
diffstat:
sys/arch/mips/mips/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5f59f4ae9bcb -r 849a0c97a75d sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Tue May 18 01:36:51 1999 +0000
+++ b/sys/arch/mips/mips/trap.c Tue May 18 03:13:37 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.108 1999/04/24 08:10:42 simonb Exp $ */
+/* $NetBSD: trap.c,v 1.109 1999/05/18 03:13:37 nisimura Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.108 1999/04/24 08:10:42 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.109 1999/05/18 03:13:37 nisimura Exp $");
#include "opt_cputype.h" /* which mips CPU levels do we support? */
#include "opt_inet.h"
@@ -485,7 +485,7 @@
entry |= mips_pg_m_bit();
pte->pt_entry = entry;
vaddr = (vaddr & ~PGOFSET) |
- (pmap->pm_tlbpid << MIPS_TLB_PID_SHIFT);
+ (pmap->pm_asid << MIPS_TLB_PID_SHIFT);
MachTLBUpdate(vaddr, entry);
pa = pfn_to_vad(entry);
if (!IS_VM_PHYSADDR(pa)) {
Home |
Main Index |
Thread Index |
Old Index