2009-11-15 Till Straumann <strauman@slac.stanford.edu>

* shared/include/cpuIdent.c: Set 604 features + altivec if
	running on PSIM.
This commit is contained in:
Till Straumann
2009-11-15 22:33:05 +00:00
parent 87bd3ee83a
commit c46c2b636c
2 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2009-11-15 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.c: Set 604 features + altivec if
running on PSIM.
2009-11-03 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* shared/include/powerpc-utility.h, shared/include/byteorder.h,

View File

@@ -123,6 +123,16 @@ ppc_cpu_id_t get_ppc_cpu_type(void)
case PPC_7457:
current_ppc_features.has_8_bats = 1;
case PPC_7400:
/* NOTE: PSIM PVR doesn't tell us anything (its
* contents are not set based on what model
* the uses chooses but has to be programmed via
* the device file with the special value 0xfffe
* telling us that we have a 'psim cpu').
*
* I'm not sure pagetables work if the user chooses
* e.g., the 603 model...
*/
case PPC_PSIM:
current_ppc_features.has_altivec = 1;
case PPC_604:
case PPC_604e: