7891dd35fa2439a70f43ab8572778a398365bf24 |
28-Apr-2014 |
David 'Digit' Turner <digit@google.com> |
Support building with newest Mingw64 cross-toolchain. This modifies android-configure.sh to detect the new Mingw64-based cross toolchain (i.e. x86_64-w64-mingw32-gcc) and use it when it is in the user's path. Note that this only builds a 32-bit Windows binary, it just uses a different toolchain to do it. A future patch will add support for building both Win32 and Win64 binaries at the same time (which the new toolchain supports). Since this switches from GCC 4.2 to 4.8, this introduces a ton of new warnings that require some cleanups in the sources too. Only the most important warnings are fixed here. Change-Id: Iec8c9b8332d4a38a2cb8acf368c8aa5341cf77be
sdep.c
|
86b1fb06ee6ef53d8961ce96343ba4aa37518840 |
21-Mar-2014 |
David 'Digit' Turner <digit@google.com> |
tcg: Upgrade to upstream version. This switches the full TCG implementation to the upstream version from the following upstream commit: 1a8e80d7e82aa385ad887dba5d039e399a18264b Note that this requires completely reqwriting the softmmu_template.h declarations to adapt to the new world order where all ld/st helpers now accepts a CPUArchState* value as their first parameter. + This also gets rid of the REGPARM macro, which means that on i386, parameters are now passed on the stack instead of using registers. As surprising as it is, this doesn't seem to affect emulation performance in significant ways when starting the emulator with -force-32bit, compared to the latest SDK emulator binary. This may be due to the improved binary translator. Note that this doesn't switch the emulation to use the new MemoryRegion API, so there are still a few minor differences with upstream softmmu_*.h headers. The target-*/ sources have been minimally modified to accomodate for the changes, and everything seems to work. However, not that CONFIG_ANDROID_MEMCHECK_MMU hasn't been tested yet. + get rid of obsolete softmmu_outside_jit.c NOTE: There are two important differences with the upstream sources: - An '#undef small' in tcg.c used to build the Windows binaries with mingw32 on Linux. - The declaration of cc_compute_all and cc_compute_c helpers in target-i386/helper.h use TCG_CALL_NO_SE instead of TCG_CALL_NO_SE_RWG. Otherwise, it's impossible to boot an x86 system image properly. Change-Id: I6ed5c58f237493d29b1cefaff3e0db6f58977fbf
itops.c
|
73ad19aa8555ce54c4e3259edaa88fc1c7c820a5 |
17-Mar-2014 |
David 'Digit' Turner <digit@google.com> |
util/osdep.c: Remove compiler warning. Change-Id: I0d8ecd7b2358d3fa9266e0c1808cc201b83cd789
sdep.c
|
940bbfbe153ce66d546047e692128f97d2adfa46 |
06-Mar-2014 |
David 'Digit' Turner <digit@google.com> |
Fix mingw debug build. This fixes the standalone debug Windows build, i.e.: ./android-rebuild.sh --mingw --debug It looks like Mingw32 doesn't provide ffs() in debug mode. Go figure. Change-Id: I24a2fc964bc465253cb9db8c520e07b37187ca7c
slib-win32.c
|
c005246ed03de874fdc432073ba8e5e8ebfed922 |
25-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Remove trailing spaces in misc sources. Change-Id: I573d4e816112b7401b3c824fbe773b85a8601531
utils.c
|
76bc27e498ecd8e75885308f81cf7b61c8aadfe7 |
12-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Fix the emulator build. This patch solves many compilation issues that were not detected locally: - <sys/syscall.h> cannot always be included, so add a _GNU_SOURCE=1 definition and ensure it is only included with CONFIG_SIGNALFD (which is currently undefined). - Remove from the Win32 build. For some reason, this compiled fine with ./android-rebuild.sh --mingw. Change-Id: If572852d0b40fff53a8a9e97456b4d6a42de0426
ompatfd.c
|
a18ede0ba44219ff3c65a380fa51d8baa62d19ef |
06-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
qemu-timer-common.c: Move to util/ to match upstream. Change-Id: Idd2a65d564f2dab00b6c93dbaa045cf0743da475
emu-timer-common.c
|
b9d9ba6b123f552020e1dfd22f38bfa0f73bc67c |
05-Feb-2014 |
David 'Digit' Turner <digit@android.com> |
util/envlist.c: Use upstream version Change-Id: Ic092e3009b0b6818231657adc348aaf9c8d2fe24
nvlist.c
|
31a3d5b8f00c8ee72d44c4e7d4e37023ee32e412 |
05-Feb-2014 |
David 'Digit' Turner <digit@android.com> |
util/cutils.c: Use upstream version. Change-Id: I32189ff8092022816c1d5b55df9137dd0a33f6d2
utils.c
|
74f2ec66c299bf9706d209d3fca597afd733a8e1 |
05-Feb-2014 |
David 'Digit' Turner <digit@android.com> |
Remove unused util/acl.c Change-Id: Ifdffdcd22b9053d14c1852918807123088662693
cl.c
|
494b129f77a2254e235244c605fe8a21f7188edd |
05-Feb-2014 |
David 'Digit' Turner <digit@android.com> |
util/compatfd.c: upstream implementation. Change-Id: I1b4eceddfe65d1112e007f9a440eeb2349e7d396
ompatfd.c
|
086e66e13d37c79da0cd90b92f0127c869aa7b9d |
04-Feb-2014 |
David 'Digit' Turner <digit@android.com> |
qemu-thread: use upstream version. Note: some code in cpus.c still uses functions like qemu_thread_signal() that are not implemented anymore, but this is ok as long as CONFIG_IOTHREAD is not defined in our configurations. This will have to be address in a future patch. Change-Id: I74def50e3f3cfba69352072efc467cf23e025f36
emu-thread-posix.c
emu-thread-win32.c
emu-thread.c
|
c79de3c66b3506a1c6b00daedaea9b616b3e140c |
23-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
Get QEMUFile implementation to upstream level. Change-Id: I0c5003876c7df0246118cb903cf6b834fac82687
ield-android.c
|
6731cf52901064b55e19bae60ade2ccb5f69829c |
16-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
<qemu-common.h>, <osdep.h>: upstream integration. Change-Id: I418ead66b929af81bd158114afe56387c9939a97
ost-utils.c
odule.c
sdep.c
slib-posix.c
slib-win32.c
ath.c
emu-error.c
emu-sockets.c
|
8848f632455c464be35092720757b953f57c29fe |
16-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
cache-utils: upstream integration Change-Id: Ia7fecda45c0c4bfa565feb928a0d192ecf233902
ache-utils.c
|
1befd3440439e8181a31140674e847f2d3e1481e |
15-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
Bring <qemu/iov.h> and <qemu/typedefs.h> The location of qemu_iovec_xxx functions has moved from util/cutils.c to a new file util/iov.c, with a few changes in the function's interface, so update all callers. + Bring in <qemu/typedefs.h> and fix the few conflicts there. Change-Id: I851ad31c3e15a0e8a23266cbfd5d1a52630a66b7
utils.c
exdump.c
ov.c
|
910aea96b67d7f0357f586c47f20848ec435aa1b |
15-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
qapi: First integration of qapi definitions. Brings headers (and some sources) related to the QEMU object model up to date with regards to upstream. Note that this misses several implementation files which are currently not used. Also misses qemu/cpu.h since it defines CPUState in a completely different way than our current sources. Change-Id: I8ece10ff9fcab28cb2e7de3493be21b793b3c98a
rror.c
nicode.c
|
a6775c752a2af7a51b431367e284f3ac619e48f3 |
13-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
util/cutils.c: update to upstream. Note that this still contains qemu_iovec_xxx routines which will be moved elsewhere later. Change-Id: I66e5cfa99b39a16f342f7b4d67eb14aff31b30ee
utils.c
|
8bfaf41d4fed01472c04ad2f61a82cff68c8186e |
13-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
<qemu/aes.h>: Minor upstream update. Change-Id: Ibb54a991a86d6bb3040bf5121e501f16b2b94dc2
es.c
|
2184d300da3cbf971fadc095edfa9537f371f9d1 |
13-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
<qemu/notify.h>: update to match upstream. Change-Id: Id51251e5bf106f479a97b45d1a4825ac524ea703
otify.c
|
aa8236dc1b1ea300ab18716db5b8fab42aca3ca7 |
10-Jan-2014 |
David 'Digit' Turner <digit@android.com> |
qemu-malloc.c: Remove qemu-specific heap routines. Remove all uses of qemu_malloc/malloc0/realloc/free/strdup/etc to use the equivalent GLib functions (g_malloc, g_free, ...) as per upstream. This also removes qemu-malloc.c since it's no longer required. Change-Id: I3c36a0396b73dd114b8da385b43f56a2e54dbb15
cl.c
utils.c
odule.c
emu-option.c
emu-sockets-android.c
emu-sockets.c
|
d0edecb426b34ddb9b10b81dea19aee04a61a385 |
17-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
qemu_socket.h -> include/qemu/sockets.h Change-Id: I4b538a8033c3c89bf0a7a0c2f2a50a4beab65501
sdep.c
slib-posix.c
slib-win32.c
emu-sockets-android.c
emu-sockets.c
|
2a7dde0b2f96b05048320a0840cde7ab3d4be9fe |
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move qemu-objects.h -> include/qapi/qmp/types.h Change-Id: I21ecd8acb180e2b780b8432ceb142ef4ff5ea076
emu-option.c
|
93e0d9cfb6d950b638ba93cf5318e5689e4ba64e |
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
qemu-option.h -> include/qemu/option.h Change-Id: I94301207676115c935ee198e8f814ee2943613e0
emu-config.c
emu-option.c
|
057b0f638014d1cb6764aab945b98197329f745e |
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move elf_ops.h -> include/hw/elf_ops.h + qemu-thread.h -> include/qemu/thread.h + qemu-os-*.h -> include/sysemu/os-*.h Change-Id: I68a58a817e54a7f607b34b7a9b34e38a685233ea
emu-thread.c
|
031d655004e505a15e92580a16a181d1d247c4d5 |
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move qemu-queue.h -> include/qemu/queue.h Change-Id: I2ef2c4aea2cdf73e834b013a11fb63a0eb720262
nvlist.c
odule.c
|
34c48ff1e3ad5cd2084ca40188754d45f423750b |
15-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move headers to incude/sysemu/ + arch_init.h, balloon.h, blockdev.h, dma.h, kvm.h, sysemu.h -> include/sysemu/ + kvm-android.h -> include/android/kvm.h Change-Id: I3d334e1b6eea836fdcee9f36fe693cf4c74be54f
sdep.c
slib-posix.c
slib-win32.c
|
6af6765e2f3bc930d0dce21d752bea570a1b1362 |
14-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move monitor.h to include/monitor/ + monitor-android.h -> include/android/monitor.h Change-Id: Iad8afa71461dd70c6997902516fbf4ef7cb8babe
emu-error.c
|
1c31e3e43ce4cca85a707dfff631e5e102fdeced |
14-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Even more moves. include/ui + ui/ include/qapi/qmp/ + qobject/ Change-Id: Ief236a08cb234d9dd692e85907757678ef32f035
slib-posix.c
slib-win32.c
ath.c
emu-config.c
emu-error.c
emu-option.c
emu-sockets-android.c
emu-sockets.c
emu-thread.c
|
e90d665cd63a0bc5c3306e1ee3e98ad362546b16 |
14-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move more stuff to include/qemu/ and util/ Change-Id: I3d10ae4d5b050f7da565476e2c0f6be5d3348f5d
ompatfd.c
utils.c
nvlist.c
ost-utils.c
odule.c
otify.c
|
37dc41a01f33a1e6aca0458b205c2b1609fe82c3 |
14-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move more files to include/qemu/ and util/ Change-Id: I79e70241894e8bbeea2de711ff9de742583c23b1
cl.c
es.c
ache-utils.c
|
845691383dd6a0ff71acf7aee0736adba350f6a9 |
13-Dec-2013 |
David 'Digit' Turner <digit@android.com> |
Move osdeps.h to include/qemu/osdep.h and osdep.c to util/osdep.c Change-Id: Icaf5cd7dfc8f75cbe7eb324cc9ca91a976f35d57
sdep.c
|