Why is it happening... Modlist shows "PSPLINK" as an existant module. [i've also tried various others but still I get the same problem]
Can atleast a 1 person out of 9113 Members from Ps2dev answer this. Please.
Info, if helps: a NON-modchipped psp running 3.40 OE-A in 1.5Kernel.
Can anyone please look into it?
What am I doing wrong here?
There is nothing wrong with the function, it works just fine. The problem is you don't fully understand how kernel/user separation works. Basically you are building a static kernel elf file, _but_ you are then not telling the system to create your main thread as a kernel thread so it runs in user mode. You are then trying to call kernel only function which causes the crash (in fact it is slightly more complicated than that but I don't feel like explaining).