This is a fleshed out version of the pseudo-patch I posted in response to Bruno Larsen's "untangle CPU init" patch set, specifically to replace
https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg06754.html Plus, ppc_spr_t can use some love to match. r~ PS, I generated this vs master, so it might not apply without conflict against Bruno's prerequisites. Richard Henderson (2): target/ppc: Clean up _spr_register et al target/ppc: Reduce the size of ppc_spr_t target/ppc/cpu.h | 12 ++- target/ppc/translate_init.c.inc | 154 +++++++++++++++----------------- 2 files changed, 82 insertions(+), 84 deletions(-) -- 2.25.1