vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:

#include <psp2/fiber.h>


Link the library to the executable:

SceFiber_stub


Load the required module:

int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
@ SCE_SYSMODULE_FIBER
Fiber module.
Definition: sysmodule.h:33



Functions

struct SCE_ALIGN (8) SceFiber
 
 VITASDK_BUILD_ASSERT_EQ (0x80, SceFiber)
 
 VITASDK_BUILD_ASSERT_EQ (0x80, SceFiberOptParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x170, SceFiberInfo)
 
SceInt32 _sceFiberInitializeImpl (SceFiber *fiber, char *name, SceFiberEntry *entry, SceUInt32 argOnInitialize, void *addrContext, SceSize sizeContext, SceFiberOptParam *params)
 
SceInt32 sceFiberOptParamInitialize (SceFiberOptParam *optParam)
 
SceInt32 sceFiberFinalize (SceFiber *fiber)
 
SceInt32 sceFiberRun (SceFiber *fiber, SceUInt32 argOnRunTo, SceUInt32 *argOnRun)
 
SceInt32 sceFiberSwitch (SceFiber *fiber, SceUInt32 argOnRunTo, SceUInt32 *argOnRun)
 
SceInt32 sceFiberGetSelf (SceFiber *fiber)
 
SceInt32 sceFiberReturnToThread (SceUInt32 argOnReturn, SceUInt32 *argOnRun)
 
SceInt32 sceFiberGetInfo (SceFiber *fiber, SceFiberInfo *fiberInfo)
 

Typedefs

typedef void() SceFiberEntry(SceUInt32 argOnInitialize, SceUInt32 argOnRun)
 

Typedef Documentation

◆ SceFiberEntry

typedef void() SceFiberEntry(SceUInt32 argOnInitialize, SceUInt32 argOnRun)

Enumeration Type Documentation

◆ SceFiberErrorCode

Enumerator
SCE_FIBER_ERROR_NULL 
SCE_FIBER_ERROR_ALIGNMENT 
SCE_FIBER_ERROR_RANGE 
SCE_FIBER_ERROR_INVALID 
SCE_FIBER_ERROR_PERMISSION 
SCE_FIBER_ERROR_STATE 
SCE_FIBER_ERROR_BUSY 
SCE_FIBER_ERROR_AGAIN 
SCE_FIBER_ERROR_FATAL 

Function Documentation

◆ SCE_ALIGN()

struct SCE_ALIGN ( )

◆ VITASDK_BUILD_ASSERT_EQ() [1/3]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceFiber   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/3]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceFiberOptParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/3]

VITASDK_BUILD_ASSERT_EQ ( 0x170  ,
SceFiberInfo   
)

◆ _sceFiberInitializeImpl()

SceInt32 _sceFiberInitializeImpl ( SceFiber fiber,
char *  name,
SceFiberEntry entry,
SceUInt32  argOnInitialize,
void *  addrContext,
SceSize  sizeContext,
SceFiberOptParam params 
)

◆ sceFiberOptParamInitialize()

SceInt32 sceFiberOptParamInitialize ( SceFiberOptParam optParam)

◆ sceFiberFinalize()

SceInt32 sceFiberFinalize ( SceFiber fiber)

◆ sceFiberRun()

SceInt32 sceFiberRun ( SceFiber fiber,
SceUInt32  argOnRunTo,
SceUInt32 argOnRun 
)

◆ sceFiberSwitch()

SceInt32 sceFiberSwitch ( SceFiber fiber,
SceUInt32  argOnRunTo,
SceUInt32 argOnRun 
)

◆ sceFiberGetSelf()

SceInt32 sceFiberGetSelf ( SceFiber fiber)

◆ sceFiberReturnToThread()

SceInt32 sceFiberReturnToThread ( SceUInt32  argOnReturn,
SceUInt32 argOnRun 
)

◆ sceFiberGetInfo()

SceInt32 sceFiberGetInfo ( SceFiber fiber,
SceFiberInfo fiberInfo 
)