|
ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <malloc.h>#include <kernel.h>#include <assert.h>#include <packet2.h>#include <string.h>#include <stdio.h>
Include dependency graph for packet2.c:Go to the source code of this file.
Macros | |
| #define | P2_ALIGNMENT 64 |
| #define | P2_MAKE_PTR_NORMAL(PTR) ((u32)(PTR)&0x0FFFFFFF) |
Functions | |
| packet2_t * | packet2_create (u16 qwords, enum Packet2Type type, enum Packet2Mode mode, u8 tte) |
| packet2_t * | packet2_create_from (qword_t *base, qword_t *next, u16 qwords, enum Packet2Type type, enum Packet2Mode mode, u8 tte) |
| void | packet2_free (packet2_t *packet2) |
| void | packet2_reset (packet2_t *packet2, u8 clear_mem) |
| void | packet2_add (packet2_t *a, packet2_t *b) |
| void | packet2_print (packet2_t *packet2, u32 qw_count) |
| void | packet2_print_qw_count (packet2_t *packet2) |