Module Name:    src
Committed By:   yamt
Date:           Mon Apr 25 22:24:36 UTC 2011

Modified Files:
        src/sys/arch/x86/include: pmap.h

Log Message:
comment


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/include/pmap.h

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/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.36 src/sys/arch/x86/include/pmap.h:1.37
--- src/sys/arch/x86/include/pmap.h:1.36	Mon Apr 25 22:24:00 2011
+++ src/sys/arch/x86/include/pmap.h	Mon Apr 25 22:24:36 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.36 2011/04/25 22:24:00 yamt Exp $	*/
+/*	$NetBSD: pmap.h,v 1.37 2011/04/25 22:24:36 yamt Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -78,6 +78,8 @@
 
 /*
  * pl*_i: generate index into pde/pte arrays in virtual space
+ *
+ * pl_i(va, X) == plX_i(va) <= pl_i_roundup(va, X)
  */
 #define pl1_i(VA)	(((VA_SIGN_POS(VA)) & L1_FRAME) >> L1_SHIFT)
 #define pl2_i(VA)	(((VA_SIGN_POS(VA)) & L2_FRAME) >> L2_SHIFT)

Reply via email to