coastline 0.0.4
Loading...
Searching...
No Matches
OSTask_t Struct Reference

A task for the RSP: its microcode, its stack and output buffers, and the data it runs. More...

#include <sptask.h>

Public Attributes

u32 type
u32 flags
u64 * ucode_boot
u32 ucode_boot_size
u64 * ucode
u32 ucode_size
u64 * ucode_data
u32 ucode_data_size
u64 * dram_stack
u32 dram_stack_size
u64 * output_buff
u64 * output_buff_size
u64 * data_ptr
u32 data_size
u64 * yield_data_ptr
u32 yield_data_size

Detailed Description

A task for the RSP: its microcode, its stack and output buffers, and the data it runs.

Member Data Documentation

◆ type

u32 OSTask_t::type

The kind of task, such as M_GFXTASK for graphics.

◆ flags

u32 OSTask_t::flags

The OS_TASK_ bits.

◆ ucode_boot

u64* OSTask_t::ucode_boot

The microcode that boots the RSP and loads the task microcode.

◆ ucode_boot_size

u32 OSTask_t::ucode_boot_size

The size of the boot microcode, in bytes.

◆ ucode

u64* OSTask_t::ucode

The text of the task microcode.

◆ ucode_size

u32 OSTask_t::ucode_size

The size of the text of the task microcode, in bytes.

◆ ucode_data

u64* OSTask_t::ucode_data

The data of the task microcode.

◆ ucode_data_size

u32 OSTask_t::ucode_data_size

The size of the data of the task microcode, in bytes.

◆ dram_stack

u64* OSTask_t::dram_stack

The matrix stack of the microcode in memory, aligned to 16 bytes.

◆ dram_stack_size

u32 OSTask_t::dram_stack_size

The size of the matrix stack, in bytes.

◆ output_buff

u64* OSTask_t::output_buff

The start of the buffer the RSP writes RDP commands to.

◆ output_buff_size

u64* OSTask_t::output_buff_size

The end of the output buffer, despite the name.

◆ data_ptr

u64* OSTask_t::data_ptr

The display list or command list the task runs.

◆ data_size

u32 OSTask_t::data_size

The size of the display list or command list, in bytes.

◆ yield_data_ptr

u64* OSTask_t::yield_data_ptr

The buffer the RSP saves its state to when the task yields.

◆ yield_data_size

u32 OSTask_t::yield_data_size

The size of the yield buffer, OS_YIELD_DATA_SIZE bytes.


The documentation for this struct was generated from the following file: