1.1 --- a/src/sh4/sh4core.h Tue Jan 15 20:50:23 2008 +0000
1.2 +++ b/src/sh4/sh4core.h Wed Jan 16 09:37:47 2008 +0000
1.5 #define GET_ICACHE_PHYS(addr) (sh4_icache.page_ppa + ((addr)-sh4_icache.page_vma))
1.8 + * Return the virtual (vma) address for the first address past the end of the
1.9 + * cache entry. Assumes that there is in fact a current icache entry.
1.11 +#define GET_ICACHE_END() (sh4_icache.page_vma + (~sh4_icache.mask) + 1)
1.13 /* SH4 module functions */
1.14 void sh4_init( void );
1.15 void sh4_reset( void );