2019-05-23 17:35:05 +03: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.
|
|
|
|
*/
|
|
|
|
|
2023-04-03 15:53:17 +03:00
|
|
|
/* header to be included in non-TCG-specific code */
|
|
|
|
|
2019-05-23 17:35:05 +03:00
|
|
|
#ifndef SYSEMU_TCG_H
|
|
|
|
#define SYSEMU_TCG_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_TCG
|
2020-05-26 20:24:22 +03:00
|
|
|
extern bool tcg_allowed;
|
2019-05-23 17:35:05 +03:00
|
|
|
#define tcg_enabled() (tcg_allowed)
|
|
|
|
#else
|
|
|
|
#define tcg_enabled() 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|