ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
packet2_t Struct Reference

#include <packet2_types.h>

+ Collaboration diagram for packet2_t:

Data Fields

u16 max_qwords_count
 
enum Packet2Type type
 
enum Packet2Mode mode
 
u8 tte
 
qword_tbase
 
qword_tnext
 
dma_tag_ttag_opened_at
 
vif_code_tvif_code_opened_at
 

Detailed Description

DMA data packet. Successor of standard packet.

Definition at line 300 of file packet2_types.h.

Field Documentation

◆ base

◆ 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.

Referenced by packet2_add(), packet2_create(), packet2_create_from(), and packet2_reset().

◆ mode

enum Packet2Mode packet2_t::mode

Packet mode.

Definition at line 303 of file packet2_types.h.

Referenced by dma_channel_send_packet2(), packet2_create(), and packet2_create_from().

◆ next

◆ 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.

Referenced by packet2_chain_add_dma_tag(), packet2_chain_close_tag(), packet2_create(), packet2_is_dma_tag_opened(), and packet2_reset().

◆ 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.

Referenced by dma_channel_send_packet2(), packet2_chain_add_dma_tag(), packet2_create(), and packet2_create_from().

◆ type

enum Packet2Type packet2_t::type

Type of packet's memory mapping.

Definition at line 303 of file packet2_types.h.

Referenced by packet2_create(), and packet2_create_from().

◆ vif_code_opened_at

vif_code_t* packet2_t::vif_code_opened_at

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