Subject: Re: pmap & ISADMA
To: None <>
From: Robert Swindells <>
List: port-arm
Date: 02/20/2002 21:40:45
>At 10:49 AM 2/20/2002 +0000, Robert Swindells wrote:
>>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.

I'll do it the right way.

I am going to need to use this to work around the DMA bug in the SA1111
companion chip, so it makes sense to make it generic.

Robert Swindells