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/pc532/pc532 Apply patch (from pmap.c revision ...
details: https://anonhg.NetBSD.org/src/rev/db3bb1a8cb57
branches: netbsd-1-4
changeset: 470640:db3bb1a8cb57
user: he <he%NetBSD.org@localhost>
date: Sat Jun 03 14:20:32 2000 +0000
description:
Apply patch (from pmap.c revision 1.50, 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/pc532/pc532/pmap.new.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 704f7cb7031f -r db3bb1a8cb57 sys/arch/pc532/pc532/pmap.new.c
--- a/sys/arch/pc532/pc532/pmap.new.c Sat Jun 03 14:18:21 2000 +0000
+++ b/sys/arch/pc532/pc532/pmap.new.c Sat Jun 03 14:20:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.new.c,v 1.10.2.4 2000/04/26 22:15:16 he Exp $ */
+/* $NetBSD: pmap.new.c,v 1.10.2.5 2000/06/03 14:20:32 he Exp $ */
/*
*
@@ -3399,6 +3399,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