1.1 --- a/src/sh4/xltcache.h Sat Aug 09 10:48:03 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Wed Oct 29 23:36:31 2008 +0000
1.4 int active; /* 0 = deleted, 1 = normal. 2 = accessed (temp-space only) */
1.6 void **lut_entry; /* For deletion */
1.7 + uint32_t fpscr_mask, fpscr; /* fpscr condition check */
1.8 uint32_t recover_table_offset; // Offset from code[0] of the recovery table;
1.9 uint32_t recover_table_size;
1.10 unsigned char code[0];
1.13 typedef struct xlat_cache_block *xlat_cache_block_t;
1.15 +#define XLAT_BLOCK_FOR_CODE(code) (((xlat_cache_block_t)code)-1)
1.17 +#define XLAT_BLOCK_FPSCR_MASK(code) (XLAT_BLOCK_FOR_CODE(code)->fpscr_mask)
1.18 +#define XLAT_BLOCK_FPSCR(code) (XLAT_BLOCK_FOR_CODE(code)->fpscr_mask)
1.21 * Initialize the translation cache