Subject: Re: battable size
To: None <port-powerpc@netbsd.org>
From: Tsubai Masanari <tsubai@iri.co.jp>
List: port-powerpc
Date: 09/07/1998 06:11:06
>> How about "BATU(vaddr, mask)" and "BATL(raddr, mask, wimg)"?
>> I think they should have variable length mask.
>
>Uhm, yes... I would need it. More important than masking the addr parameter
>passed in would be to generate or pass in the mask in  the BATL.

Oh, I must take it back.  BAT[UL] should have fixed size (currently, at least).
I misunderstood your request... and I noticed macppc doesn't use battable[]
correctly!


>The 3 existing <machine/bat.h> files will get a definition
>
>#define	battablesize	16
>#define	battableshift	28
>
>amigappc will use instead
>
>#define battablesize	256	(maybe 64)
>#define battableshift	24	(maybe 26)
>
>right _before_ including <powerpc/bat.h>

Sounds good for me.  But you don't have to change macppc port.  I must
rewrite around battable anyway.