Subject: Re: pmap & ISADMA
To: Robert Swindells <>
From: Matt Thomas <>
List: port-arm
Date: 02/20/2002 08:06:27
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.

Matt Thomas               Internet:
3am Software Foundry      WWW URL:
Cupertino, CA             Disclaimer: I avow all knowledge of this message