]> git.proxmox.com Git - mirror_qemu.git/blame - include/sysemu/tcg.h
hw/arm: Add `\n` to hint message
[mirror_qemu.git] / include / sysemu / tcg.h
CommitLineData
14a48c1d
MA
1/*
2 * QEMU TCG support
3 *
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 */
7
69700301
PMD
8/* header to be included in non-TCG-specific code */
9
14a48c1d
MA
10#ifndef SYSEMU_TCG_H
11#define SYSEMU_TCG_H
12
14a48c1d 13#ifdef CONFIG_TCG
ce4049e8 14extern bool tcg_allowed;
14a48c1d
MA
15#define tcg_enabled() (tcg_allowed)
16#else
17#define tcg_enabled() 0
18#endif
19
20#endif