summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2019-01-06 02:15:41 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2019-01-06 02:15:41 +0000
commita1c725bd787af25ff2c28bcda14d8fad11b00038 (patch)
tree9f5ab41c75e2c7c37d53a7d0cd7d474e72f94e35
parent0ba6418eac54e81e7593d7d39dd9e598522c6e8a (diff)
remove some old comments that were inherited from i386 (and wrong)
-rw-r--r--sys/arch/amd64/amd64/pmap.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 92284383385..efd4b30a761 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.121 2018/10/04 05:00:40 guenther Exp $ */
+/* $OpenBSD: pmap.c,v 1.122 2019/01/06 02:15:40 mlarkin Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -553,10 +553,6 @@ pmap_kremove(vaddr_t sva, vsize_t len)
* pmap_bootstrap: get the system in a state where it can run with VM
* properly enabled (called before main()). the VM system is
* fully init'd later...
- *
- * => on i386, locore.s has already enabled the MMU by allocating
- * a PDP for the kernel, and nkpde PTP's for the kernel.
- * => kva_start is the first free virtual address in kernel space
*/
paddr_t
@@ -779,18 +775,11 @@ pmap_prealloc_lowmem_ptps(paddr_t first_avail)
}
/*
- * pmap_init: called from uvm_init, our job is to get the pmap
- * system ready to manage mappings... this mainly means initing
- * the pv_entry stuff.
+ * pmap_init: no further initialization required on this platform
*/
-
void
pmap_init(void)
{
- /*
- * done: pmap module is up (and ready for business)
- */
-
pmap_initialized = TRUE;
}