diff --git a/qemu/target-mips/translate_init.c b/qemu/target-mips/translate_init.c index 5320b02a..94ca3b59 100644 --- a/qemu/target-mips/translate_init.c +++ b/qemu/target-mips/translate_init.c @@ -334,6 +334,44 @@ static const mips_def_t mips_defs[] = CPU_MIPS32R2 | ASE_MIPS16, MMU_TYPE_R4000, }, + { + "24KEc", + 0x00019600, + MIPS_CONFIG0 | (0x1 << CP0C0_AR) | + (MMU_TYPE_R4000 << CP0C0_MT), + MIPS_CONFIG1 | (15 << CP0C1_MMU) | + (0 << CP0C1_IS) | (3 << CP0C1_IL) | (1 << CP0C1_IA) | + (0 << CP0C1_DS) | (3 << CP0C1_DL) | (1 << CP0C1_DA) | + (1 << CP0C1_CA), + MIPS_CONFIG2, + MIPS_CONFIG3 | (1 << CP0C3_DSPP) | (0 << CP0C3_VInt), + 0,0, + 0,0, + 0, + 0, + 0, + 4, + 32, + 2, + /* we have a DSP, but no FPU */ + 0x1378FF1F, + 0, + 0, + 0, + 0, + 0, + 0, + 32, + 32, + 0,0, + 0,0, + 0,0, + 0,0, + 0,0, + 0,0, + CPU_MIPS32R2 | ASE_MIPS16 | ASE_DSP, + MMU_TYPE_R4000, + }, { "24Kf", 0x00019300,