]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm: Rearrange cpu64.c so all the CPU initfns are together
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Aug 2022 17:41:56 +0000 (18:41 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 29 Sep 2022 16:35:05 +0000 (17:35 +0100)
commit042e85d14c0f7cf3adf9ce67dd45b311378e67fa
tree3afc417eba619d78e896bca3bf7adfc9f64ec22e
parentf190bd1da1c291bb1dac9a715e02ef2521698d16
target/arm: Rearrange cpu64.c so all the CPU initfns are together

cpu64.c has ended up in a slightly odd order -- it starts with the
initfns for most of the models-real-hardware CPUs; after that comes a
bunch of support code for SVE, SME, pauth and LPA2 properties.  Then
come the initfns for the 'host' and 'max' CPU types, and then after
that one more models-real-hardware CPU initfn, for a64fx.  (This
ordering is partly historical and partly required because a64fx needs
the SVE properties.)

Reorder the file into:
 * CPU property support functions
 * initfns for real hardware CPUs
 * initfns for host and max
 * class boilerplate

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/cpu64.c