Port-powerpc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: battable size
>> 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.
Home |
Main Index |
Thread Index |
Old Index