Module Name: src
Committed By: jym
Date: Thu Jul 23 15:26:21 UTC 2009
Modified Files:
src/sys/arch/x86/x86: pmap.c
src/sys/arch/xen/x86: x86_xpmap.c
Log Message:
Fix typos in comments and __PRINTKs.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/xen/x86/x86_xpmap.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/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.88 src/sys/arch/x86/x86/pmap.c:1.89
--- src/sys/arch/x86/x86/pmap.c:1.88 Sun Jul 19 15:17:29 2009
+++ src/sys/arch/x86/x86/pmap.c Thu Jul 23 15:26:20 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.88 2009/07/19 15:17:29 rmind Exp $ */
+/* $NetBSD: pmap.c,v 1.89 2009/07/23 15:26:20 jym Exp $ */
/*
* Copyright (c) 2007 Manuel Bouyer.
@@ -154,7 +154,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88 2009/07/19 15:17:29 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.89 2009/07/23 15:26:20 jym Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@@ -1713,7 +1713,7 @@
/*
* main pv_entry manipulation functions:
* pmap_enter_pv: enter a mapping onto a pv_head list
- * pmap_remove_pv: remove a mappiing from a pv_head list
+ * pmap_remove_pv: remove a mapping from a pv_head list
*
* NOTE: Both pmap_enter_pv and pmap_remove_pv expect the caller to lock
* the pvh before calling
Index: src/sys/arch/xen/x86/x86_xpmap.c
diff -u src/sys/arch/xen/x86/x86_xpmap.c:1.13 src/sys/arch/xen/x86/x86_xpmap.c:1.14
--- src/sys/arch/xen/x86/x86_xpmap.c:1.13 Sat Jun 20 10:24:28 2009
+++ src/sys/arch/xen/x86/x86_xpmap.c Thu Jul 23 15:26:20 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_xpmap.c,v 1.13 2009/06/20 10:24:28 cegger Exp $ */
+/* $NetBSD: x86_xpmap.c,v 1.14 2009/07/23 15:26:20 jym Exp $ */
/*
* Copyright (c) 2006 Mathieu Ropert <[email protected]>
@@ -79,7 +79,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.13 2009/06/20 10:24:28 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.14 2009/07/23 15:26:20 jym Exp $");
#include "opt_xen.h"
#include "opt_ddb.h"
@@ -880,7 +880,7 @@
(int)(PDIR_SLOT_PTE + 3), pde + PAGE_SIZE * 4, (long)addr,
(int64_t)pde[PDIR_SLOT_PTE + 3]));
#endif
- /* Mark tables RO, and pin the kenrel's shadow as L2 */
+ /* Mark tables RO, and pin the kernel's shadow as L2 */
addr = (u_long)pde - KERNBASE;
for (i = 0; i < 5; i++, addr += PAGE_SIZE) {
xen_bt_set_readonly(((vaddr_t)pde) + PAGE_SIZE * i);
@@ -918,7 +918,7 @@
xen_bt_set_readonly(new_pgd);
#endif
/* Pin the PGD */
- __PRINTK(("pin PDG\n"));
+ __PRINTK(("pin PGD\n"));
#ifdef PAE
xpq_queue_pin_l3_table(xpmap_ptom_masked(new_pgd - KERNBASE));
#else
@@ -934,7 +934,7 @@
#endif /* PAE */
#endif /* i386 */
/* Switch to new tables */
- __PRINTK(("switch to PDG\n"));
+ __PRINTK(("switch to PGD\n"));
xpq_queue_pt_switch(xpmap_ptom_masked(new_pgd - KERNBASE));
__PRINTK(("bt_pgd[PDIR_SLOT_PTE] now entry 0x%" PRIx64 "\n",
(int64_t)bt_pgd[PDIR_SLOT_PTE]));
@@ -953,7 +953,7 @@
/* Now we can safely reclaim space taken by old tables */
- __PRINTK(("unpin old PDG\n"));
+ __PRINTK(("unpin old PGD\n"));
/* Unpin old PGD */
xpq_queue_unpin_table(xpmap_ptom_masked(old_pgd - KERNBASE));
/* Mark old tables RW */