X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fcompiler.h;fp=Pico%2Fcarthw%2Fsvp%2Fcompiler.h;h=f2d51febb54ff6b99e4592df12f90712c4ff319a;hb=1ca2ea4f60d990a4240a387fdde78a87f77f30f1;hp=2e4b272723622b9da6332a94c347d82437cd3521;hpb=c46ffd310f86522e2557e4d19945de5a40350ffc;p=picodrive.git diff --git a/Pico/carthw/svp/compiler.h b/Pico/carthw/svp/compiler.h index 2e4b272..f2d51fe 100644 --- a/Pico/carthw/svp/compiler.h +++ b/Pico/carthw/svp/compiler.h @@ -1,6 +1,12 @@ -#define TCACHE_SIZE (1024*1024) +#define SSP_TCACHE_SIZE (512*1024) +#define SSP_BLOCKTAB_SIZE (0x5090/2*4) +#define SSP_BLOCKTAB_IRAM_SIZE (15*0x800/2*4) +#define SSP_BLOCKTAB_ALIGN_SIZE 3808 +#define SSP_DRC_SIZE (SSP_TCACHE_SIZE + SSP_BLOCKTAB_SIZE + SSP_BLOCKTAB_IRAM_SIZE + SSP_BLOCKTAB_ALIGN_SIZE) -extern unsigned int tcache[]; +extern unsigned int tcache[SSP_TCACHE_SIZE/4]; +extern unsigned int *ssp_block_table[0x5090/2]; +extern unsigned int *ssp_block_table_iram[15][0x800/2]; int ssp_drc_entry(int cycles); void ssp_drc_next(void);