I wanted to do something like this:
step 1: A user_mode_pbp.load( kernel_mode_prxA.prx );
step 2: kernel_mode_prxA.load( kernel_mode_prxB.prx );
I used the sdk api pspSdkLoadStartModule in step 2 like this:
SceUID mod = pspSdkLoadStartModule("kernel_mode_prxB.prx", PSP_MEMORY_PARTITION_KERNEL);
unfortunately, I got an error code 0x80020149 in step 2 while I had succeed loaded kernel_mode_prxA.prx in step 1 .
can anyone help me ?
sorry about my poor english ..... I wish someone could understand what I said...
When I load the prx,I got an error code :80020149
a) are you using a slim? you need to build the project as a prx file otherwise it wont work
b) are you using PSPlink? you need to build the project as a prx file otherwise it wont work
Please explain a bit better, we cant possibly help until you give us your makefile (via pastebin) or using the tags :)
Wally
b) are you using PSPlink? you need to build the project as a prx file otherwise it wont work
Please explain a bit better, we cant possibly help until you give us your makefile (via pastebin) or using the
Code: Select all
Wally
-
- Posts: 409
- Joined: Tue Oct 09, 2007 4:22 am
I think I know what happens...
In your kernel prx you are calling the sceKernelLoadModule of user mode. Since 3.71 M33-3, M33 allows again to use user functions in kernel prx's.
To fix it you have two alternatives:
1) USE_KERNEL_LIBS = 1 in the makefile, but it may break some other thing at compile time.
2) Use kubridge from M33 sdk, and use kuKernelLoadModule instead.
In your kernel prx you are calling the sceKernelLoadModule of user mode. Since 3.71 M33-3, M33 allows again to use user functions in kernel prx's.
To fix it you have two alternatives:
1) USE_KERNEL_LIBS = 1 in the makefile, but it may break some other thing at compile time.
2) Use kubridge from M33 sdk, and use kuKernelLoadModule instead.
a) no,I'm not using a slim and I had built the project as a prx.Wally4000 wrote:a) are you using a slim? you need to build the project as a prx file otherwise it wont work
b) are you using PSPlink? you need to build the project as a prx file otherwise it wont work
Please explain a bit better, we cant possibly help until you give us your makefile (via pastebin) or using thetags :)Code: Select all
Wally
b) no,I did not use psplink,I test my prx programe in my PSP
thank u for ur help :)
Last edited by PSPApple on Sat Mar 29, 2008 2:57 am, edited 1 time in total.
hi,moonlightmoonlight wrote:I think I know what happens...
In your kernel prx you are calling the sceKernelLoadModule of user mode. Since 3.71 M33-3, M33 allows again to use user functions in kernel prx's.
To fix it you have two alternatives:
1) USE_KERNEL_LIBS = 1 in the makefile, but it may break some other thing at compile time.
2) Use kubridge from M33 sdk, and use kuKernelLoadModule instead.
ur opinion would be helpful~!
1) if I set USE_KERNEL_LIBS = 1 in the make file, i could not use some other user mode functions,or it world just like u had pointed out:"may break some other thing at compile time. "
its difficult for me to find out that missing lib to link, so I will try the other solution 2)
thank u very much :)