summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@linux.ibm.com>2022-02-18 08:34:15 +0100
committerCédric Le Goater <clg@kaod.org>2022-02-18 08:34:15 +0100
commita5d1120b1ddbce120dc6d963364d778b6550ce66 (patch)
tree6dd0d3b8958e437cf14c8d0c3569129f93fa7592 /scripts/qapi/source.py
parent20f6fb99b2a820f4c0e067c46efc63ea00f90180 (diff)
downloadfocaccia-qemu-a5d1120b1ddbce120dc6d963364d778b6550ce66.tar.gz
focaccia-qemu-a5d1120b1ddbce120dc6d963364d778b6550ce66.zip
target/ppc: cpu_init: Deduplicate 745/755 SPR registration
The 745 and 755 can share the HID registration, so move it all into
register_755_sprs, which applies for both CPUs.

Also rename that function to register_745_sprs, since the 745 is the
earliest of the two. This will help with separating 755-specific
registers in a subsequent patch.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220216162426.1885923-14-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions