Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Fix typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/5c79db4d7f8f
branches:  trunk
changeset: 751963:5c79db4d7f8f
user:      jym <jym%NetBSD.org@localhost>
date:      Tue Feb 09 22:51:13 2010 +0000

description:
Fix typos in comments.

diffstat:

 sys/arch/i386/include/pmap.h |  4 ++--
 sys/arch/x86/include/pmap.h  |  4 ++--
 sys/arch/x86/x86/pmap.c      |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r d68f7eb458a4 -r 5c79db4d7f8f sys/arch/i386/include/pmap.h
--- a/sys/arch/i386/include/pmap.h      Tue Feb 09 22:44:43 2010 +0000
+++ b/sys/arch/i386/include/pmap.h      Tue Feb 09 22:51:13 2010 +0000
@@ -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.
diff -r d68f7eb458a4 -r 5c79db4d7f8f sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h       Tue Feb 09 22:44:43 2010 +0000
+++ b/sys/arch/x86/include/pmap.h       Tue Feb 09 22:51:13 2010 +0000
@@ -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
diff -r d68f7eb458a4 -r 5c79db4d7f8f sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Tue Feb 09 22:44:43 2010 +0000
+++ b/sys/arch/x86/x86/pmap.c   Tue Feb 09 22:51:13 2010 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index