From ce1ff9984dbe8748094433b3c1b1c301ac9809d7 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 25 Aug 2001 02:44:38 +0000 Subject: [PATCH] Add another comment. check for 'teh's this time.. --- sys/amd64/amd64/pmap.c | 7 +++++++ sys/i386/i386/pmap.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index a8726221a3d0..73fb07058690 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -592,6 +592,13 @@ pmap_TLB_invalidate_all(pmap_t pmap) #endif } +/* + * Return an address which is the base of the Virtual mapping of + * all the PTEs for the given pmap. Note this doesn't say that + * all the PTEs will be present or that the pages there are valid. + * The PTEs are made available by the recursive mapping trick. + * It will map in the alternate PTE space if needed. + */ static unsigned * get_ptbase(pmap) pmap_t pmap; diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index a8726221a3d0..73fb07058690 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -592,6 +592,13 @@ pmap_TLB_invalidate_all(pmap_t pmap) #endif } +/* + * Return an address which is the base of the Virtual mapping of + * all the PTEs for the given pmap. Note this doesn't say that + * all the PTEs will be present or that the pages there are valid. + * The PTEs are made available by the recursive mapping trick. + * It will map in the alternate PTE space if needed. + */ static unsigned * get_ptbase(pmap) pmap_t pmap;