summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2019-01-06 02:15:40 +0000
committermlarkin <mlarkin@openbsd.org>2019-01-06 02:15:40 +0000
commit3dc7154bde0ff3686fbd355d2d71131127c1d640 (patch)
tree7b770a969abc993703bf09ab95bfda1bbf79446d
parentIn no-fill mode, avoid bogus blank lines in two situations: (diff)
downloadwireguard-openbsd-3dc7154bde0ff3686fbd355d2d71131127c1d640.tar.xz
wireguard-openbsd-3dc7154bde0ff3686fbd355d2d71131127c1d640.zip
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;
}