vitasdk
Documentation of the vitasdk
fiber.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Typedefs

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

Enumerations

enum  SceFiberErrorCode {
  SCE_FIBER_ERROR_NULL = 0x80590001 , SCE_FIBER_ERROR_ALIGNMENT = 0x80590002 , SCE_FIBER_ERROR_RANGE = 0x80590003 , SCE_FIBER_ERROR_INVALID = 0x80590004 ,
  SCE_FIBER_ERROR_PERMISSION = 0x80590005 , SCE_FIBER_ERROR_STATE = 0x80590006 , SCE_FIBER_ERROR_BUSY = 0x80590007 , SCE_FIBER_ERROR_AGAIN = 0x80590008 ,
  SCE_FIBER_ERROR_FATAL = 0x80590009
}
 

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)
 

Variables

 SceFiber
 
 SceFiberOptParam
 
 SceFiberInfo