Port-cats archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap & ISADMA



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@localhost>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>





Home | Main Index | Thread Index | Old Index