target/ppc: Move common SPR functions out of cpu_init
commit65e0446c86ee70d2125c1f1d1e36e6c2dfb08642
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)
treea81c0c5d7a971426a9a83b83d5228773461c2027
parentb58fd0c39b6dd9f955b84c74a358e07a83e257c4
target/ppc: Move common SPR functions out of cpu_init

Let's leave cpu_init with just generic CPU initialization and
QOM-related functions.

The rest of the SPR registration functions will be moved in the
following patches along with the code that uses them. These are only
the commonly used ones.

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