summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorAlex Bennée2019-02-15 10:56:39 +0100
committerPeter Maydell2019-02-15 10:56:39 +0100
commitd040242effe47850060d2ef1c461ff637d88a84d (patch)
tree09e86b777ea002630674a6063a8886aacb0fb858 /target/arm/cpu.h
parenttarget/arm: expose MPIDR_EL1 to userspace (diff)
downloadqemu-d040242effe47850060d2ef1c461ff637d88a84d.tar.gz
qemu-d040242effe47850060d2ef1c461ff637d88a84d.tar.xz
qemu-d040242effe47850060d2ef1c461ff637d88a84d.zip
target/arm: expose remaining CPUID registers as RAZ
There are a whole bunch more registers in the CPUID space which are currently not used but are exposed as RAZ. To avoid too much duplication we expand ARMCPRegUserSpaceInfo to understand glob patterns so we only need one entry to tweak whole ranges of registers. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20190205190224.2198-5-alex.bennee@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 7c31e5a2d1..f0334413ec 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -2474,6 +2474,9 @@ typedef struct ARMCPRegUserSpaceInfo {
/* Name of register */
const char *name;
+ /* Is the name actually a glob pattern */
+ bool is_glob;
+
/* Only some bits are exported to user space */
uint64_t exported_bits;