hax: add Darwin supporthax-v5-pull-request
commitbc2fa770d55e472477bcd5fef1524a2c5314d7f0
authorVincent Palatin <vpalatin@chromium.org>
Mon, 14 Nov 2016 09:32:34 +0000 (14 10:32 +0100)
committerVincent Palatin <vpalatin@chromium.org>
Mon, 19 Dec 2016 14:16:12 +0000 (19 15:16 +0100)
treedc25b182959a1aaade6c0bd79395db3a9d57825a
parent85250fb0450b5b95232b39c82ab310a0632fd23f
hax: add Darwin support

Re-add the MacOSX/Darwin support:
Use the Intel HAX is kernel-based hardware acceleration module
(similar to KVM on Linux).

Based on the original "target-i386: Add Intel HAX to android emulator" patch
from David Chou <david.j.chou@intel.com> from  emu-2.2-release branch in
the external/qemu-android repository.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
cpus.c
target-i386/Makefile.objs
target-i386/hax-darwin.c [new file with mode: 0644]
target-i386/hax-darwin.h [new file with mode: 0644]
target-i386/hax-i386.h