mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
fa79cde6ed
There is only one caller, and shortly we will need access to the MachineState, which tcg_init_machine already has. Reviewed-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
19 lines
327 B
C
19 lines
327 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.
|
|
*/
|
|
|
|
#ifndef SYSEMU_TCG_H
|
|
#define SYSEMU_TCG_H
|
|
|
|
#ifdef CONFIG_TCG
|
|
extern bool tcg_allowed;
|
|
#define tcg_enabled() (tcg_allowed)
|
|
#else
|
|
#define tcg_enabled() 0
|
|
#endif
|
|
|
|
#endif
|