diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-02-14 17:51:11 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-02-21 16:07:01 +0000 |
commit | a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553 (patch) | |
tree | c7e4bb6b1cdb3d209e888adb82164c9112745011 /util/qemu-option.c | |
parent | 3bec78447a958d4819911252e056f29740ac25e4 (diff) | |
download | qemu-a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553.zip qemu-a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553.tar.gz qemu-a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553.tar.bz2 |
target/arm: Correct definition of PMCRDP
The PMCR_EL0.DP bit is bit 5, which is 0x20, not 0x10. 0x10 is 'X'.
Correct our #define of PMCRDP and add the missing PMCRX.
We do have the correct behaviour for handling the DP bit being
set, so this fixes a guest-visible bug.
Fixes: 033614c47de
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200214175116.9164-17-peter.maydell@linaro.org
Diffstat (limited to 'util/qemu-option.c')
0 files changed, 0 insertions, 0 deletions