32x: drc: first implementation finished, no more interpreter dep
[picodrive.git] / cpu / sh2 / sh2.h
index 264bb4e..8e9f3b0 100644 (file)
@@ -11,20 +11,20 @@ typedef struct
        unsigned int    gbr, vbr;       // 50\r
        unsigned int    mach, macl;     // 58\r
 \r
-       // interpreter stuff\r
-       int             icount;         // 60 cycles left in current timeslice\r
-       unsigned int    ea;\r
-       unsigned int    delay;\r
-       unsigned int    test_irq;\r
-\r
        // common\r
-       const void      *read8_map;     // 70\r
+       const void      *read8_map;     // 60\r
        const void      *read16_map;\r
        const void      **write8_tab;\r
        const void      **write16_tab;\r
 \r
        // drc stuff\r
-       //void  **pc_hashtab;           // 80\r
+       int             drc_tmp;        // 70\r
+\r
+       // interpreter stuff\r
+       int             icount;         // cycles left in current timeslice\r
+       unsigned int    ea;\r
+       unsigned int    delay;\r
+       unsigned int    test_irq;\r
 \r
        int     pending_level;          // MAX(pending_irl, pending_int_irq)\r
        int     pending_irl;\r
@@ -37,7 +37,7 @@ typedef struct
        unsigned int    cycles_done;\r
 } SH2;\r
 \r
-extern SH2 *sh2; // active sh2\r
+extern SH2 *sh2; // active sh2. XXX: consider removing\r
 \r
 int  sh2_init(SH2 *sh2, int is_slave);\r
 void sh2_finish(SH2 *sh2);\r