drc: revive x86 dynarec, support x86-64
[picodrive.git] / cpu / drc / cmn.h
index a4bce32..3946356 100644 (file)
@@ -1,10 +1,13 @@
 typedef unsigned char  u8;
+typedef signed char    s8;
 typedef unsigned short u16;
+typedef signed short   s16;
 typedef unsigned int   u32;
+typedef signed int     s32;
 
-#define DRC_TCACHE_SIZE         (512*1024)
+#define DRC_TCACHE_SIZE         (2*1024*1024)
 
-extern u32 tcache[DRC_TCACHE_SIZE/4];
+extern u8 *tcache;
 
 void drc_cmn_init(void);
 void drc_cmn_cleanup(void);