target/ppc: Rename registers to match ISA
commita5116b959c84f5a631769586bf04b575c88613ba
authorNicholas Piggin <npiggin@gmail.com>
Wed, 13 Sep 2023 03:37:57 +0000 (13 13:37 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Fri, 23 Feb 2024 13:24:32 +0000 (23 23:24 +1000)
tree7d1b9992e334f76e39bc9f15d756ffa6d7ab064d
parent3d2d2996d771031731b376c65a45600a68b3bb7e
target/ppc: Rename registers to match ISA

Several registers have names that don't match the ISA (or convention
with other QEMU PPC registers), making them unintuitive to use with
GDB.

Fortunately most of these registers are obscure and/or have not been
correctly implemented in the gdb server (e.g., DEC, TB, CFAR), so risk
of breaking users should be low.

QEMU should follow the ISA for register name convention (where there is
no established GDB name).

Acked-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu_init.c
target/ppc/helper_regs.c