diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-21 13:06:54 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-09 17:00:47 +0100 |
commit | 3810e17173c3c1848f44c4fccf0160477a399dab (patch) | |
tree | f258d5a9623e248efed9eb59c736a0bda1ff2e9e /target/riscv/internals.h | |
parent | 71e950afe2b9cc43d1c4186c40c1aa0dced1077d (diff) | |
download | qemu-3810e17173c3c1848f44c4fccf0160477a399dab.zip qemu-3810e17173c3c1848f44c4fccf0160477a399dab.tar.gz qemu-3810e17173c3c1848f44c4fccf0160477a399dab.tar.bz2 |
target/riscv: Move has_work() from CPUClass to SysemuCPUOps
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250125170125.32855-17-philmd@linaro.org>
Diffstat (limited to 'target/riscv/internals.h')
-rw-r--r-- | target/riscv/internals.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/riscv/internals.h b/target/riscv/internals.h index 6729193..213aff3 100644 --- a/target/riscv/internals.h +++ b/target/riscv/internals.h @@ -142,8 +142,10 @@ static inline float16 check_nanbox_h(CPURISCVState *env, uint64_t f) } } -/* Our implementation of CPUClass::has_work */ +#ifndef CONFIG_USER_ONLY +/* Our implementation of SysemuCPUOps::has_work */ bool riscv_cpu_has_work(CPUState *cs); +#endif /* Zjpm addr masking routine */ static inline target_ulong adjust_addr_body(CPURISCVState *env, |