mbox series

[v5,0/3] target/ppc: MMU clean up

Message ID 20210723175627.72847-1-lucas.araujo@eldorado.org.br (mailing list archive)
Headers show
Series target/ppc: MMU clean up | expand

Message

Lucas Mateus Castro (alqotel) July 23, 2021, 5:56 p.m. UTC
This patch series aims to clean up some of the code mmu_helper.c,
including removing the #includes inside ifdef.

This version of the patch has been rebased on the current ppc-for-6.2
branch as adapted accordingly.

v4: Moved functions declarations from cpu.h to internal.h when possible.

v5: Changed the copyright of target/ppc/mmu_common.c to be the same as
target/ppc/mmu_helper.c. Updated the message of helper_regs.c

Comments are welcome, thanks,
Lucas Mateus.

Lucas Mateus Castro (alqotel) (3):
  target/ppc: divided mmu_helper.c in 2 files
  target/ppc: moved ppc_store_sdr1 to mmu_common.c
  target/ppc: moved store_40x_sler to helper_regs.c

 target/ppc/cpu.c         |   28 -
 target/ppc/cpu.h         |    9 +
 target/ppc/helper_regs.c |   12 +
 target/ppc/internal.h    |   39 +
 target/ppc/meson.build   |    8 +-
 target/ppc/mmu_common.c  | 1620 ++++++++++++++++++++++++++++++++++++++
 target/ppc/mmu_helper.c  | 1590 +------------------------------------
 7 files changed, 1686 insertions(+), 1620 deletions(-)
 create mode 100644 target/ppc/mmu_common.c