diff options
| author | Alex Bennée | 2021-11-29 15:09:25 +0100 |
|---|---|---|
| committer | Alex Bennée | 2021-11-29 16:12:37 +0100 |
| commit | 48e14066ac10581db4e69f75eda107cfdafa6022 (patch) | |
| tree | 35c0135d30e39746cdfbfe1ea36507172bde86e0 /include/exec/exec-all.h | |
| parent | Merge tag 'pull-target-arm-20211129' of https://git.linaro.org/people/pmaydel... (diff) | |
| download | qemu-48e14066ac10581db4e69f75eda107cfdafa6022.tar.gz qemu-48e14066ac10581db4e69f75eda107cfdafa6022.tar.xz qemu-48e14066ac10581db4e69f75eda107cfdafa6022.zip | |
accel/tcg: introduce CF_NOIRQ
Here we introduce a new compiler flag to disable the checking of exit
request (icount_decr.u32). This is useful when we want to ensure the
next block cannot be preempted by an asynchronous event.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211129140932.4115115-2-alex.bennee@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
| -rw-r--r-- | include/exec/exec-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6bb2a0f7ec..35d8e93976 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -503,6 +503,7 @@ struct TranslationBlock { #define CF_USE_ICOUNT 0x00020000 #define CF_INVALID 0x00040000 /* TB is stale. Set with @jmp_lock held */ #define CF_PARALLEL 0x00080000 /* Generate code for a parallel context */ +#define CF_NOIRQ 0x00100000 /* Generate an uninterruptible TB */ #define CF_CLUSTER_MASK 0xff000000 /* Top 8 bits are cluster ID */ #define CF_CLUSTER_SHIFT 24 |
