URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [netutil.c] - Diff between revs 425 and 426
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 425 |
Rev 426 |
Line 1343... |
Line 1343... |
bytes = fread(code, 1, sizeof(code), file); //load first bytes
|
bytes = fread(code, 1, sizeof(code), file); //load first bytes
|
if(strncmp((char*)code + 1, "ELF", 3) == 0)
|
if(strncmp((char*)code + 1, "ELF", 3) == 0)
|
{
|
{
|
funcPtr = (DllFunc)ConsoleLoadElf(file, code);
|
funcPtr = (DllFunc)ConsoleLoadElf(file, code);
|
fclose(file);
|
fclose(file);
|
argv2[0] = (char*)DllFuncList; //DllF = argv[-1]
|
argv2[0] = (char*)socket;
|
argv2[1] = (char*)socket;
|
argv2[1] = (char*)DllFuncList; //DllF = argv[-1]
|
for(i = 0; i < 10; ++i)
|
for(i = 0; i < 10; ++i)
|
{
|
{
|
argv2[i + 2] = argv[i];
|
argv2[i + 2] = argv[i];
|
if(argv[i] == 0)
|
if(argv[i] == 0)
|
break;
|
break;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.