Subject: Re: pmap & ISADMA
To: Matt Thomas <matt@3am-software.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-cats
Date: 02/21/2002 11:13:45
On Wed, 20 Feb 2002, Matt Thomas wrote:

> The right way to fix this is to redo the arguments to pmap_bootstrap.
>
> It should be passed an array of the following struct:
>
> { int memreg_freelist; paddr_t memreg_start; psize_t memreg_size; }

Wouldn't it be easier to have the caller just register the memory with
uvm_page_physload() itself, and then have pmap_bootstrap() get back what
information it needs?  As far as I can see, this is what pmap_bootstrap()
does internally anyway.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>