mips: Enable vectored interrupt support for the 74Kf CPU
PATCH 1/1 mips: Enable vectored interrupt support for the 74Kf CPU
Enable vectored interrupt support for the 74Kf CPU, reflecting hardware.
Signed-off-by Maciej W. Rozycki <[email protected]>
---
qemu-mips-config-74k-vint.diff
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,
Quoted 11 lines · Maciej W. Rozycki
Enable vectored interrupt support for the 74Kf CPU, reflecting hardware.
Signed-off-by Maciej W. Rozycki <[email protected]>---
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,
Reviewed-by Leon Alrae <[email protected]>