32x: split sh2 code, compiler stub
[picodrive.git] / cpu / drc / cmn.h
1 #define SSP_TCACHE_SIZE         (512*1024)
2 #define SSP_BLOCKTAB_SIZE       (0x5090/2*4)
3 #define SSP_BLOCKTAB_IRAM_SIZE  (15*0x800/2*4)
4 #define SSP_BLOCKTAB_ALIGN_SIZE 3808
5 #define SSP_DRC_SIZE (SSP_TCACHE_SIZE + SSP_BLOCKTAB_SIZE + SSP_BLOCKTAB_IRAM_SIZE + SSP_BLOCKTAB_ALIGN_SIZE)
6
7 extern unsigned int tcache[SSP_TCACHE_SIZE/4];
8 extern unsigned int *ssp_block_table[SSP_BLOCKTAB_SIZE/4];
9 extern unsigned int *ssp_block_table_iram[15][0x800/2];
10
11 void drc_cmn_init(void);
12 void drc_cmn_cleanup(void);
13