aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/memory.rs
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-01-30 18:23:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-02-20 14:20:29 +0000
commitfc0ea471ec26cdc5639809c4ea4b70a80567f432 (patch)
treed84d04b2e6bfe71a3a3c7edebeda8cc7e565264c /rust/qemu-api/src/memory.rs
parentf706b67da61aecc54bbdad16bea3fc69e9fd844b (diff)
downloadqemu-fc0ea471ec26cdc5639809c4ea4b70a80567f432.zip
qemu-fc0ea471ec26cdc5639809c4ea4b70a80567f432.tar.gz
qemu-fc0ea471ec26cdc5639809c4ea4b70a80567f432.tar.bz2
target/arm: Remove CP_ACCESS_TRAP handling
There are no longer any uses of CP_ACCESS_TRAP in access functions, because we have converted them all to use either CP_ACCESS_TRAP_EL1 or CP_ACCESS_TRAP_UNCATEGORIZED, as appropriate. Remove the handling of bare CP_ACCESS_TRAP from the access_check_cp_reg() helper, so that it now asserts if an access function returns a value requesting a trap without a target EL. Rename CP_ACCESS_TRAP to CP_ACCESS_TRAP_BIT, to make it clearer that this is an internal-only definition, not something that it makes sense to return from an access function. This should help to avoid future bugs where we return the wrong syndrome value by mistake. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250130182309.717346-13-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api/src/memory.rs')
0 files changed, 0 insertions, 0 deletions