Search
lxdream.org :: lxdream/src/sh4/sh4core.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.h
changeset 971:886e1ec8447d
prev968:6fb1481859a4
next975:007bf7eb944f
author nkeynes
date Thu Jan 22 02:58:13 2009 +0000 (13 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 +0000
1.2 +++ b/src/sh4/sh4core.h Thu Jan 22 02:58:13 2009 +0000
1.3 @@ -242,6 +242,13 @@
1.4 void FASTCALL sh4_accept_interrupt( void );
1.5
1.6 /**
1.7 + * Convert a TLB miss or data addr read exception to a write exception
1.8 + * by updating EXPEVT. (used for instructions like AND.B that are
1.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 the
1.15 * system from being left in an inconsistent state when an exit is
1.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.20
1.21 -
1.22 +#define OC_ENABLED 1
1.23
1.24 #ifdef __cplusplus
1.25 }
.