diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2023-08-22 17:31:10 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-08-22 17:31:10 +0100 |
commit | b17d86eb5ef745f393f3387b15df2b9b2aaae793 (patch) | |
tree | 725568396fc01c97e0d21c18e2a77e66d8153ff7 /scripts/xen-detect.c | |
parent | a729d63642b01f2b7a3c1db468811a7b40b88f70 (diff) | |
download | qemu-b17d86eb5ef745f393f3387b15df2b9b2aaae793.zip qemu-b17d86eb5ef745f393f3387b15df2b9b2aaae793.tar.gz qemu-b17d86eb5ef745f393f3387b15df2b9b2aaae793.tar.bz2 |
target/arm: Adjust PAR_EL1.SH for Device and Normal-NC memory types
The PAR_EL1.SH field documents that for the cases of:
* Device memory
* Normal memory with both Inner and Outer Non-Cacheable
the field should be 0b10 rather than whatever was in the
translation table descriptor field. (In the pseudocode this
is handled by PAREncodeShareability().) Perform this
adjustment when assembling a PAR value.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230807141514.19075-16-peter.maydell@linaro.org
Diffstat (limited to 'scripts/xen-detect.c')
0 files changed, 0 insertions, 0 deletions