...
This commit is contained in:
parent
70953872fa
commit
695ca0da4f
2 changed files with 22 additions and 2 deletions
|
@ -7,8 +7,11 @@
|
|||
*
|
||||
* Carl-Benedikt Krüger 2011
|
||||
*
|
||||
*
|
||||
* EXPERIMENTAL VERSION
|
||||
*/
|
||||
|
||||
|
||||
#include "mmnif.h" /* definitions */
|
||||
|
||||
#ifdef WIN32
|
||||
|
@ -69,13 +72,19 @@ extern HANDLE hProc;
|
|||
|
||||
#endif
|
||||
|
||||
/* define constants
|
||||
* regarding the driver & its configuration
|
||||
*/
|
||||
|
||||
/*
|
||||
*/
|
||||
#define MMNIF_TX_BUFFERLEN 1792
|
||||
#define MMNIF_TX_QUEUELEN 4
|
||||
|
||||
#define MMNIF_RX_BUFFERLEN 8192
|
||||
#define MMNIF_MAX_DESCRIPTORS 32
|
||||
#define MMNIF_MAX_DESCRIPTORS 32
|
||||
|
||||
#define MMNIF_CORES 2
|
||||
#define MMNIF_CORES 2
|
||||
|
||||
#define MMNIF_WORKER_BUDGET 4
|
||||
|
||||
|
|
|
@ -251,6 +251,15 @@ return NULL;
|
|||
}
|
||||
#endif
|
||||
|
||||
void* alive(void*e)
|
||||
{
|
||||
while (1)
|
||||
{
|
||||
kprintf("IM ALIVE");
|
||||
sleep(2);
|
||||
}
|
||||
}
|
||||
|
||||
int test_init(void)
|
||||
{
|
||||
// char* argv[] = {"/bin/tests", NULL};
|
||||
|
@ -266,6 +275,8 @@ int test_init(void)
|
|||
// sleep(10);
|
||||
// SHELLDEBUGPRINTF("hello World! I AM CORE NO. %d =) \n",RCCE_ue());
|
||||
|
||||
create_kernel_task(NULL,alive,NULL);
|
||||
|
||||
if (!RCCE_ue())
|
||||
create_kernel_task(NULL,server_task,NULL);
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue