summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2015-08-22 07:16:11 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2015-08-22 07:16:11 +0000
commit004764b50a64ea4d71b0a4ba276d24325bca5f7d (patch)
tree262c82a664f2695dc2b1ffe3618367a320f44d30 /sys/arch
parentfa16235303d98d6ff54fd71ac3006781ac825ce9 (diff)
delete some wrong comments
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmap.c3
-rw-r--r--sys/arch/i386/i386/pmapae.c3
-rw-r--r--sys/arch/i386/include/pmap.h10
3 files changed, 3 insertions, 13 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index f6a30be0453..d1f7c4daa56 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.181 2015/07/10 10:07:31 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.182 2015/08/22 07:16:10 mlarkin Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -290,7 +290,6 @@
* The following defines give the virtual addresses of various MMU
* data structures:
* PTE_BASE and APTE_BASE: the base VA of the linear PTE mappings
- * PTD_BASE and APTD_BASE: the base VA of the recursive mapping of the PTD
* PDP_PDE and APDP_PDE: the VA of the PDE that points back to the PDP/APDP
*/
#define PTE_BASE ((pt_entry_t *) (PDSLOT_PTE * NBPD))
diff --git a/sys/arch/i386/i386/pmapae.c b/sys/arch/i386/i386/pmapae.c
index 9accb059a32..e3aa0f93132 100644
--- a/sys/arch/i386/i386/pmapae.c
+++ b/sys/arch/i386/i386/pmapae.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmapae.c,v 1.41 2015/08/04 06:12:16 mlarkin Exp $ */
+/* $OpenBSD: pmapae.c,v 1.42 2015/08/22 07:16:10 mlarkin Exp $ */
/*
* Copyright (c) 2006-2008 Michael Shalayeff
@@ -355,7 +355,6 @@
* The following defines give the virtual addresses of various MMU
* data structures:
* PTE_BASE and APTE_BASE: the base VA of the linear PTE mappings
- * PTD_BASE and APTD_BASE: the base VA of the recursive mapping of the PTD
* PDP_PDE and APDP_PDE: the VA of the PDE that points back to the PDP/APDP
*/
#define PTE_BASE ((pt_entry_t *) (PDSLOT_PTE * NBPD))
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h
index e5cc987a44b..24b1da6109a 100644
--- a/sys/arch/i386/include/pmap.h
+++ b/sys/arch/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.77 2015/08/20 03:43:29 mlarkin Exp $ */
+/* $OpenBSD: pmap.h,v 1.78 2015/08/22 07:16:10 mlarkin Exp $ */
/* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */
/*
@@ -41,14 +41,6 @@
#include <uvm/uvm_object.h>
#include <machine/pte.h>
-/*
- * The following defines give the virtual addresses of various MMU
- * data structures:
- * PTE_BASE and APTE_BASE: the base VA of the linear PTE mappings
- * PTD_BASE and APTD_BASE: the base VA of the recursive mapping of the PTD
- * PDP_PDE and APDP_PDE: the VA of the PDE that points back to the PDP/APDP
- */
-
#define PDSLOT_PTE ((KERNBASE/NBPD)-2) /* 830: for recursive PDP map */
#define PDSLOT_KERN (KERNBASE/NBPD) /* 832: start of kernel space */
#define PDSLOT_APTE ((unsigned)1022) /* 1022: alternative recursive slot */