PS2SDK
PS2 Homebrew Libraries
xthbase.h File Reference
#include <thbase.h>
+ Include dependency graph for xthbase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TSS_THREAD   0
 
#define TSS_DISABLEINTR   3
 
#define TSS_NOTHREAD   4
 
#define TMID_Thread   1
 
#define TMID_Semaphore   2
 
#define TMID_EventFlag   3
 
#define TMID_Mbox   4
 
#define TMID_Vpl   5
 
#define TMID_Fpl   6
 
#define TMID_SleepThread   7
 
#define TMID_DelayThread   8
 
#define TMID_DormantThread   9
 
#define xthbase_IMPORTS_start   DECLARE_IMPORT_TABLE(thbase, 1, 2)
 
#define xthbase_IMPORTS_end   END_IMPORT_TABLE
 
#define I_GetThreadCurrentPriority   DECLARE_IMPORT(42, GetThreadCurrentPriority)
 
#define I_GetSystemTimeLow   DECLARE_IMPORT(43, GetSystemTimeLow)
 
#define I_ReferSystemStatus   DECLARE_IMPORT(44, ReferSystemStatus)
 
#define I_ReferThreadRunStatus   DECLARE_IMPORT(45, ReferThreadRunStatus)
 
#define I_GetThreadStackFreeSize   DECLARE_IMPORT(46, GetThreadStackFreeSize)
 
#define I_GetThreadmanIdList   DECLARE_IMPORT(47, GetThreadmanIdList)
 

Functions

int GetThreadCurrentPriority (void)
 
unsigned int GetSystemTimeLow (void)
 
int ReferSystemStatus (iop_sys_status_t *info, size_t size)
 
int ReferThreadRunStatus (int thid, iop_thread_run_status_t *stat, size_t size)
 
int GetThreadStackFreeSize (int thid)
 
int GetThreadmanIdList (int type, int *readbuf, int readbufsize, int *objectcount)
 

Detailed Description

Additional thbase functions only found in newer IOPRP images

Definition in file xthbase.h.