diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-19 12:46:47 +0100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 15:07:32 -0700 |
| commit | 21d41c566d0694a90836d5c7ae4c6b279f5312a8 (patch) | |
| tree | acb6d7d0506862211f31d14cc2371a153a8a7aee /target/sparc | |
| parent | 79b835f1395ea5cba9a1d5f02c0fb1a429d48e7d (diff) | |
| download | focaccia-qemu-21d41c566d0694a90836d5c7ae4c6b279f5312a8.tar.gz focaccia-qemu-21d41c566d0694a90836d5c7ae4c6b279f5312a8.zip | |
tcg: Declare TARGET_INSN_START_EXTRA_WORDS in 'cpu-param.h'
To avoid including the huge "cpu.h" for a simple definition, move TARGET_INSN_START_EXTRA_WORDS to "cpu-param.h". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/sparc')
| -rw-r--r-- | target/sparc/cpu-param.h | 2 | ||||
| -rw-r--r-- | target/sparc/cpu.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/sparc/cpu-param.h b/target/sparc/cpu-param.h index 6952ee2b82..62d47b804b 100644 --- a/target/sparc/cpu-param.h +++ b/target/sparc/cpu-param.h @@ -21,6 +21,8 @@ # define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif +#define TARGET_INSN_START_EXTRA_WORDS 1 + /* * From Oracle SPARC Architecture 2015: * diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h index 734dfdb1d3..83ac818933 100644 --- a/target/sparc/cpu.h +++ b/target/sparc/cpu.h @@ -223,7 +223,6 @@ typedef struct trap_state { uint32_t tt; } trap_state; #endif -#define TARGET_INSN_START_EXTRA_WORDS 1 typedef struct sparc_def_t { const char *name; |