]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | #ifndef SYSEMU_TCG_H | |
9 | #define SYSEMU_TCG_H | |
10 | ||
14a48c1d | 11 | #ifdef CONFIG_TCG |
ce4049e8 | 12 | extern bool tcg_allowed; |
14a48c1d MA |
13 | #define tcg_enabled() (tcg_allowed) |
14 | #else | |
15 | #define tcg_enabled() 0 | |
16 | #endif | |
17 | ||
18 | #endif |