Search
lxdream.org :: lxdream/src/sh4/sh4.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.h
changeset 929:fd8cb0c82f5f
prev904:5b92e51ac06b
next930:07e5b11419db
author nkeynes
date Sat Dec 20 03:01:40 2008 +0000 (13 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change First pass experiment using cached decoding.
file annotate diff log raw
1.1 --- a/src/sh4/sh4.h Wed Oct 29 23:36:31 2008 +0000
1.2 +++ b/src/sh4/sh4.h Sat Dec 20 03:01:40 2008 +0000
1.3 @@ -87,6 +87,13 @@
1.4 * a delay slot (certain rules apply) */
1.5 uint32_t slice_cycle; /* Current nanosecond within the timeslice */
1.6 int sh4_state; /* Current power-on state (one of the SH4_STATE_* values ) */
1.7 +
1.8 + /* lxdream cache structures below this point */
1.9 + struct {
1.10 + uint32_t page_vma;
1.11 + uint32_t page_mask;
1.12 + struct mem_region_fn *page_fn;
1.13 + } pointer_cache[17];
1.14 };
1.15
1.16 extern struct sh4_registers sh4r;
.