|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
Macros | |
| #define | MAKE_VIF_CODE(_immediate, _num, _cmd, _irq) |
Functions | |
| u32 | packet2_vif_close_unpack_auto (packet2_t *packet2, u32 wl, u32 cl) |
| void | packet2_vif_add_micro_program (packet2_t *packet2, u32 dest, u32 *start, u32 *end) |
VIF related functions of libpacket2.
| #define MAKE_VIF_CODE | ( | _immediate, | |
| _num, | |||
| _cmd, | |||
| _irq ) |
Definition at line 26 of file packet2_vif.h.
|
extern |
Add VU micro program into packet2. Packet2 MODE for micro program upload: Chain
| dest | VU destination address (divided by 16). |
| start | Start address. |
| end | End address. |
Definition at line 14 of file packet2_vif.c.
| u32 packet2_vif_close_unpack_auto | ( | packet2_t * | packet2, |
| u32 | wl, | ||
| u32 | cl ) |
Close UNPACK automatically. In reality, get back to pointer "vif_code_opened_at" and fix num value with qwords counted from last packet2_vif_open_unpack().
| packet2 | Pointer to packet. |
| wl | WL Value (look at STCYCL) |
| cl | CL Value (look at STCYCL) |
Definition at line 34 of file packet2_vif.c.