Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Add a few comments wrt PTEs



details:   https://anonhg.NetBSD.org/src/rev/f82ebace0f4c
branches:  trunk
changeset: 574250:f82ebace0f4c
user:      heas <heas%NetBSD.org@localhost>
date:      Fri Feb 25 17:29:04 2005 +0000

description:
Add a few comments wrt PTEs

diffstat:

 sys/arch/sparc64/include/pmap.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 7d0a8bb6dbd9 -r f82ebace0f4c sys/arch/sparc64/include/pmap.h
--- a/sys/arch/sparc64/include/pmap.h   Fri Feb 25 16:12:25 2005 +0000
+++ b/sys/arch/sparc64/include/pmap.h   Fri Feb 25 17:29:04 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.32 2005/01/17 04:37:20 atatat Exp $ */
+/*     $NetBSD: pmap.h,v 1.33 2005/02/25 17:29:04 heas Exp $   */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -73,9 +73,9 @@
 
 #define HOLESHIFT      (43)
 
-#define PTSZ   (PAGE_SIZE/8)
-#define PDSZ   (PTSZ)
-#define STSZ   (PTSZ)
+#define PTSZ   (PAGE_SIZE/8)                   /* page table entry */
+#define PDSZ   (PTSZ)                          /* page directory */
+#define STSZ   (PTSZ)                          /* psegs */
 
 #define PTSHIFT                (13)
 #define        PDSHIFT         (10+PTSHIFT)
@@ -112,7 +112,7 @@
        struct uvm_object pm_obj;
 #define pm_lock pm_obj.vmobjlock
 #define pm_refs pm_obj.uo_refs
-       LIST_ENTRY(pmap) pm_list;
+       LIST_ENTRY(pmap) pm_list;               /* pmap_ctxlist */
 
        struct pmap_statistics pm_stats;
 



Home | Main Index | Thread Index | Old Index