diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-23 13:57:20 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-06 15:46:17 +0100 |
| commit | fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d (patch) | |
| tree | d415dc91fd6395974e8abfc231b7caa4bb648553 /accel/tcg/internal-common.h | |
| parent | cbaae5338b62a6e005e9a97f419b968e04a7004f (diff) | |
| download | focaccia-qemu-fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d.tar.gz focaccia-qemu-fb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d.zip | |
accel/tcg: Restrict 'icount_align_option' global to TCG
Since commit 740b1759734 ("cpu-timers, icount: new modules")
we don't need to expose icount_align_option to all the
system code, we can restrict it to TCG. Since it is used as
a boolean, declare it as 'bool' type.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-10-philmd@linaro.org>
Diffstat (limited to 'accel/tcg/internal-common.h')
| -rw-r--r-- | accel/tcg/internal-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel/tcg/internal-common.h b/accel/tcg/internal-common.h index d318672183..7ef620d963 100644 --- a/accel/tcg/internal-common.h +++ b/accel/tcg/internal-common.h @@ -17,6 +17,8 @@ extern int64_t max_advance; extern bool one_insn_per_tb; +extern bool icount_align_option; + /* * Return true if CS is not running in parallel with other cpus, either * because there are no other cpus or we are within an exclusive context. |