vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceFios2KernelForDriver



Functions

int ksceFiosKernelOverlayAdd (SceFiosOverlay *overlay, SceFiosOverlayID *outID)
 Overlay process file system overlay. More...
 
int ksceFiosKernelOverlayAddForProcess (SceUID pid, SceFiosOverlay *overlay, SceFiosOverlayID *outID)
 Overlay process file system overlay. More...
 
int ksceFiosKernelOverlayRemoveForProcess (SceUID pid, SceFiosOverlayID id)
 Remove process file system overlay. More...
 
int ksceFiosKernelOverlayResolveSync (SceUID pid, int resolveFlag, const char *inPath, char *outPath, SceSize maxPath)
 Resolve process file system overlay with sync. More...
 

Typedefs

typedef int32_t SceFiosOverlayID
 

Data Structure Documentation

◆ SceFiosOverlay

struct SceFiosOverlay
Data Fields
uint8_t type
uint8_t order
uint16_t dst_len
uint16_t src_len
uint16_t unk2
SceUID pid
SceFiosOverlayID id
char dst[292]
char src[292]

Typedef Documentation

◆ SceFiosOverlayID

typedef int32_t SceFiosOverlayID

Enumeration Type Documentation

◆ SceFiosOverlayType

Enumerator
SCE_FIOS_OVERLAY_TYPE_OPAQUE 
SCE_FIOS_OVERLAY_TYPE_TRANSLUCENT 
SCE_FIOS_OVERLAY_TYPE_NEWER 
SCE_FIOS_OVERLAY_TYPE_WRITABLE 

Function Documentation

◆ ksceFiosKernelOverlayAdd()

int ksceFiosKernelOverlayAdd ( SceFiosOverlay overlay,
SceFiosOverlayID outID 
)

Overlay process file system overlay.

Parameters
[in]overlay- Overlay config pointer
[out]outID- outID pointer
Returns
Error code or zero on success

◆ ksceFiosKernelOverlayAddForProcess()

int ksceFiosKernelOverlayAddForProcess ( SceUID  pid,
SceFiosOverlay overlay,
SceFiosOverlayID outID 
)

Overlay process file system overlay.

Parameters
[in]pid- Process id
[in]overlay- Overlay config pointer
[out]outID- outID pointer
Returns
Error code or zero on success

◆ ksceFiosKernelOverlayRemoveForProcess()

int ksceFiosKernelOverlayRemoveForProcess ( SceUID  pid,
SceFiosOverlayID  id 
)

Remove process file system overlay.

Parameters
[in]pid- Process id
[in]id- Overlay id
Returns
Error code or zero on success

◆ ksceFiosKernelOverlayResolveSync()

int ksceFiosKernelOverlayResolveSync ( SceUID  pid,
int  resolveFlag,
const char *  inPath,
char *  outPath,
SceSize  maxPath 
)

Resolve process file system overlay with sync.

Parameters
[in]pid- Process id
[in]resolveFlag- Some flags
[in]inPath- Path input
[out]outPath- Path output
[in]maxPath- Path output max length
Returns
Error code or zero on success