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

Lucas Mateus Castro (alqotel) posted 3 patches 2 years, 9 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210723175627.72847-1-lucas.araujo@eldorado.org.br
Maintainers: David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>
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
[PATCH v5 0/3] target/ppc: MMU clean up
Posted by Lucas Mateus Castro (alqotel) 2 years, 9 months ago
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

-- 
2.17.1