RetroArch
Classes | Macros | Typedefs | Enumerations | Functions | Variables
lwp_threads.h File Reference
#include <gctypes.h>
#include <stdlib.h>
#include "lwp_states.h"
#include "lwp_tqdata.h"
#include "lwp_watchdog.h"
#include "lwp_objmgr.h"
#include "context.h"
Include dependency graph for lwp_threads.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _lwpwaitinfo
 
struct  _lwpcntrl
 

Macros

#define LWP_TIMESLICE_TIMER_ID   0x00070040
 

Typedefs

typedef struct _lwpwaitinfo lwp_waitinfo
 
typedef struct _lwpcntrl lwp_cntrl
 
typedef struct _lwpcntrllwp_cntrl_t
 

Enumerations

enum  lwp_cpu_budget_algorithms { LWP_CPU_BUDGET_ALGO_NONE = 0, LWP_CPU_BUDGET_ALGO_TIMESLICE }
 

Functions

void __thread_dispatch ()
 
void __lwp_thread_yield ()
 
void __lwp_thread_closeall ()
 
void __lwp_thread_setstate (lwp_cntrl *, u32)
 
void __lwp_thread_clearstate (lwp_cntrl *, u32)
 
void __lwp_thread_changepriority (lwp_cntrl *, u32, u32)
 
void __lwp_thread_setpriority (lwp_cntrl *, u32)
 
void __lwp_thread_settransient (lwp_cntrl *)
 
void __lwp_thread_suspend (lwp_cntrl *)
 
void __lwp_thread_resume (lwp_cntrl *, u32)
 
void __lwp_thread_loadenv (lwp_cntrl *)
 
void __lwp_thread_ready (lwp_cntrl *)
 
u32 __lwp_thread_init (lwp_cntrl *, void *, u32, u32, u32, bool)
 
u32 __lwp_thread_start (lwp_cntrl *, void *(*)(void *), void *)
 
void __lwp_thread_exit (void *)
 
void __lwp_thread_close (lwp_cntrl *)
 
void __lwp_thread_startmultitasking ()
 
void __lwp_thread_stopmultitasking (void(*exitfunc)())
 
lwp_obj__lwp_thread_getobject (lwp_cntrl *)
 
u32 __lwp_evaluatemode ()
 
u32 __lwp_isr_in_progress ()
 
void __lwp_thread_resettimeslice ()
 
void __lwp_rotate_readyqueue (u32)
 
void __lwp_thread_delayended (void *)
 
void __lwp_thread_tickle_timeslice (void *)
 

Variables

lwp_cntrl_thr_main
 
lwp_cntrl_thr_idle
 
lwp_cntrl_thr_executing
 
lwp_cntrl_thr_heir
 
lwp_cntrl_thr_allocated_fp
 
vu32 _context_switch_want
 
vu32 _thread_dispatch_disable_level
 
wd_cntrl _lwp_wd_timeslice
 
void ** __lwp_thr_libc_reent
 
lwp_queue _lwp_thr_ready []
 

Macro Definition Documentation

◆ LWP_TIMESLICE_TIMER_ID

#define LWP_TIMESLICE_TIMER_ID   0x00070040

Typedef Documentation

◆ lwp_cntrl

typedef struct _lwpcntrl lwp_cntrl

◆ lwp_cntrl_t

typedef struct _lwpcntrl * lwp_cntrl_t

◆ lwp_waitinfo

typedef struct _lwpwaitinfo lwp_waitinfo

Enumeration Type Documentation

◆ lwp_cpu_budget_algorithms

Enumerator
LWP_CPU_BUDGET_ALGO_NONE 
LWP_CPU_BUDGET_ALGO_TIMESLICE 

Function Documentation

◆ __lwp_evaluatemode()

u32 __lwp_evaluatemode ( )
Here is the call graph for this function:

◆ __lwp_isr_in_progress()

u32 __lwp_isr_in_progress ( )
Here is the caller graph for this function:

◆ __lwp_rotate_readyqueue()

void __lwp_rotate_readyqueue ( u32  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_changepriority()

void __lwp_thread_changepriority ( lwp_cntrl ,
u32  ,
u32   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_clearstate()

void __lwp_thread_clearstate ( lwp_cntrl ,
u32   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_close()

void __lwp_thread_close ( lwp_cntrl )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_closeall()

void __lwp_thread_closeall ( )
Here is the call graph for this function:

◆ __lwp_thread_delayended()

void __lwp_thread_delayended ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_exit()

void __lwp_thread_exit ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_getobject()

lwp_obj* __lwp_thread_getobject ( lwp_cntrl )

◆ __lwp_thread_init()

u32 __lwp_thread_init ( lwp_cntrl ,
void ,
u32  ,
u32  ,
u32  ,
bool   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_loadenv()

void __lwp_thread_loadenv ( lwp_cntrl )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_ready()

void __lwp_thread_ready ( lwp_cntrl )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_resettimeslice()

void __lwp_thread_resettimeslice ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_resume()

void __lwp_thread_resume ( lwp_cntrl ,
u32   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_setpriority()

void __lwp_thread_setpriority ( lwp_cntrl ,
u32   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_setstate()

void __lwp_thread_setstate ( lwp_cntrl ,
u32   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_settransient()

void __lwp_thread_settransient ( lwp_cntrl )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_start()

u32 __lwp_thread_start ( lwp_cntrl ,
void *)(void *,
void  
)
Here is the caller graph for this function:

◆ __lwp_thread_startmultitasking()

void __lwp_thread_startmultitasking ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_stopmultitasking()

void __lwp_thread_stopmultitasking ( void(*)()  exitfunc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_suspend()

void __lwp_thread_suspend ( lwp_cntrl )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_tickle_timeslice()

void __lwp_thread_tickle_timeslice ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __lwp_thread_yield()

void __lwp_thread_yield ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __thread_dispatch()

void __thread_dispatch ( )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __lwp_thr_libc_reent

void** __lwp_thr_libc_reent

◆ _context_switch_want

vu32 _context_switch_want

◆ _lwp_thr_ready

lwp_queue _lwp_thr_ready[]

◆ _lwp_wd_timeslice

wd_cntrl _lwp_wd_timeslice

◆ _thr_allocated_fp

lwp_cntrl* _thr_allocated_fp

◆ _thr_executing

lwp_cntrl* _thr_executing

◆ _thr_heir

lwp_cntrl* _thr_heir

◆ _thr_idle

lwp_cntrl* _thr_idle

◆ _thr_main

lwp_cntrl* _thr_main

◆ _thread_dispatch_disable_level

vu32 _thread_dispatch_disable_level