int SoMain(Uint base, int arg1)\r
{\r
int ret;\r
- \r
- SysDebug("SoMain: base = 0x%x", base);\r
- SysDebug("SoMain: arg1 = 0x%x", arg1);\r
\r
// - Assume that the file pointer will be less than 4096\r
if(base < 0x1000) {\r
*/\r
int CallUser(Uint entry, Uint sp)\r
{\r
- SysDebug("CallUser: (entry=0x%x, sp=0x%x)", entry, sp);\r
+ //SysDebug("CallUser: (entry=0x%x, sp=0x%x)", entry, sp);\r
*(Uint*)(sp-4) = 0; // Clear return address\r
__asm__ __volatile__ (\r
"mov %%eax, %%esp;\n\t"\r
"jmp *%%ecx"\r
- : : "a"(sp-4), "c"(entry));\r
+ : : "a"(sp), "c"(entry));\r
for(;;);\r
}\r