Search
lxdream.org :: lxdream/src/sh4/sh4.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.h
changeset 1125:9dd5dee45db9
prev1094:d2324eb67223
next1187:266e7a1bae90
author nkeynes
date Mon Sep 13 10:13:42 2010 +1000 (9 years ago)
permissions -rw-r--r--
last change Implement shadow-execution 'core' to run translator + interpreter side by
side (for testing)
file annotate diff log raw
1.1 --- a/src/sh4/sh4.h Mon Dec 21 08:23:54 2009 +1000
1.2 +++ b/src/sh4/sh4.h Mon Sep 13 10:13:42 2010 +1000
1.3 @@ -97,6 +97,12 @@
1.4
1.5 extern const struct cpu_desc_struct sh4_cpu_desc;
1.6
1.7 +typedef enum {
1.8 + SH4_INTERPRET,
1.9 + SH4_TRANSLATE,
1.10 + SH4_SHADOW
1.11 +} sh4core_t;
1.12 +
1.13 /**
1.14 * Switch between translation and emulation execution modes. Note that this
1.15 * should only be used while the system is stopped. If the system was built
1.16 @@ -104,7 +110,7 @@
1.17 *
1.18 * @param use TRUE for translation mode, FALSE for emulation mode.
1.19 */
1.20 -void sh4_translate_set_enabled( gboolean use );
1.21 +void sh4_set_core( sh4core_t core );
1.22
1.23 /**
1.24 * Test if system is currently using the translation engine.
.