diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-02-27 12:44:00 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-26 15:33:59 -0700 |
commit | 3803b6b4273afd50021c39a8e34ca706aeadb684 (patch) | |
tree | c953b24f4dd1409f1a395481f7174f2c0b9eca34 /target/mips/cpu-qom.h | |
parent | 6bc0d6a04733cb39d2d2bf3380a857709113242f (diff) |
target/mips: Fold jazz behaviour into mips_cpu_do_transaction_failed
Add a flag to MIPSCPUClass in order to avoid needing to
replace mips_tcg_ops.do_transaction_failed.
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20210227232519.222663-2-richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/cpu-qom.h')
-rw-r--r-- | target/mips/cpu-qom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/mips/cpu-qom.h b/target/mips/cpu-qom.h index 826ab13019..dda0c911fa 100644 --- a/target/mips/cpu-qom.h +++ b/target/mips/cpu-qom.h @@ -47,6 +47,9 @@ struct MIPSCPUClass { DeviceRealize parent_realize; DeviceReset parent_reset; const struct mips_def_t *cpu_def; + + /* Used for the jazz board to modify mips_cpu_do_transaction_failed. */ + bool no_data_aborts; }; |