1 #ifndef __P_SPU_C64X_H__
2 #define __P_SPU_C64X_H__
5 #include "spu_config.h"
7 #define COMPONENT_NAME "pcsxr_spu"
15 unsigned char spu_ram[512 * 1024];
16 sample_buf sb_thread[MAXCHAN];
17 // careful not to lose ARM writes by DSP overwriting
18 // with old data when it's writing out neighbor cachelines
19 int _pad1[128/4 - ((sizeof(sample_buf) * MAXCHAN / 4) & (128/4 - 1))];
21 // these are not to be modified by DSP
22 SPUCHAN s_chan[24 + 1];
26 int _pad2[128/4 - ((sizeof(struct spu_in) / 4) & (128/4 - 1))];
27 struct spu_worker worker;
29 int sizeof_region_mem;
31 int offsetof_spos_3_20;
36 #endif /* __P_SPU_C64X_H__ */