[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v2 0/2] hw/ppc: code motion to compile without TCG
From: |
Lucas Mateus Castro (alqotel) |
Subject: |
[RFC PATCH v2 0/2] hw/ppc: code motion to compile without TCG |
Date: |
Fri, 30 Apr 2021 15:40:45 -0300 |
After the feedback from v1 I reworked the patch with suggested ideas and
this version has less duplicated code and is overall simpler.
This patch series is still a WIP, there are still 2 main problems I am
trying to solve, I'll mention them in their respective patches.
The aim of these patches is to progress toward enabling disable-tcg on
PPC by solving errors in hw/ppc with that option.
As a WIP comments are welcome.
Lucas Mateus Castro (alqotel) (2):
target/ppc: Moved functions out of mmu-hash64
hw/ppc: Moved TCG code to spapr_hcall_tcg
hw/ppc/meson.build | 3 +
hw/ppc/spapr.c | 1 +
hw/ppc/spapr_caps.c | 1 +
hw/ppc/spapr_cpu_core.c | 1 +
hw/ppc/spapr_hcall.c | 301 ++--------------------------------
hw/ppc/spapr_hcall_tcg.c | 343 +++++++++++++++++++++++++++++++++++++++
hw/ppc/spapr_rtas.c | 1 +
target/ppc/meson.build | 1 +
target/ppc/mmu-hash64.c | 81 +--------
target/ppc/mmu-hash64.h | 6 -
target/ppc/mmu-misc.c | 86 ++++++++++
target/ppc/mmu-misc.h | 22 +++
12 files changed, 478 insertions(+), 369 deletions(-)
create mode 100644 hw/ppc/spapr_hcall_tcg.c
create mode 100644 target/ppc/mmu-misc.c
create mode 100644 target/ppc/mmu-misc.h
--
2.17.1
- [RFC PATCH v2 0/2] hw/ppc: code motion to compile without TCG,
Lucas Mateus Castro (alqotel) <=