PowerPC architecture: Which processors have 8 BAT registers?

Till Straumann strauman at slac.stanford.edu
Tue Mar 1 20:56:44 UTC 2005


Peter Dufault wrote:

> I want to add the DBAT{4,5,6,7}{U,L} registers and asm access routines 
> for the additional BAT registers present on the MPC7455. I plan to 
> define a feature test such as PPC_HAS_8_BATS to conditionalize it on 
> to rtems/score/powerpc.h. 


PLEASE don't - this will get us into the multilib swamp again.
Consider a run-time check for CPU version that generates an error
if the CPU executing the code doesn't support the additional BATs.

AFAIK, the init-code testing the CPU version would also have to
enable the additional bats, wouldn't it?

Thanks
T.

>
>
> While I'm doing this, does some one know the list of CPU flavors this 
> should be added to?
>
> Peter Dufault
> HD Associates, Inc.
>




More information about the users mailing list