summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/include/pmap.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-19 21:51:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-19 21:51:30 +0000
commitaa8faebc6ff9cd54054ba36125aeddf8fdf61692 (patch)
treeca3058dc4bff30f798e6c1164b9a9292023a88aa /sys/arch/aviion/include/pmap.h
parent4cdfd5155109e087574b3d4d13323efcdce6d3ac (diff)
Allocate memory for the onboard le interface using uvm functions, instead of
stealing pages in pmap_bootstrap. While there, use up to four times more memory for these buffers if the machine has enough physical memory.
Diffstat (limited to 'sys/arch/aviion/include/pmap.h')
-rw-r--r--sys/arch/aviion/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/include/pmap.h b/sys/arch/aviion/include/pmap.h
index 000b1c04f7b..2b974390f73 100644
--- a/sys/arch/aviion/include/pmap.h
+++ b/sys/arch/aviion/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.1 2006/05/09 18:32:33 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.2 2007/12/19 21:51:29 miod Exp $ */
/* public domain */
#ifndef _AVIION_PMAP_H_
@@ -7,7 +7,7 @@
#include <m88k/pmap.h>
#ifdef _KERNEL
-vaddr_t pmap_bootstrap_md(vaddr_t);
+#define pmap_bootstrap_md(va) (va)
#endif
#endif _AVIION_PMAP_H_