32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
[picodrive.git] / cpu / drc / cmn.h
index 447c2fc..a4bce32 100644 (file)
@@ -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);