diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 13:57:30 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-05-01 07:37:13 -0700 |
| commit | e1d8fabc20adb6a766773adb4a9b5bfe93e329bb (patch) | |
| tree | 55ac56827ebe1a6b9c934225374521a7c2d0ef11 /target/openrisc/sys_helper.c | |
| parent | c1be135ad5b124b08715ca836b95b738c6b9d7d4 (diff) | |
| download | focaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.tar.gz focaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.zip | |
tcg: Define INSN_START_WORDS as constant 3
Use the same value for all targets. Rename TARGET_INSN_START_WORDS and do not depend on TARGET_INSN_START_EXTRA_WORDS. Remove TCGContext.insn_start_words. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc/sys_helper.c')
| -rw-r--r-- | target/openrisc/sys_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index 951f8e247a..d96b41a01c 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -218,7 +218,7 @@ target_ulong HELPER(mfspr)(CPUOpenRISCState *env, target_ulong rd, { OpenRISCCPU *cpu = env_archcpu(env); #ifndef CONFIG_USER_ONLY - uint64_t data[TARGET_INSN_START_WORDS]; + uint64_t data[INSN_START_WORDS]; MachineState *ms = MACHINE(qdev_get_machine()); CPUState *cs = env_cpu(env); int idx; |