Hi.
I´m developing an application that can launch some others. It run in kernel mode and, because that, i want to launch other app with kernel mode functions.
I heard about vsh functions like vshKernelLoadExecVSHMs2 and its sce equivalent sceKernelLoadExecVSHMs2. I think i have all the files i need, like "pspvshbridge.h" and "psploadexec_kernel.h", this are included in the proyect and makefile. I also fill the SceKernelLoadExecVSHParam structure which is passed to these functions but i have two results:
If i call sceKernelLoadExecVSHMs2, in spite of that function is defined in the include files listed up there, i get the error "undefined reference to sceKernelLoadExecVSHMs2" from compiler.
But, if i use vshKernelLoadExecVSHMs2 , the compilation is successful but, using psplink to execute the app, i get an error like "Can´t load module..." from pcterm command line. If i launch the application from the XMB, the psp freezes.
Thanks for any help.
How to use vshKernelLoadExecVSHMs2 ?
-
- Posts: 11
- Joined: Mon May 01, 2006 11:13 am
- Location: La Coruna - Spain
-
- Posts: 11
- Joined: Mon May 01, 2006 11:13 am
- Location: La Coruna - Spain
Thanks adrahil, that function works :)
The strange thing is that the compiler send the warning "implicit declaration of function 'LoadExecForKernel_28D0D249'". Maybe I´m not including the correct files?
Before your post i tried to execute the apps with sceKernelLoadExec and... it also works! so, somebody knows which is really the difference between sceKernelLoadExec and this other functions?
The strange thing is that the compiler send the warning "implicit declaration of function 'LoadExecForKernel_28D0D249'". Maybe I´m not including the correct files?
Before your post i tried to execute the apps with sceKernelLoadExec and... it also works! so, somebody knows which is really the difference between sceKernelLoadExec and this other functions?
Sorry i forgot to mention, you indeed have to add "extern int LoadExecForKernel_28D0D249(...)" in your file, where in the "..." you put the params ^^
Not much.... they're each wrappers of each other with some layers added onto them...Before your post i tried to execute the apps with sceKernelLoadExec and... it also works! so, somebody knows which is really the difference between sceKernelLoadExec and this other functions?
-
- Posts: 11
- Joined: Mon May 01, 2006 11:13 am
- Location: La Coruna - Spain