hax: add Darwin support
commit87eaf94d112ebea3cab50ac7490e37fe57e41238
authorVincent Palatin <vpalatin@chromium.org>
Mon, 19 Dec 2016 10:29:05 +0000 (19 11:29 +0100)
committerStefan Weil <sw@weilnetz.de>
Mon, 19 Dec 2016 10:52:34 +0000 (19 11:52 +0100)
tree13c524f3247222a6ff8a33a09c176f2a31816158
parent13eaa20270979ed94e23e9010230c63979a4e603
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