Merge tag 'pull-request-2024-10-21' of https://gitlab.com/thuth/qemu into staging
[qemu/kevin.git] / include / sysemu / tcg.h
blob5e2ca9aab3da4fb3bda7c70aa86363f0da723d9f
1 /*
2 * QEMU TCG support
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 /* header to be included in non-TCG-specific code */
10 #ifndef SYSEMU_TCG_H
11 #define SYSEMU_TCG_H
13 #ifdef CONFIG_TCG
14 extern bool tcg_allowed;
15 #define tcg_enabled() (tcg_allowed)
16 #else
17 #define tcg_enabled() 0
18 #endif
20 #endif