Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/include/sysemu/tcg.h

19 lines
327 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
/*
* 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