]> git.proxmox.com Git - mirror_qemu.git/commit
hvf: Move cpu functions into common directory
authorAlexander Graf <agraf@csgraf.de>
Thu, 3 Jun 2021 13:09:31 +0000 (14:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Jun 2021 15:43:26 +0000 (16:43 +0100)
commit358e7505b2795d3df505661da7be9dc81eaa91d9
tree1801ef5e82e00d28f1ac1058ad8616aeceda1734
parent39a3445012e44b01f6a7e7b29cf7477ef2a656eb
hvf: Move cpu functions into common directory

Until now, Hypervisor.framework has only been available on x86_64 systems.
With Apple Silicon shipping now, it extends its reach to aarch64. To
prepare for support for multiple architectures, let's start moving common
code out into its own accel directory.

This patch moves CPU and memory operations over. While at it, make sure
the code is consumable on non-i386 systems.

Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20210519202253.76782-4-agraf@csgraf.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
accel/hvf/hvf-accel-ops.c
include/sysemu/hvf_int.h
target/i386/hvf/hvf-i386.h
target/i386/hvf/hvf.c
target/i386/hvf/x86hvf.h