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 

sceKernelLoadExecBufferPlain

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



Joined: 26 Oct 2005
Posts: 567

PostPosted: Wed May 10, 2006 6:38 am    Post subject: sceKernelLoadExecBufferPlain Reply with quote

This function executes a plain module from memory (unfortunally it can't execute plain kernel prx's, but no problem with user prx's and kernel elf's).

It's only a kernel export.


Code:

/**
 * Executes a new executable from a memory buffer.
 *
 * @param bufsize - Size in bytes of the buffer pointed by buf.
 * @param buf - Pointer to a buffer containing the module to execute.
 * @param param - Pointer to a ::SceKernelLoadExecParam structure, or NULL.
 *
 * @return < 0 on error (if it returns)
*/
int sceKernelLoadExecBufferPlain(SceSize bufsize, void *buf, struct SceKernelLoadExecParam *param);


Last edited by moonlight on Wed May 10, 2006 8:41 am; edited 1 time in total
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed May 10, 2006 6:43 am    Post subject: Reply with quote

You should be able to execute plain kernel elfs using reboothook from psplink in theory, of course the patch could probably be put into your nokxploit thing :)
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Wed May 10, 2006 7:00 am    Post subject: Reply with quote

TyRaNiD wrote:
You should be able to execute plain kernel elfs using reboothook from psplink in theory, of course the patch could probably be put into your nokxploit thing :)


I know about your reboothook. It's great, thanks to that i can execute the own psplink.prx in "vsh" mode :)
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Wed May 10, 2006 8:14 am    Post subject: Reply with quote

mmm tasty :)
_________________
10011011 00101010 11010111 10001001 10111010
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