Assuming that the code in ioport.c is not too performance critical, we can move this to the target-independent source set after reworking the ld*_p and st*_p helper functions a little bit.
This way, ioport.c has only to be compiled once and not multiple times anymore (one time for each target), so this should help to speed up the compilation process a little bit, and is a good preparation for the single emulator binary project. Thomas Huth (2): include/exec: Make ld*_p and st*_p functions available for generic code, too softmmu: Move ioport.c into the target-independent source set include/exec/cpu-all.h | 25 ---------------- include/exec/tswap.h | 66 ++++++++++++++++++++++++++++++++++++++++++ softmmu/ioport.c | 2 +- softmmu/meson.build | 2 +- 4 files changed, 68 insertions(+), 27 deletions(-) -- 2.31.1