psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
spu_thread.h File Reference

SPU runtime library. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Macros

#define SPU_THREAD_BASE   0xF0000000ULL
 
#define SPU_THREAD_OFFSET   0x00100000ULL
 
#define SPU_THREAD_Sig_Notify_1   0x5400C
 
#define SPU_THREAD_Sig_Notify_2   0x5C00C
 

Functions

void spu_thread_group_exit (int status)
 Terminate the running SPU thread group.
 
void spu_thread_group_yield (void)
 Preempt the running SPU thread group.
 
void spu_thread_exit (int status)
 Terminate the running SPU thread.
 

Detailed Description

SPU runtime library.

These are the SPU library calls for SPU threads.

See also
Quick guide to SPU management

Definition in file spu_thread.h.

Macro Definition Documentation

◆ SPU_THREAD_BASE

#define SPU_THREAD_BASE   0xF0000000ULL

Definition at line 14 of file spu_thread.h.

◆ SPU_THREAD_OFFSET

#define SPU_THREAD_OFFSET   0x00100000ULL

Definition at line 15 of file spu_thread.h.

◆ SPU_THREAD_Sig_Notify_1

#define SPU_THREAD_Sig_Notify_1   0x5400C

Definition at line 17 of file spu_thread.h.

◆ SPU_THREAD_Sig_Notify_2

#define SPU_THREAD_Sig_Notify_2   0x5C00C

Definition at line 18 of file spu_thread.h.

Function Documentation

◆ spu_thread_exit()

void spu_thread_exit ( int  status)

Terminate the running SPU thread.

Parameters
statusThe thread's returned exit status value.

◆ spu_thread_group_exit()

void spu_thread_group_exit ( int  status)

Terminate the running SPU thread group.

Parameters
statusThe thread group's returned exit status value.

◆ spu_thread_group_yield()

void spu_thread_group_yield ( void  )

Preempt the running SPU thread group.