Port-cats archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pmap & ISADMA
At 10:49 AM 2/20/2002 +0000, Robert Swindells wrote:
port-acorn32%netbsd.org@localhost
Subject: Small pmap.c change
Would anyone have any objections to me splitting out the code from pmap.c
that is surrounded by "#if NISADMA > 0" to it's own file ?
It would avoid the need for a dummy "device isadma" line in conf files
for non ISA platforms.
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; }
Thus only caller needs to that ISADMA pages deserve their own freelist.
--
Matt Thomas Internet: matt%3am-software.com@localhost
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message
Home |
Main Index |
Thread Index |
Old Index