sdk func trouble

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

sdk func trouble

Post by KickinAezz »

SceKernelfindModulebyname() Just a simple function call... Gives an exception in PSPlink.
Last edited by KickinAezz on Fri Jun 22, 2007 5:32 am, edited 3 times in total.
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

If the error is there, are you sure the thread is running in kmode? It should, as the sceKernelFindModuleByName is an export of LoadExecForKernel...
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

adrahil wrote:If the error is there, are you sure the thread is running in kmode? It should, as the sceKernelFindModuleByName is an export of LoadExecForKernel...
Yepp... Either exception[in kmode as in the screenshot] or
In usermode.. this is what happens:

when I type ./eboot.pbp, it doesn't even show anything [psp-sh]
Psplink Then doesn't respond... Reset takes no effect...

Would it help if I post the main.c?
----

What does psplinksetK1[it's in some of the hooking functions] do, it is in assembly in Kmode.S, so I donot know if it is really required for having a functional hook.
Post Reply