summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-01-13 20:47:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-01-13 20:47:01 +0000
commit8195511a0d44b0e22300812adaa8ed02a11f9fc1 (patch)
tree93dbf9ea14c1dd4cc21432c208b281dffd0a0b47 /sys/arch
parent7abac665909a3066e3f3854e0264f116ce9be756 (diff)
Don't reserve space for msgbuf and bootargs in pmap_bootstrap(), since we
do those reservations again (and now for real) in init386(). ok weingart@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmap.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 0204ce8f4df..b6ad24ccb34 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.121 2007/11/28 17:05:09 tedu Exp $ */
+/* $OpenBSD: pmap.c,v 1.122 2008/01/13 20:47:00 kettenis Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -754,7 +754,6 @@ pmap_kremove(vaddr_t sva, vsize_t len)
void
pmap_bootstrap(vaddr_t kva_start)
{
- extern paddr_t avail_end;
struct pmap *kpm;
vaddr_t kva;
pt_entry_t *pte;
@@ -773,16 +772,6 @@ pmap_bootstrap(vaddr_t kva_start)
panic("pmap_bootstrap: PAGE_SIZE != NBPG");
/*
- * use the very last page of physical memory for the message buffer
- */
-
- avail_end -= round_page(MSGBUFSIZE);
- /*
- * The arguments passed in from /boot needs space too.
- */
- avail_end -= round_page(bootargc);
-
- /*
* set up our local static global vars that keep track of the
* usage of KVM before kernel_map is set up
*/