target/arm: expose MPIDR_EL1 to userspace
commit522641660c3de64ed8322b8636c58625cd564a3f
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 15 Feb 2019 09:56:38 +0000 (15 09:56 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Feb 2019 09:56:38 +0000 (15 09:56 +0000)
treec331865c11175975dec790f31cca3abb51b5e1ad
parent6c5c0fec29bbfe36c64eca1edfd8455be46b77c6
target/arm: expose MPIDR_EL1 to userspace

As this is a single register we could expose it with a simple ifdef
but we use the existing modify_arm_cp_regs mechanism for consistency.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20190205190224.2198-4-alex.bennee@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c