Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include comment
details: https://anonhg.NetBSD.org/src/rev/56d9b107eec7
branches: trunk
changeset: 764506:56d9b107eec7
user: yamt <yamt%NetBSD.org@localhost>
date: Mon Apr 25 22:24:36 2011 +0000
description:
comment
diffstat:
sys/arch/x86/include/pmap.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 8cf785df7f56 -r 56d9b107eec7 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Mon Apr 25 22:24:00 2011 +0000
+++ b/sys/arch/x86/include/pmap.h Mon Apr 25 22:24:36 2011 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index