filename | src/sh4/sh4core.h |
changeset | 971:886e1ec8447d |
prev | 968:6fb1481859a4 |
next | 975:007bf7eb944f |
author | nkeynes |
date | Thu Jan 22 02:58:13 2009 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Fix 1k-entry allocation Break asid remap into two passes for simplicity |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4core.h Thu Jan 15 11:23:20 2009 +00001.2 +++ b/src/sh4/sh4core.h Thu Jan 22 02:58:13 2009 +00001.3 @@ -242,6 +242,13 @@1.4 void FASTCALL sh4_accept_interrupt( void );1.6 /**1.7 + * Convert a TLB miss or data addr read exception to a write exception1.8 + * by updating EXPEVT. (used for instructions like AND.B that are1.9 + * documented to raise write exceptions if the target isn't readable)1.10 + */1.11 +void sh4_update_exception_readtowrite( void );1.12 +1.13 +/**1.14 * Complete the current instruction as part of a core exit. Prevents the1.15 * system from being left in an inconsistent state when an exit is1.16 * triggered during a memory write.1.17 @@ -299,7 +306,7 @@1.18 extern struct mem_region_fn p4_region_ocache_addr;1.19 extern struct mem_region_fn p4_region_ocache_data;1.21 -1.22 +#define OC_ENABLED 11.24 #ifdef __cplusplus1.25 }
.