Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/next68k/next68k Pull up revision 1.8 (requeste...
details: https://anonhg.NetBSD.org/src/rev/6ac0c232792f
branches: netbsd-1-5
changeset: 491040:6ac0c232792f
user: he <he%NetBSD.org@localhost>
date: Sun Apr 01 16:46:03 2001 +0000
description:
Pull up revision 1.8 (requested by dbj):
Initialize the entire pmap table before populating it.
Fixes PR#7174.
diffstat:
sys/arch/next68k/next68k/pmap_bootstrap.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r b62f4d7d68cc -r 6ac0c232792f sys/arch/next68k/next68k/pmap_bootstrap.c
--- a/sys/arch/next68k/next68k/pmap_bootstrap.c Sun Apr 01 16:30:03 2001 +0000
+++ b/sys/arch/next68k/next68k/pmap_bootstrap.c Sun Apr 01 16:46:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.6 1999/03/24 23:47:46 dbj Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.6.18.1 2001/04/01 16:46:03 he Exp $ */
/*
* This file was taken from mvme68k/mvme68k/pmap_bootstrap.c
@@ -189,6 +189,12 @@
#endif
/*
+ * Clear all PTEs to zero
+ */
+ for (pte = (pt_entry_t *)kstpa; pte < (pt_entry_t *)nextpa; pte++)
+ *pte = 0;
+
+ /*
* Initialize segment table and kernel page table map.
*
* On 68030s and earlier MMUs the two are identical except for
Home |
Main Index |
Thread Index |
Old Index