summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson2016-10-28 13:09:37 +0200
committerDavid Gibson2017-01-31 00:10:13 +0100
commitd6e166c08203f47017555f5f52b70f35399c824c (patch)
treeabd7480a77a7937b71d3fabd363fe80271ce8fae /include/hw/ppc/spapr.h
parentppc: Clean up and QOMify hypercall emulation (diff)
downloadqemu-d6e166c08203f47017555f5f52b70f35399c824c.tar.gz
qemu-d6e166c08203f47017555f5f52b70f35399c824c.tar.xz
qemu-d6e166c08203f47017555f5f52b70f35399c824c.zip
ppc: Rename cpu_version to compat_pvr
The 'cpu_version' field in PowerPCCPU is badly named. It's named after the 'cpu-version' device tree property where it is advertised, but that meaning may not be obvious in most places it appears. Worse, it doesn't even really correspond to that device tree property. The property contains either the processor's PVR, or, if the CPU is running in a compatibility mode, a special "logical PVR" representing which mode. Rename the cpu_version field, and a number of related variables to compat_pvr to make this clearer. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions