...
This commit is contained in:
parent
ab32443f5b
commit
1f7fba81dc
2 changed files with 2 additions and 2 deletions
|
@ -233,7 +233,6 @@ __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 */
|
||||
|
@ -1182,6 +1181,8 @@ int mmnif_open()
|
|||
IP4_ADDR(&netmask, 255,0,0,0);
|
||||
|
||||
own_ip_address+= get_my_core_no() +1;
|
||||
|
||||
DEBUGPRINTF("COCOCOCOCOOCOCOCOCOCOCOMBO BREAKER %d",own_ip_address);
|
||||
#ifdef WIN32
|
||||
mmnif_dev = malloc(sizeof(struct netif));
|
||||
#else
|
||||
|
|
|
@ -96,7 +96,6 @@ int main(void)
|
|||
multitasking_init();
|
||||
mmu_init();
|
||||
#ifdef CONFIG_ROCKCREEK
|
||||
kprintf("CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCc");
|
||||
icc_init();
|
||||
#endif
|
||||
initrd_init();
|
||||
|
|
Loading…
Add table
Reference in a new issue