mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00

Headers in include/sysemu/ are not only related to system *emulation*, they are also used by virtualization. Rename as system/ which is clearer. Files renamed manually then mechanical change using sed tool. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Message-Id: <20241203172445.28576-1-philmd@linaro.org>
20 lines
381 B
C
20 lines
381 B
C
/*
|
|
* QEMU TCG support
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
/* header to be included in non-TCG-specific code */
|
|
|
|
#ifndef SYSTEM_TCG_H
|
|
#define SYSTEM_TCG_H
|
|
|
|
#ifdef CONFIG_TCG
|
|
extern bool tcg_allowed;
|
|
#define tcg_enabled() (tcg_allowed)
|
|
#else
|
|
#define tcg_enabled() 0
|
|
#endif
|
|
|
|
#endif
|