32x: split sh2 code, compiler stub
[picodrive.git] / cpu / drc / cmn.h
CommitLineData
41397701 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
7extern unsigned int tcache[SSP_TCACHE_SIZE/4];
8extern unsigned int *ssp_block_table[SSP_BLOCKTAB_SIZE/4];
9extern unsigned int *ssp_block_table_iram[15][0x800/2];
10
11void drc_cmn_init(void);
12void drc_cmn_cleanup(void);
13