|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jan 28 04:07:41 CET 2008
Subject: [cvs-checkins] MODIFIED: mlite ...
Date: 00/08/01 28:04:07 Modified: mlite/kernel rtos_test.c Log: Added support for Ethernet Revision Changes Path 1.11 mlite/kernel/rtos_test.c http://www.opencores.org/cvsweb.shtml/mlite/kernel/rtos_test.c.diff?r1=1.10&r2=1.11 (In the diff below, changes in quantity of whitespace are not shown.) Index: rtos_test.c =================================================================== RCS file: /cvsroot/rhoads/mlite/kernel/rtos_test.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -b -r1.10 -r1.11 --- rtos_test.c 11 Jan 2008 02:12:04 -0000 1.10 +++ rtos_test.c 28 Jan 2008 03:07:41 -0000 1.11 @@ -429,6 +429,8 @@ void HtmlThread(void *arg); void ConsoleInit(void); void exit(int); +static uint8 macAddress[] = {0x00, 0x10, 0xdd, 0xce, 0x15, 0xd4}; + void MainThread(void *Arg) { @@ -438,8 +440,14 @@ OS_MMUInit(); #endif +#ifdef INCLUDE_ETH + EthernetInit(macAddress); + IPInit(EthernetTransmit, macAddress, "plasma"); + HtmlInit(1); +#endif + #ifdef INCLUDE_HTML - IPInit(NULL); + IPInit(NULL, macAddress, "plasma"); HtmlInit(1); #endif
|
 |