This commit is contained in:
root 2011-06-20 18:55:02 +02:00
parent 1287bea90a
commit b4f2e71d45

View file

@ -233,6 +233,7 @@ __inline int get_my_core_no(void)
/* Determine the local IP address from the core number in the
* tile ID register
*/
DEBUGPRINTF("COREBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB");
tmp = ReadConfigReg(local_crb + RCK_TILEID);
x = (tmp>>3) & 0x0f; /* bits 06:03 */
y = (tmp>>7) & 0x0f; /* bits 10:07 */