mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 22:17:40 -07:00
target/arm: Copy guarded bit in combine_cacheattrs
The guarded bit comes from the stage1 walk. Fixes: Coverity CID 1507929 Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20230407185149.3253946-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
6a3b1e440b
commit
8539dc0055
1 changed files with 1 additions and 0 deletions
|
|
@ -2576,6 +2576,7 @@ static ARMCacheAttrs combine_cacheattrs(uint64_t hcr,
|
|||
|
||||
assert(!s1.is_s2_format);
|
||||
ret.is_s2_format = false;
|
||||
ret.guarded = s1.guarded;
|
||||
|
||||
if (s1.attrs == 0xf0) {
|
||||
tagged = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue