Page 1 of 1

[RELEASE] kuio - Kernel-User bridge for basic I/O operations

Posted: Fri Apr 28, 2017 8:00 pm
by Rinnegatamante
Description
kuio is a lightweight kernel module for taiHen that allows user modules to access ux0:data for basic I/O operations.
So what's the point for the end user? Pratically nothing, but this will be extremely useful for taiHen user plugins developers and i hope more and more plugins will use this module. I suggest taiHen users to just put this in their config.txt under *KERNEL and in the future, if a plugin will use this, you'll already have it available.

It currently gives abstractions for these functions:
sceIoOpen -> kuIoOpen
sceIoWrite -> kuIoWrite
sceIoRead -> kuIoRead
sceIoClose -> kuIoClose
sceIoLseek -> kuIoLseek
sceIoRemove -> kuIoRemove
sceIoMkdir -> kuIoMkdir
sceIoRmdir -> kuIoRmdir
ftell -> kuIoTell (kuIoLseek doesn't return position)

Credits:
Thanks to everyone who helped me during this journey trying to get SD access on user modules on #vitasdk and #henkaku. (noname120, xerpi, yifanlu, davee, xyz, frangarcj)

Links:
Download: http://vitadb.rinnegatamante.it/#/info/245
Sourcecode: https://github.com/Rinnegatamante/kuio
Documentation: https://github.com/Rinnegatamante/kuio/ ... ude/kuio.h (It's a lot similar to standard sceIo functions, the only two different functions are kuIoOpen and kuIoLseek).

Re: [RELEASE] kuio - Kernel-User bridge for basic I/O operat

Posted: Wed Aug 30, 2017 10:10 am
by Rinnegatamante
v.1.2 available with enso support: http://vitadb.rinnegatamante.it/#/info/245