2009-04-03 Ken Werner <ken.werner@de.ibm.com>

* spu/crt0.S (_start): Place spu_id in the first agument register.
This commit is contained in:
Jeff Johnston
2009-04-03 22:27:31 +00:00
parent 823f6f6655
commit 051f7595ff
2 changed files with 9 additions and 1 deletions

View File

@@ -161,9 +161,13 @@ _start:
#ifdef _PROFILE
/* Call monstartup if profiling is enabled
*/
#ifdef _STD_MAIN
ila $3,0
#else
ori $3,$80,0
#endif
brsl $LR, __monstartup
#endif
ori $3,$80,0
ori $4,$81,0
#ifndef _STD_MAIN