Module Name: src Committed By: jym Date: Sat Sep 17 10:59:58 UTC 2011
Modified Files: src/sys/arch/x86/x86 [jym-xensuspend]: pmap.c Log Message: Fix comment, as noted by cherry@. To generate a diff of this commit: cvs rdiff -u -r1.77.2.12 -r1.77.2.13 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/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.77.2.12 src/sys/arch/x86/x86/pmap.c:1.77.2.13 --- src/sys/arch/x86/x86/pmap.c:1.77.2.12 Sat Aug 27 15:37:30 2011 +++ src/sys/arch/x86/x86/pmap.c Sat Sep 17 10:59:58 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.77.2.12 2011/08/27 15:37:30 jym Exp $ */ +/* $NetBSD: pmap.c,v 1.77.2.13 2011/09/17 10:59:58 jym Exp $ */ /*- * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc. @@ -171,7 +171,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.77.2.12 2011/08/27 15:37:30 jym Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.77.2.13 2011/09/17 10:59:58 jym Exp $"); #include "opt_user_ldt.h" #include "opt_lockdebug.h" @@ -4434,10 +4434,10 @@ * handle them correctly during save/restore, leading to incorrect page * tracking and pinning during restore. * For save/restore to succeed, two functions are introduced: - * - pmap_map_shadow_entries(), used by resume code to set the last entry - * of PDIR_SLOT_PTE so that it points to the correct L2 shadow page - * - pmap_unmap_shadow_entries(), used by suspend code to clear all - * PDIR_SLOT_PTE entries pointing to L2 shadow entries + * - pmap_map_recursive_entries(), used by resume code to set the recursive + * mapping entries to their correct value + * - pmap_unmap_recursive_entries(), used by suspend code to clear all + * PDIR_SLOT_PTE entries */ void pmap_map_recursive_entries(void)