Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/vax/vax Pull up revision 1.115 (requested by r...
details: https://anonhg.NetBSD.org/src/rev/b6c645bcaa25
branches: netbsd-1-6
changeset: 527839:b6c645bcaa25
user: tv <tv%NetBSD.org@localhost>
date: Mon Jun 10 17:09:11 2002 +0000
description:
Pull up revision 1.115 (requested by ragge in ticket #229):
Must multiply the pte count with its size when copying ptes when the P1
region is expanded. Fixes bug reported by Matt Thomas on port-vax.
diffstat:
sys/arch/vax/vax/pmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5a422b34bd69 -r b6c645bcaa25 sys/arch/vax/vax/pmap.c
--- a/sys/arch/vax/vax/pmap.c Mon Jun 10 17:08:01 2002 +0000
+++ b/sys/arch/vax/vax/pmap.c Mon Jun 10 17:09:11 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.113.4.1 2002/06/07 19:30:09 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.113.4.2 2002/06/10 17:09:11 tv Exp $ */
/*
* Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -782,7 +782,7 @@
bzero(kvtopte(nptespc), vax_btop(nlen-olen) * PPTESZ);
if (optespc)
bcopy(kvtopte(optespc), kvtopte(nptespc+nlen-olen),
- vax_btop(olen));
+ vax_btop(olen) * PPTESZ);
pm->pm_p1ap = (struct pte *)nptespc;
pm->pm_p1br = (struct pte *)(nptespc+nlen-0x800000);
Home |
Main Index |
Thread Index |
Old Index