6 #define SPR_BEGIN 0x70000000
21 if (type == PACKET_SPR)
24 packet->data = (qword_t *)SPR_BEGIN;
31 byte_size = qwords << 4;
34 if ((packet->data = memalign(64, byte_size)) == NULL)
43 if (type == PACKET_UCAB)
46 packet->data = (qword_t *)((u32)packet->data | 0x30000000);
51 memset(packet->data, 0, byte_size);
55 packet->qwords = qwords;
67 if (packet->type == PACKET_SPR)
75 if (packet->type == PACKET_UCAB)
78 packet->data = (qword_t *)((u32)packet->data ^ 0x30000000);
95 if (packet->type == PACKET_SPR)
98 packet->data = (qword_t *)SPR_BEGIN;
104 memset(packet->data, 0, packet->qwords << 4);