diff options
Diffstat (limited to 'include/exec/translation-block.h')
| -rw-r--r-- | include/exec/translation-block.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/exec/translation-block.h b/include/exec/translation-block.h index a6d1af6e9b..3c69bc71a9 100644 --- a/include/exec/translation-block.h +++ b/include/exec/translation-block.h @@ -7,8 +7,10 @@ #ifndef EXEC_TRANSLATION_BLOCK_H #define EXEC_TRANSLATION_BLOCK_H +#include "qemu/atomic.h" #include "qemu/thread.h" #include "exec/cpu-common.h" +#include "exec/vaddr.h" #ifdef CONFIG_USER_ONLY #include "qemu/interval-tree.h" #endif @@ -152,4 +154,7 @@ static inline uint32_t tb_cflags(const TranslationBlock *tb) return qatomic_read(&tb->cflags); } +bool tcg_cflags_has(CPUState *cpu, uint32_t flags); +void tcg_cflags_set(CPUState *cpu, uint32_t flags); + #endif /* EXEC_TRANSLATION_BLOCK_H */ |