diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-01-30 18:23:08 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-20 14:20:29 +0000 |
commit | 86d44c215e91da43555a2cfd58b7c6b725f036fb (patch) | |
tree | cbe6c39620e9d8e6bf32c566d60ad0c900ca35ba /rust/qemu-api | |
parent | fc0ea471ec26cdc5639809c4ea4b70a80567f432 (diff) | |
download | qemu-86d44c215e91da43555a2cfd58b7c6b725f036fb.zip qemu-86d44c215e91da43555a2cfd58b7c6b725f036fb.tar.gz qemu-86d44c215e91da43555a2cfd58b7c6b725f036fb.tar.bz2 |
target/arm: Rename CP_ACCESS_TRAP_UNCATEGORIZED to CP_ACCESS_UNDEFINED
CP_ACCESS_TRAP_UNCATEGORIZED is technically an accurate description
of what this return value from a cpreg accessfn does, but it's liable
to confusion because it doesn't match how the Arm ARM pseudocode
indicates this case. What it does is an EXCP_UDEF with a zero
("uncategorized") syndrome value, which is what an UNDEFINED instruction
does. The pseudocode uses "UNDEFINED" to show this; rename our
constant to CP_ACCESS_UNDEFINED to make the parallel clearer.
Commit created with
sed -i -e 's/CP_ACCESS_TRAP_UNCATEGORIZED/CP_ACCESS_UNDEFINED/' $(git grep -l CP_ACCESS_TRAP_UNCATEGORIZED)
plus manual editing of the comment.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250130182309.717346-14-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions