Module Name: src Committed By: tsutsui Date: Sat Dec 25 15:29:34 UTC 2010
Modified Files: src/sys/arch/mvme68k/mvme68k: pmap_bootstrap.c Log Message: Fix harmless pasto and tweak some comments. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c diff -u src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.42 src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.43 --- src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c:1.42 Sat Dec 25 14:43:00 2010 +++ src/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c Sat Dec 25 15:29:34 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap_bootstrap.c,v 1.42 2010/12/25 14:43:00 tsutsui Exp $ */ +/* $NetBSD: pmap_bootstrap.c,v 1.43 2010/12/25 15:29:34 tsutsui Exp $ */ /* * Copyright (c) 1991, 1993 @@ -38,7 +38,7 @@ #include "opt_m68k_arch.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.42 2010/12/25 14:43:00 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.43 2010/12/25 15:29:34 tsutsui Exp $"); #include <sys/param.h> #include <sys/kcore.h> @@ -103,7 +103,7 @@ /* * Calculate important physical addresses: * - * lwp0upa lwp0 0 u-area UPAGES pages + * lwp0upa lwp0 u-area UPAGES pages * * kstpa kernel segment table 1 page (!040) * N pages (040) @@ -212,7 +212,7 @@ } /* * Initialize level 1 descriptors. We need: - * roundup(nl2desc, SG4_LEV2SIZE) / SG4_LEV2SIZE + * howmany(nl2desc, SG4_LEV2SIZE) * level 1 descriptors to map the `nl2desc' level 2's. */ nl1desc = howmany(nl2desc, SG4_LEV2SIZE); @@ -302,7 +302,7 @@ * and the software Sysptmap. */ ste = (st_entry_t *)kstpa; - pte = (st_entry_t *)kptmpa; + pte = (pt_entry_t *)kptmpa; epte = &pte[nptpages]; protoste = kptpa | SG_RW | SG_V; protopte = kptpa | PG_RW | PG_CI | PG_V; @@ -319,7 +319,7 @@ este = &este[TIA_SIZE]; while (ste < este) *ste++ = SG_NV; - epte = (st_entry_t *)kptmpa; + epte = (pt_entry_t *)kptmpa; epte = &epte[TIB_SIZE]; while (pte < epte) *pte++ = PG_NV;