scc edit
This commit is contained in:
parent
a7117e02c0
commit
e9186206ef
2 changed files with 8 additions and 0 deletions
|
@ -49,6 +49,8 @@ extern HANDLE hProc;
|
|||
|
||||
#include <metalsvm/semaphore.h>
|
||||
|
||||
#include <asm/RCCE_lib.h>
|
||||
#include <asm/RCCE.h>
|
||||
#include <asm/RCCE_lib.h>
|
||||
#include <asm/iRCCE.h>
|
||||
#include <asm/iRCCE_lib.h>
|
||||
|
@ -622,6 +624,7 @@ uint8_t mmnif_get_destination(struct netif* netif, struct pbuf* p)
|
|||
return 1;
|
||||
|
||||
|
||||
|
||||
core = addr[0];
|
||||
|
||||
/* check if the address is legitimata else return router core again */
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <netif/etharp.h>
|
||||
#endif
|
||||
#include <net/rtl8139.h>
|
||||
#include <net/mmnif.h>
|
||||
|
||||
void echo_init(void);
|
||||
void ping_init(void);
|
||||
|
@ -117,6 +118,9 @@ int network_shutdown(void)
|
|||
|
||||
int network_init(void)
|
||||
{
|
||||
tcpip_init(NULL,NULL);
|
||||
mmnif_open();
|
||||
#if 0
|
||||
#if defined(CONFIG_LWIP)
|
||||
// Initialize lwIP modules
|
||||
lwip_init();
|
||||
|
@ -127,4 +131,5 @@ int network_init(void)
|
|||
#else
|
||||
return 0;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue