From aa8faebc6ff9cd54054ba36125aeddf8fdf61692 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 19 Dec 2007 21:51:30 +0000 Subject: 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. --- sys/arch/aviion/include/pmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/aviion/include/pmap.h') 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 #ifdef _KERNEL -vaddr_t pmap_bootstrap_md(vaddr_t); +#define pmap_bootstrap_md(va) (va) #endif #endif _AVIION_PMAP_H_ -- cgit v1.2.3