diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/cpu.h | 1 | ||||
-rw-r--r-- | target-sh4/translate.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 623eacc..86a4a6b 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -95,6 +95,7 @@ typedef struct tlb_t { enum sh_features { SH_FEATURE_SH4A = 1, + SH_FEATURE_BCR3_AND_BCR4 = 2, }; typedef struct CPUSH4State { diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 80ea851..a0ee4f1 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -222,12 +222,14 @@ static sh4_def_t sh4_defs[] = { .pvr = 0x00050000, .prr = 0x00000100, .cvr = 0x00110000, + .features = SH_FEATURE_BCR3_AND_BCR4, }, { .name = "SH7751R", .id = SH_CPU_SH7751R, .pvr = 0x04050005, .prr = 0x00000113, .cvr = 0x00110000, /* Neutered caches, should be 0x20480000 */ + .features = SH_FEATURE_BCR3_AND_BCR4, }, { .name = "SH7785", .id = SH_CPU_SH7785, |