Skip to contentSkip to conversation

mips: Enable vectored interrupt support for the 74Kf CPU

PATCH In review Maciej W. Rozycki 2 participants 2 messages Nov 4, 2014 – Nov 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: Enable vectored interrupt support for the 74Kf CPU

Enable vectored interrupt support for the 74Kf CPU, reflecting hardware.

---
qemu-mips-config-74k-vint.diff

target-mips/translate_init.c +1 -1
Index: qemu-git-trunk/target-mips/translate_init.c
===================================================================
@@ -331,7 +331,7 @@ static const mips_def_t mips_defs[] =
                        (1 << CP0C1_CA),
         .CP0_Config2 = MIPS_CONFIG2,
         .CP0_Config3 = MIPS_CONFIG3 | (1 << CP0C3_DSP2P) | (1 << CP0C3_DSPP) |
-                       (0 << CP0C3_VInt),
+                       (1 << CP0C3_VInt),
         .CP0_LLAddr_rw_bitmask = 0,
         .CP0_LLAddr_shift = 4,
         .SYNCI_Step = 32,
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Maciej W. Rozycki

Enable vectored interrupt support for the 74Kf CPU, reflecting hardware.

---
qemu-mips-config-74k-vint.diff
Index: qemu-git-trunk/target-mips/translate_init.c
===================================================================

target-mips/translate_init.c static const mips_def_t mips_defs[] = · line 337

Quoted 8 lines
target-mips/translate_init.c +1 -1
@@ -331,7 +331,7 @@ static const mips_def_t mips_defs[] =
                        (1 << CP0C1_CA),
         .CP0_Config2 = MIPS_CONFIG2,
         .CP0_Config3 = MIPS_CONFIG3 | (1 << CP0C3_DSP2P) | (1 << CP0C3_DSPP) |
-                       (0 << CP0C3_VInt),
+                       (1 << CP0C3_VInt),
         .CP0_LLAddr_rw_bitmask = 0,
         .CP0_LLAddr_shift = 4,
         .SYNCI_Step = 32,