|
PS2SDK
PS2 Homebrew Libraries
|
#include <packet2_types.h>
Collaboration diagram for packet2_t:Public Member Functions | |
| qword_t *base | __attribute__ ((aligned(64))) |
Data Fields | |
| 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 |
DMA data packet. Successor of standard packet.
Definition at line 300 of file packet2_types.h.
| qword_t* base packet2_t::__attribute__ | ( | (aligned(64)) | ) |
Start position of the buffer.
| 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().
| enum Packet2Type packet2_t::type |
Type of packet's memory mapping.
Definition at line 305 of file packet2_types.h.
| enum Packet2Mode packet2_t::mode |
Packet mode.
Definition at line 307 of file packet2_types.h.
Referenced by dma_channel_send_packet2().
| 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.
| qword_t* packet2_t::next |
Current position of the buffer.
Definition at line 319 of file packet2_types.h.
Referenced by packet2_advance_next(), packet2_doesnt_have_even_number_of_quads(), packet2_get_qw_count(), packet2_reset(), packet2_update(), and packet2_vif_close_direct_auto().
| 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_close_tag(), and packet2_is_dma_tag_opened().
| 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.
Referenced by packet2_is_vif_code_opened(), packet2_reset(), packet2_vif_close_direct_auto(), packet2_vif_close_direct_manual(), packet2_vif_close_unpack_auto(), and packet2_vif_close_unpack_manual().