Remove some debug printf()s.

Reorder an evcnt_attach_static().
This commit is contained in:
simonb 2004-07-31 13:28:53 +00:00
parent 0d5df45bbd
commit ed2e469e3d

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.28 2003/12/18 14:15:55 pk Exp $ */
/* $NetBSD: pmap.c,v 1.29 2004/07/31 13:28:53 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.28 2003/12/18 14:15:55 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.29 2004/07/31 13:28:53 simonb Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@ -382,7 +382,6 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend)
memmove(mp, mp + 1, (cnt - (mp - avail)) * sizeof *mp);
#endif
printf("Loading pages\n");
for (mp = avail; mp->size; mp++)
uvm_page_physload(atop(mp->start), atop(mp->start + mp->size),
atop(mp->start), atop(mp->start + mp->size),
@ -396,11 +395,10 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend)
nextavail = avail->start;
evcnt_attach_static(&tlbhit_ev);
evcnt_attach_static(&tlbmiss_ev);
evcnt_attach_static(&tlbhit_ev);
evcnt_attach_static(&tlbflush_ev);
evcnt_attach_static(&tlbenter_ev);
printf("Done\n");
}
/*