diff options
author | Richard Henderson | 2020-10-29 04:50:29 +0100 |
---|---|---|
committer | Richard Henderson | 2021-01-07 16:09:41 +0100 |
commit | a35b3e14157b9d912898d4800f329dc5f3c200a6 (patch) | |
tree | 406e0b8b0d9efdd5da62455db20d8e31b8c5cb02 /include/sysemu | |
parent | tcg: Use Error with alloc_code_gen_buffer (diff) | |
download | qemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.tar.gz qemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.tar.xz qemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.zip |
tcg: Add --accel tcg,split-wx property
Plumb the value through to alloc_code_gen_buffer. This is not
supported by any os or tcg backend, so for now enabling it will
result in an error.
Reviewed-by: Joelle van Dyne <j@getutm.app>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/tcg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/tcg.h b/include/sysemu/tcg.h index d9d3ca8559..00349fb18a 100644 --- a/include/sysemu/tcg.h +++ b/include/sysemu/tcg.h @@ -8,7 +8,8 @@ #ifndef SYSEMU_TCG_H #define SYSEMU_TCG_H -void tcg_exec_init(unsigned long tb_size); +void tcg_exec_init(unsigned long tb_size, int splitwx); + #ifdef CONFIG_TCG extern bool tcg_allowed; #define tcg_enabled() (tcg_allowed) |