forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Excute EBOOT in kernel mode - > sceNetInit error ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Sun Mar 23, 2008 2:45 am    Post subject: Excute EBOOT in kernel mode - > sceNetInit error ? Reply with quote

Hi,

I made a function to excute an eboot :

Code:
void loadeboot(const char *pbpath)
{

const u32 pbplen = strlen(pbpath)+1;
struct SceKernelLoadExecParam eloader;

eloader.args = pbplen;
eloader.argp = pbpath;
eloader.key = NULL;
eloader.size = sizeof(eloader) + pbplen;

sceKernelLoadExec(pbpath,&eloader);
   
}



and call the function :
Code:
loadeboot("ms0:/PSP/GAME380/WEB/EBOOT.pbp");



The eboot loads the psp orginal webbrowser (like in IRSHELL)
It compiles fine, but when i load the eboot in my app it just shows a black screen for some seconds and psp power off


I'm running in kernel mode, and it's kxploited
When i'm trying to work in user mode, my app(Not the webbrowser) doesn't load in the xmb.
Back to top
View user's profile Send private message
Smong



Joined: 04 Sep 2007
Posts: 82

PostPosted: Mon Mar 24, 2008 3:59 am    Post subject: Re: Excute EBOOT in kernel mode - > sceNetInit error ? Reply with quote

Question_dev wrote:
Code:
eloader.size = sizeof(eloader) + pbplen;
This line looks wrong, search for the documentation on SceKernelLoadExecParam.
_________________
(+[__]%)
Back to top
View user's profile Send private message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Mon Mar 24, 2008 7:48 pm    Post subject: Reply with quote

Have a look here http://forums.ps2dev.org/viewtopic.php?t=9874
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group