On 4/4/25 14:54, Philippe Mathieu-Daudé wrote:
On 4/4/25 20:21, Pierrick Bouvier wrote:
On 4/3/25 16:58, Philippe Mathieu-Daudé wrote:
Extract PSCI definitions (which are not target specific)
to the new "target/arm/psci.h", so code from hw/arm/ can
use them without having to include the target specific
"cpu.h" header.


Including cpu.h is not a problem to have common code (per architecture),
so there is no need to do any change here.

Again, this is an old patch from my heterogeneous PoC branch.
I'll remove from this series to not distract you.


It's not distracting, but simply not needed.


Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
---
   include/hw/arm/boot.h      |  3 ++-
   target/arm/cpu.h           |  6 ------
   target/arm/psci.h          | 18 ++++++++++++++++++
   hw/arm/bananapi_m2u.c      |  1 +
   hw/arm/boot.c              |  1 +
   hw/arm/highbank.c          |  1 +
   hw/arm/imx8mp-evk.c        |  1 +
   hw/arm/mcimx6ul-evk.c      |  1 +
   hw/arm/mcimx7d-sabre.c     |  1 +
   hw/arm/orangepi.c          |  1 +
   hw/arm/sbsa-ref.c          |  1 +
   hw/arm/virt-acpi-build.c   |  1 +
   hw/arm/virt.c              |  1 +
   hw/arm/xlnx-versal-virt.c  |  1 +
   hw/arm/xlnx-zcu102.c       |  1 +
   hw/vmapple/vmapple.c       |  1 +
   target/arm/helper.c        |  1 +
   target/arm/hvf/hvf.c       |  1 +
   target/arm/tcg/op_helper.c |  1 +
   target/arm/tcg/psci.c      |  1 +
   20 files changed, 37 insertions(+), 7 deletions(-)
   create mode 100644 target/arm/psci.h


Reply via email to