wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
Coroutines
Collaboration diagram for Coroutines:

Data Structures

struct  OSCoroutine
 

Typedefs

typedef struct OSCoroutine OSCoroutine
 

Functions

void OSInitCoroutine (OSCoroutine *coroutine, void *entry, void *stack)
 
uint32_t OSLoadCoroutine (OSCoroutine *coroutine, uint32_t result)
 
uint32_t OSSaveCoroutine (OSCoroutine *coroutine)
 
void OSSwitchCoroutine (OSCoroutine *from, OSCoroutine *to)
 

Detailed Description


Data Structure Documentation

◆ OSCoroutine

struct OSCoroutine

Definition at line 16 of file coroutine.h.

Data Fields
uint32_t nia
uint32_t cr
uint32_t ugqr1
uint32_t stack
uint32_t sda2Base
uint32_t sdaBase
uint32_t gpr[18]
double fpr[18]
double psr[18]

Typedef Documentation

◆ OSCoroutine

typedef struct OSCoroutine OSCoroutine

Definition at line 1 of file coroutine.h.

Function Documentation

◆ OSInitCoroutine()

void OSInitCoroutine ( OSCoroutine coroutine,
void *  entry,
void *  stack 
)

◆ OSLoadCoroutine()

uint32_t OSLoadCoroutine ( OSCoroutine coroutine,
uint32_t  result 
)

◆ OSSaveCoroutine()

uint32_t OSSaveCoroutine ( OSCoroutine coroutine)

◆ OSSwitchCoroutine()

void OSSwitchCoroutine ( OSCoroutine from,
OSCoroutine to 
)