sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
packet2_t Struct Reference

#include <packet2_types.h>

Public Member Functions

qword_t *base __attribute__ ((aligned(64)))

Public Attributes

u16 max_qwords_count
enum Packet2Type type
enum Packet2Mode mode
u8 tte
qword_t * next
dma_tag_t * tag_opened_at
vif_code_t * vif_code_opened_at

Detailed Description

DMA data packet. Successor of standard packet.

Definition at line 300 of file packet2_types.h.

Member Function Documentation

◆ __attribute__()

qword_t *base packet2_t::__attribute__ ( (aligned(64)) )

Start position of the buffer.

Member Data Documentation

◆ max_qwords_count

u16 packet2_t::max_qwords_count

Maximum number of qwords which was defined in packet2_create().

Definition at line 303 of file packet2_types.h.

◆ mode

enum Packet2Mode packet2_t::mode

Packet mode.

Definition at line 307 of file packet2_types.h.

◆ next

qword_t* packet2_t::next

Current position of the buffer.

Definition at line 319 of file packet2_types.h.

◆ tag_opened_at

dma_tag_t* packet2_t::tag_opened_at

The buffer position where DMA tag was opened. NULL, if no dma tag is open.

Definition at line 324 of file packet2_types.h.

◆ tte

u8 packet2_t::tte

Tag transfer enable. Effective only in chain mode. If >0 transfer tag is set during packet sending and add_dma_tag() (so also every open_tag()) will move buffer by DWORD, so remember to align memory!

Definition at line 315 of file packet2_types.h.

◆ type

enum Packet2Type packet2_t::type

Type of packet's memory mapping.

Definition at line 305 of file packet2_types.h.

◆ vif_code_opened_at

vif_code_t* packet2_t::vif_code_opened_at

The buffer position where DIRECT/UNPACK was opened. NULL, if no DIRECT/UNPACK is open.

Definition at line 329 of file packet2_types.h.


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