Module Name: src Committed By: jym Date: Tue Feb 9 22:51:14 UTC 2010
Modified Files: src/sys/arch/i386/include: pmap.h src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: pmap.c Log Message: Fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/i386/include/pmap.h cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x86/include/pmap.h cvs rdiff -u -r1.100 -r1.101 src/sys/arch/x86/x86/pmap.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/i386/include/pmap.h diff -u src/sys/arch/i386/include/pmap.h:1.103 src/sys/arch/i386/include/pmap.h:1.104 --- src/sys/arch/i386/include/pmap.h:1.103 Sun Oct 26 06:57:30 2008 +++ src/sys/arch/i386/include/pmap.h Tue Feb 9 22:51:13 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.103 2008/10/26 06:57:30 mrg Exp $ */ +/* $NetBSD: pmap.h,v 1.104 2010/02/09 22:51:13 jym Exp $ */ /* * @@ -192,7 +192,7 @@ * last entry of the L3 PD, which makes it hard to use one L3 page per pmap * switch %cr3 to switch pmaps. So we use one static L3 page which is * always loaded in %cr3, and we use it as 2 virtual PD pointers: one for - * kenrel space (L3[3], always loaded), and one for user space (in fact the + * kernel space (L3[3], always loaded), and one for user space (in fact the * first 3 entries of the L3 PD), and we claim the VM has only a 2-level * PTP (with the L2 index extended by 2 bytes). * PTE_BASE and APTE_BASE will need 4 entries in the L2 page table. Index: src/sys/arch/x86/include/pmap.h diff -u src/sys/arch/x86/include/pmap.h:1.28 src/sys/arch/x86/include/pmap.h:1.29 --- src/sys/arch/x86/include/pmap.h:1.28 Wed Nov 11 17:08:16 2009 +++ src/sys/arch/x86/include/pmap.h Tue Feb 9 22:51:13 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.28 2009/11/11 17:08:16 cegger Exp $ */ +/* $NetBSD: pmap.h,v 1.29 2010/02/09 22:51:13 jym Exp $ */ /* * @@ -106,7 +106,7 @@ #define ptp_va2o(va, lvl) (pl_i(va, (lvl)+1) * PAGE_SIZE) -/* size of a PDP: usually one page, exept for PAE */ +/* size of a PDP: usually one page, except for PAE */ #ifdef PAE #define PDP_SIZE 4 #else Index: src/sys/arch/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.100 src/sys/arch/x86/x86/pmap.c:1.101 --- src/sys/arch/x86/x86/pmap.c:1.100 Sun Jan 31 00:43:37 2010 +++ src/sys/arch/x86/x86/pmap.c Tue Feb 9 22:51:14 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.100 2010/01/31 00:43:37 hubertf Exp $ */ +/* $NetBSD: pmap.c,v 1.101 2010/02/09 22:51:14 jym Exp $ */ /* * Copyright (c) 2007 Manuel Bouyer. @@ -149,7 +149,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.100 2010/01/31 00:43:37 hubertf Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.101 2010/02/09 22:51:14 jym Exp $"); #include "opt_user_ldt.h" #include "opt_lockdebug.h" @@ -406,7 +406,7 @@ #ifdef XEN #ifdef __x86_64__ -/* Dummy PGD for user cr3, used between pmap_deacivate() and pmap_activate() */ +/* Dummy PGD for user cr3, used between pmap_deactivate() and pmap_activate() */ static paddr_t xen_dummy_user_pgd; /* Currently active user PGD (can't use rcr3()) */ static paddr_t xen_current_user_pgd = 0;