filename | src/sh4/sh4.h |
changeset | 1125:9dd5dee45db9 |
prev | 1094:d2324eb67223 |
next | 1187:266e7a1bae90 |
author | nkeynes |
date | Mon Sep 13 10:13:42 2010 +1000 (13 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 +10001.2 +++ b/src/sh4/sh4.h Mon Sep 13 10:13:42 2010 +10001.3 @@ -97,6 +97,12 @@1.5 extern const struct cpu_desc_struct sh4_cpu_desc;1.7 +typedef enum {1.8 + SH4_INTERPRET,1.9 + SH4_TRANSLATE,1.10 + SH4_SHADOW1.11 +} sh4core_t;1.12 +1.13 /**1.14 * Switch between translation and emulation execution modes. Note that this1.15 * should only be used while the system is stopped. If the system was built1.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.23 /**1.24 * Test if system is currently using the translation engine.
.