aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-28 20:50:29 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-01-07 05:09:41 -1000
commita35b3e14157b9d912898d4800f329dc5f3c200a6 (patch)
tree406e0b8b0d9efdd5da62455db20d8e31b8c5cb02 /include/sysemu
parent6bc144237a857bc1238e5dcbc0b4f4ed94929463 (diff)
downloadqemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.zip
qemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.tar.gz
qemu-a35b3e14157b9d912898d4800f329dc5f3c200a6.tar.bz2
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/tcg.h b/include/sysemu/tcg.h
index d9d3ca8..00349fb 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)