target/ppc: cpu_init: Move check_pow and QOM macros to a header
commitb58fd0c39b6dd9f955b84c74a358e07a83e257c4
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)
treed144c928102e25c60709a043b35c42e52c9af36f
parent565873b3804e90fafba23bb09489790ec4e50f09
target/ppc: cpu_init: Move check_pow and QOM macros to a header

These will need to be accessed from other files once we move the CPUs
code to separate files.

The check_pow_hid0 and check_pow_hid0_74xx are too specific to be
moved to a header so I'll deal with them later when splitting this
code between the multiple CPU families.

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