RetroArch
Macros | Typedefs | Functions
psp_osal.h File Reference
#include <pspsdk.h>
Include dependency graph for psp_osal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_IS_HANDLE_VALID(x)   ((x) > 0)
 
#define OS_MAX_SIMUL_THREADS   10
 
#define OS_DEFAULT_PRIO   11
 
#define OS_MIN_PRIO   17
 
#define OS_MAX_PRIO   32
 
#define POLLING_DELAY_IN_us   100
 
#define OS_MAX_SEM_VALUE   254
 

Typedefs

typedef SceUID pte_osThreadHandle
 
typedef SceUID pte_osSemaphoreHandle
 
typedef SceUID pte_osMutexHandle
 

Functions

int PspInterlockedExchange (int *ptarg, int val)
 
int PspInterlockedCompareExchange (int *pdest, int exchange, int comp)
 
int PspInterlockedExchangeAdd (int volatile *pAddend, int value)
 
int PspInterlockedDecrement (int *pdest)
 
int PspInterlockedIncrement (int *pdest)
 

Macro Definition Documentation

◆ OS_DEFAULT_PRIO

#define OS_DEFAULT_PRIO   11

◆ OS_IS_HANDLE_VALID

#define OS_IS_HANDLE_VALID (   x)    ((x) > 0)

◆ OS_MAX_PRIO

#define OS_MAX_PRIO   32

◆ OS_MAX_SEM_VALUE

#define OS_MAX_SEM_VALUE   254

◆ OS_MAX_SIMUL_THREADS

#define OS_MAX_SIMUL_THREADS   10

◆ OS_MIN_PRIO

#define OS_MIN_PRIO   17

◆ POLLING_DELAY_IN_us

#define POLLING_DELAY_IN_us   100

Typedef Documentation

◆ pte_osMutexHandle

◆ pte_osSemaphoreHandle

◆ pte_osThreadHandle

Function Documentation

◆ PspInterlockedCompareExchange()

int PspInterlockedCompareExchange ( int *  pdest,
int  exchange,
int  comp 
)

◆ PspInterlockedDecrement()

int PspInterlockedDecrement ( int *  pdest)

◆ PspInterlockedExchange()

int PspInterlockedExchange ( int *  ptarg,
int  val 
)

◆ PspInterlockedExchangeAdd()

int PspInterlockedExchangeAdd ( int volatile *  pAddend,
int  value 
)

◆ PspInterlockedIncrement()

int PspInterlockedIncrement ( int *  pdest)