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:

SceFios2Kernel




Using this library in your project

Include the header file in your project:




Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceFios2KernelForDriver



Functions

int sceFiosKernelOverlayAddForProcess02 (SceUID pid, SceFiosOverlay *overlay, SceFiosOverlayID *outID)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceFiosOverlayID)
 
 VITASDK_BUILD_ASSERT_EQ (0x258, SceFiosOverlay)
 
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
 

Macros

#define SCE_FIOS2_OVERLAY_PATH_SIZE   (292)
 
#define SCE_FIOS2_OVERLAY_PATH_MAX_LENGTH   (SCE_FIOS2_OVERLAY_PATH_SIZE - 1)
 

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[SCE_FIOS2_OVERLAY_PATH_SIZE]
char src[SCE_FIOS2_OVERLAY_PATH_SIZE]

Macro Definition Documentation

◆ SCE_FIOS2_OVERLAY_PATH_SIZE

#define SCE_FIOS2_OVERLAY_PATH_SIZE   (292)

◆ SCE_FIOS2_OVERLAY_PATH_MAX_LENGTH

#define SCE_FIOS2_OVERLAY_PATH_MAX_LENGTH   (SCE_FIOS2_OVERLAY_PATH_SIZE - 1)

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

◆ sceFiosKernelOverlayAddForProcess02()

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

◆ VITASDK_BUILD_ASSERT_EQ() [1/2]

VITASDK_BUILD_ASSERT_EQ ( ,
SceFiosOverlayID   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/2]

VITASDK_BUILD_ASSERT_EQ ( 0x258  ,
SceFiosOverlay   
)

◆ 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