[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-8.1 0/3] Make softmmu/qtest.c target independent
From: |
Thomas Huth |
Subject: |
[PATCH for-8.1 0/3] Make softmmu/qtest.c target independent |
Date: |
Tue, 11 Apr 2023 20:34:15 +0200 |
For being able to build universal binaries one day, we need certain
files to be independent from the emulated target. qtest.c is one of
these files. Rework the target specific code in there so we can
finally move it from "specific_ss" to "softmmu_ss".
Thomas Huth (3):
softmmu/qtest: Move the target-specific pseries RTAS code out of
qtest.c
include/exec: Provide the tswap() functions for target independent
code, too
softmmu: Make qtest.c target independent
include/exec/cpu-all.h | 64 +------------------------------------
include/exec/tswap.h | 72 ++++++++++++++++++++++++++++++++++++++++++
include/sysemu/qtest.h | 4 +++
hw/ppc/spapr_rtas.c | 29 +++++++++++++++++
softmmu/qtest.c | 51 +++++++++++-------------------
softmmu/meson.build | 2 +-
6 files changed, 126 insertions(+), 96 deletions(-)
create mode 100644 include/exec/tswap.h
--
2.31.1
- [PATCH for-8.1 0/3] Make softmmu/qtest.c target independent,
Thomas Huth <=