Kernel mode load fail... why?!

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

Moderators: cheriff, TyRaNiD

Post Reply
Jabberwocky
Posts: 43
Joined: Wed Aug 03, 2005 6:58 pm

Kernel mode load fail... why?!

Post by Jabberwocky »

I've been playing around with some stuff on the PSP and it's all working great in user mode, but when I try and boot the ELF in kernel mode it fails with error 800200D9, which is apparently running out of memory.

Is there a limit to the ELF size loadable in kernel mode? Mine is 224KB... which doesn't seem that big to me.

All I'm changing in the code is:

Code: Select all

PSP_MODULE_INFO(test, 0, 1, 1); 
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER | PSP_THREAD_ATTR_VFPU);
to

Code: Select all

PSP_MODULE_INFO(test, 0x1000, 1, 1); 
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_VFPU);
Any help much appreciated.
Post Reply