]> Git Repo - qemu.git/commit
target/arm: Correct definition of PMCRDP
authorPeter Maydell <[email protected]>
Fri, 14 Feb 2020 17:51:11 +0000 (17:51 +0000)
committerPeter Maydell <[email protected]>
Fri, 21 Feb 2020 16:07:01 +0000 (16:07 +0000)
commita1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553
treec7e4bb6b1cdb3d209e888adb82164c9112745011
parent3bec78447a958d4819911252e056f29740ac25e4
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é <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Message-id: 20200214175116[email protected]
target/arm/helper.c
This page took 0.025317 seconds and 4 git commands to generate.