X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fdrc%2Fcmn.h;h=a4bce322ca8293e7da76be2d40545d97b2394bd4;hb=679af8a3f466a2a4a20f58e4181a231fb73e9836;hp=447c2fc352b021b9f0a87b5e6f1f1ea0a5e9db33;hpb=98da48e4181441545c6a66e622f845ab33b34e5b;p=picodrive.git diff --git a/cpu/drc/cmn.h b/cpu/drc/cmn.h index 447c2fc..a4bce32 100644 --- a/cpu/drc/cmn.h +++ b/cpu/drc/cmn.h @@ -1,12 +1,10 @@ -#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[SSP_TCACHE_SIZE/4]; -extern unsigned int *ssp_block_table[SSP_BLOCKTAB_SIZE/4]; -extern unsigned int *ssp_block_table_iram[15][0x800/2]; +typedef unsigned char u8; +typedef unsigned short u16; +typedef unsigned int u32; + +#define DRC_TCACHE_SIZE (512*1024) + +extern u32 tcache[DRC_TCACHE_SIZE/4]; void drc_cmn_init(void); void drc_cmn_cleanup(void);