Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/i386/i386 Apply patch (from revision 1.91 of p...
details: https://anonhg.NetBSD.org/src/rev/704f7cb7031f
branches: netbsd-1-4
changeset: 470639:704f7cb7031f
user: he <he%NetBSD.org@localhost>
date: Sat Jun 03 14:18:21 2000 +0000
description:
Apply patch (from revision 1.91 of pmap.c, requested by thorpej):
When allocating new PT pages during early bootstrap (i.e. before
pmap_init() has finished), make sure to zero them.
diffstat:
sys/arch/i386/i386/pmap.new.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r bbdcaf60a987 -r 704f7cb7031f sys/arch/i386/i386/pmap.new.c
--- a/sys/arch/i386/i386/pmap.new.c Thu Jun 01 18:11:13 2000 +0000
+++ b/sys/arch/i386/i386/pmap.new.c Sat Jun 03 14:18:21 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.new.c,v 1.23.2.5 2000/04/26 22:14:10 he Exp $ */
+/* $NetBSD: pmap.new.c,v 1.23.2.6 2000/06/03 14:18:21 he Exp $ */
/*
*
@@ -3567,6 +3567,7 @@
if (uvm_page_physget(&ptaddr) == FALSE)
panic("pmap_growkernel: out of memory");
+ pmap_zero_page(ptaddr);
kpm->pm_pdir[PDSLOT_KERN + nkpde] = ptaddr | PG_RW | PG_V;
kpm->pm_stats.resident_count++; /* count PTP as resident */
Home |
Main Index |
Thread Index |
Old Index