Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 936:f394309c399a
prev906:268ea359f884
next950:cc1e88104360
author nkeynes
date Sat Jan 03 03:30:26 2009 +0000 (15 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change MMU work-in-progress
* Move SDRAM out into separate sdram.c
* Move all page-table management into mmu.c
* Convert UTLB management to use the new page-tables
* Rip out all calls to mmu_vma_to_phys_* and replace with direct access
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Thu Oct 30 00:06:49 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Sat Jan 03 03:30:26 2009 +0000
1.3 @@ -41,7 +41,7 @@
1.4 int active; /* 0 = deleted, 1 = normal. 2 = accessed (temp-space only) */
1.5 uint32_t size;
1.6 void **lut_entry; /* For deletion */
1.7 - uint32_t fpscr_mask, fpscr; /* fpscr condition check */
1.8 + uint32_t xlat_sh4_mode; /* comparison with sh4r.xlat_sh4_mode */
1.9 uint32_t recover_table_offset; // Offset from code[0] of the recovery table;
1.10 uint32_t recover_table_size;
1.11 unsigned char code[0];
1.12 @@ -51,8 +51,7 @@
1.13
1.14 #define XLAT_BLOCK_FOR_CODE(code) (((xlat_cache_block_t)code)-1)
1.15
1.16 -#define XLAT_BLOCK_FPSCR_MASK(code) (XLAT_BLOCK_FOR_CODE(code)->fpscr_mask)
1.17 -#define XLAT_BLOCK_FPSCR(code) (XLAT_BLOCK_FOR_CODE(code)->fpscr_mask)
1.18 +#define XLAT_BLOCK_MODE(code) (XLAT_BLOCK_FOR_CODE(code)->xlat_sh4_mode)
1.19
1.20 /**
1.21 * Initialize the translation cache
.