commit | 2786a3f8d3a047cc21271380324c0b7d8217f238 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Thu Apr 11 17:30:07 2024 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Fri Apr 12 14:48:01 2024 -0700 |
tree | f1830c352fa2b55fdc3529ac4ad6a201f782904f | |
parent | be72d6ab361a26878752467a17289066dfd5bc28 [diff] |
target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT Reads are done with execute access. It is not clear whether writes are legal at all -- for now, leave helper_st_asi unchanged, so that we continue to raise an mmu fault. This generalizes the exiting code for ASI_KERNELTXT to be usable for ASI_USERTXT as well, by passing down the MemOpIdx to use. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2281 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2059 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1609 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1166 Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: M Bazz <bazz@bazz1.com>