On 8/4/25 7:23 AM, Mohamed Mediouni wrote:
Some code can be shared between x86_64 and arm64 WHPX. Do so as much as 
reasonable.

Signed-off-by: Mohamed Mediouni <moha...@unpredictable.fr>
---
  MAINTAINERS                  |   2 +
  accel/whpx/meson.build       |   1 +
  accel/whpx/whpx-common.c     | 564 +++++++++++++++++++++++++++++++++++
  include/system/whpx-all.h    |  20 ++
  include/system/whpx-common.h |  21 ++
  target/i386/whpx/whpx-all.c  | 551 +---------------------------------
  6 files changed, 618 insertions(+), 541 deletions(-)
  create mode 100644 accel/whpx/whpx-common.c
  create mode 100644 include/system/whpx-all.h
  create mode 100644 include/system/whpx-common.h

It's just moving code around and declare common interface in include/system/whpx-common.h.

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to