target/ppc: cpu_init: Move 604e SPR registration into a function
commit3b18ec7687de2bf7ef5eef6e5db3a544ee8c8bb5
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 18 Feb 2022 07:34:15 +0000 (18 08:34 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 07:34:15 +0000 (18 08:34 +0100)
treeee958f7dbd90b68d7a56469f41dbc76b7037c569
parenta3a27674883e1d4fb205f1f5f1dcfb646fb0ff70
target/ppc: cpu_init: Move 604e SPR registration into a function

This is done to improve init_proc readability and to make subsequent
patches that touch this code a bit cleaner.

Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220216162426.1885923-18-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/cpu_init.c