sceCtrl_driver.S and other .S files

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

Moderators: cheriff, TyRaNiD

Post Reply
kehon
Posts: 1
Joined: Fri Oct 31, 2008 7:29 am

sceCtrl_driver.S and other .S files

Post by kehon »

sakya emailed me a sample that worked in 3.71 and it used sceCtrl_driver.S in the prx what are these files and where can i get more so that i can bridge my user app to kernel in the prx
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Can you post those files here?

Generally you need to make a kernel mode PRX which exports wrapper functions to call the kernel mode functions.
SilverSpring
Posts: 110
Joined: Tue Feb 27, 2007 9:43 pm
Contact:

Post by SilverSpring »

They are called stubs, you can grab them here http://silverspring.lan.st/. Generally, use the 1.50 or 3.52 ones.

But the one you got was probably custom made because of changed NID's in 3.71. There is no NID resolver in 3.71 cfw so you had to make custom stubs for the changed NID's for homebrew to work on 3.71.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

But how can he call a _driver function from a user mode app just by adding the stub?
Post Reply