diff options
author | Alex Bennée | 2021-02-13 14:03:21 +0100 |
---|---|---|
committer | Alex Bennée | 2021-02-18 09:19:23 +0100 |
commit | c4afb3456c84e4500ac04c7cea86082804ca7c63 (patch) | |
tree | 9b858337c437192492697358ca8e157e5f9d304e /include/exec/exec-all.h | |
parent | accel/tcg: re-factor non-RAM execution code (diff) | |
download | qemu-c4afb3456c84e4500ac04c7cea86082804ca7c63.tar.gz qemu-c4afb3456c84e4500ac04c7cea86082804ca7c63.tar.xz qemu-c4afb3456c84e4500ac04c7cea86082804ca7c63.zip |
accel/tcg: remove CF_NOCACHE and special cases
Now we no longer generate CF_NOCACHE blocks we can remove a bunch of
the special case handling for them. While we are at it we can remove
the unused tb->orig_tb field and save a few bytes on the TB structure.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210213130325.14781-20-alex.bennee@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
-rw-r--r-- | include/exec/exec-all.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index d30c7a84f6..665fe68607 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -454,7 +454,6 @@ struct TranslationBlock { uint32_t cflags; /* compile flags */ #define CF_COUNT_MASK 0x00007fff #define CF_LAST_IO 0x00008000 /* Last insn may be an IO access. */ -#define CF_NOCACHE 0x00010000 /* To be freed after execution */ #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 */ @@ -469,8 +468,6 @@ struct TranslationBlock { struct tb_tc tc; - /* original tb when cflags has CF_NOCACHE */ - struct TranslationBlock *orig_tb; /* first and second physical page containing code. The lower bit of the pointer tells the index in page_next[]. The list is protected by the TB's page('s) lock(s) */ |