| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
|/
|
|
| |
Change-Id: Ic830748a627ffccfb4642cc56ea76496c6a8fb25
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
| |
This patch modifies the emulator's build system to place the
auto-generated file android/avd/hw-config-defs.h into the build
directory. Before that, the file was placed in the source tree.
+ Fix the standalone build system to properly deal with
generated source file dependencies + LOCAL_C_INCLUDES
Change-Id: I4e77cd20bf4ca21f79d5dd19f27724bd8be53a79
|
|\ |
|
|/
|
|
|
|
|
|
|
| |
Turns out that the string passed to putenv() must not be modified :-/
We provide our own win32 implementation for emulator-ui that doesn't
embed the os-win32.c QEMU-specific file.
Change-Id: I7260fbc37d23a5340dab589dfde577ef5eb10005
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3de10b579507165160e93c644023ce06bc557ba7
|
|\ \
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes the processing of the -sysdir option. Previously,
using -sysdir <path> would imply that the -system <path>/<path>/system.img
is used, which is incorrect.
Also fixes the skin search for the case where we are using the emulator
without a pre-existing AVD outside of platform builds (e.g. when running tests).
This happens with stuff like:
emulator -sysdir /path/to/known/sdk/platforms/<name>/images
The patch ensures that the /path/to/known/sdk/platforms/<name>/skins directory
is probed (this was the behaviour of the Tools R11 emulator).
Change-Id: I32398bec0d7a28ead234f63c847d3ec95ed14b63
|
|\ |
|
|/
|
|
|
|
|
| |
This option is no longer necessary, nor is it supported by recent versions
of Cygwin and/or i586-mingw32msvc-gcc.
Change-Id: Ie34481b60bfc3c1ced3e1ba09c4c935a7867e96d
|
|\ |
|
|/
|
|
|
|
|
|
|
| |
Never use read() or write() when using sockets on Windows, use
recv() / send() instead.
+ Remove compiler warning on Windows.
Change-Id: I53de04ceb3bad20dfebcbd8279506db87388a578
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch changes the emulator's default behaviour in two ways:
- Automatically compute the window scale to ensure that the emulator's
window can be displayed within the current screen. This ensures that
it remains usable when emulating a large-resolution device on a
small display (e.g. on a 13" laptop running at 1024x768).
This check and auto-correction do not happen if you use the
-scale or -dpi-monitor options.
- When re-centering an out-of-focus window, ensure that the top of
the window is visible (which generally includes the window's
title bar). This allows the window to be easily moved or minimized
by the user is needed.
This fixes three bugs:
http://code.google.com/p/android/issues/detail?id=16399
http://code.google.com/p/android/issues/detail?id=16398
http://code.google.com/p/android/issues/detail?id=16397
Change-Id: I8e5a624446d064038b5b9ad16556db8328244906
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
|
| |
Fixes the problem when disk.systemPartition.size
avd setting gets overrided by default 66 MBytes
hardcoded in qEmu.
Change-Id: Ideb7ca172cb72076c83037f823b86ede2442d6f9
|
|\ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patches forces the emulator-arm program to emulate a Cortex A8
when it detects that it is launching a platform build that was built
for the ARMv7-A architecture.
This is done by parsing the build.prop file and comparing the target
ABI to the value 'armeabi-v7a'. When this is the case, this will also
automatically adjust which prebuilt kernel image is selected from the
Android tree.
Note that nothing is changed for SDK AVDs in this change. They will
still need to define 'hw.cpu.model = cortex-a8' in their config.ini
to enable ARMv7-A support.
Change-Id: Ibba2a9a4bafbea3c33cb2dd365a881d488de15a9
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib5f7644242c9f02f3a8eed51aa1d24d1e98ff2aa
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new translator has the following benefits:
- faster emulation of ARMv5TE code (through improved JIT)
- proper support for ARMv7 and NEON
- rebuilding the full-eng platform images for ARMv7-A results
in additionnal speed increases (a.k.a. Thumb-2 rocks!).
Note that, as an interesting side effect, NEON machine code is generally
slower than the equivalent C code it is supposed to replace when run inside
the emulator. This can be explained by the fact that for now the translator
simply translates each NEON instruction into a series of sequential host
instructions (and also requires over-head for packing/unpacking/saturation/
etc...).
This change has been tested by running the "full-eng" platform image
rebuilt for ARMv7-A and Neon and using an appropriate kernel image
(prebuilt/android-arm/kernel/kernel-qemu-armv7). The system could boot
and seems to work perfectly. Not a single issue has been experienced
during testing. On a 2.4 GHz Xeon CPU, the image boots in about 25 seconds
(compared to 40 seconds for a vanilla one without this emulator patch).
Thanks to Peter Maydell at Linaro and ARM with his hard work to make this
happen (first in upstream, and now on Android).
This integration is based on the Meego git repository
(git://gitorious.org/qemu-maemo/qemu.git) using the following hash:
7e2d65b0c95c865b1fa6d3d4948e8e822b9ac2fd
On top of which, the following upstream patch has been applied
(with recommendation from Peter):
b7fa9214d8d4f57992c9acd0ccb125c54a095f00
(We chose this repository because it was the closest to the previous
integrate. We will probably use the Linaro ones for future work on this
part of the emulator).
Change-Id: I54837e3d2e908b2380d158411d7a9813630e7e4e
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
| |
Implement an unified sensor command line interface(CLI) on emulator
to check all available sensors, and get/set specified sensor data.
Change-Id: Ibb3c3522dc6c88e42fa1c7dffa32fbb675596b08
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is the dpi for the 720p resolution used by
Google TV. It's a special dpi, not a bucket dpi like
the other one so the handling is a bit different.
Change-Id: Id9a245422855c2dba82c267beca203006f6fd864
|
|\ \
| |/
|/| |
|
|/
|
|
| |
Change-Id: I76844f4f61ddc26832344d3fb03fb2dd33a93c07
|
|\ |
|
| |\
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch is a merge of a series of 42 upstream integration patches
into the emulator's master branch.
The individual patches come from the 'upstream-integrate'
branch that was uploaded separately on kernel.org.
The reference upstream sources used for this integration come
from http://meego.gitorious.org/qemu-maemo/qemu using the following
hash:
7243fbd089cce3c06ca24ed173a251f32644863c
In a nutshell, the goal is to make our source tree closer to upstream
in order to use various improvement there. Unfortunately, we're not to
the point where we can use the upstream ARMv7-A / NEON translator,
though we're getting close.
Major changes are:
- integrate upstream TCG and softfloat
- target-arm: Move most Android-specific helper functions to helper-android.c
and translate-android.h. This is in preparation of a _major_ integration
of the upstream ARM translator.
- moving various functions to different files (e.g. cpus.c,
qemu-os-posix.c, qemu-os-win32.c, arch_init.c, etc)
- qemu-char-android.c is now gone. We're using qemu-char.c
with slight modifications embedded within CONFIG_ANDROID-guarded
ifdef blocks.
- rename "trace.h" to "android-trace.h". We still need to keep
"trace.h" and "trace_common.h" until we also update
sdk/emulator/tools/qtools/ to use the new header names.
After this, we will integrate in a future integration
the auto-generated trace.h used by upstream.
- remove the OutputChannel hack. Instead, implement a "fake Monitor"
object that can be used with any function that takes a Monitor as
input. The fake Monitor is used to collect output into a dynamic
buffer (e.g. during snapshot save/load).
- convert to upstream QEMUTimer API changes.
- implement physical memory with RAMBlock lists (instead of a single array).
Short log of individual changes:
406a59b trace.h: rename to trace-android.h
288208c target-arm/translate.c: move Android-specific stuff out.
f1d9bf1 tcg: integrate upstream version
280afa0 ramblocks: integrate upstream implementation (sophisticated)
ae3098a vl-android.c: move arch-specific functions to arch_init.c
23ca2ae vl-android.c: move cpu functions to cpus.c
c1ac40a vl-android.c: use os-specific setup routines
e49c3f3 compatfd.c: minor integrate
4276038 cpu-exec.c: minor integrate
3b2846a qemu-char-android.c: rename to qemu-char.c
f645f7d cpu_restore_state: remove un-necessary argument.
f0753ac qjson.c: minor integrate
8354d2d vl-android.c: Move code to iohandler.c
d3d4468 translate-all.c: minor integrate
1f9ec0f qemu-config.c: minor integrate
d09775c monitor.c: minor integrate
9f64011 disas.c: minor integrate
69ed952 device_tree.c: minor integrate
e1c0948 bswap.h + others: minor integrate
6b9236d buffered_file.c: minor integrate
95a83ce savevm: Remove OutputBuffer hack.
986acc9 savevm.c: minor integrate
39373b1 arm-semi.c: minor integrate
fb955c7 README: minor integrate
8ee4e5e trace: simplify code and avoid conflicts
65d1521 acl.c: minor integrate
c98cf7b arm-dis.c: minor integrate
bfec547 fpu: upstream integrate
9bfb3d5 json-lexer.c, json-parser.c: minor integrate
6eaacfb trace.h: minor C compatibility fixes.
17410ee qemu-char.h, console.h: upstream integration
5973c77 qemu-timer.c: rename qemu_timer_new_scale()
317c9d5 qemu-timer.c: upstream integrate
47dc1f4 qerror: minor integrate
488bfd5 qemu-error: minor integrate
1646b4e posix-aio-compat.c: minor integrate
088edf8 os-posix.c + os-win32.c and dependencies
795bb19 qemu-common.h: other intergrates
45c3be0 integrate: qemu-common.h changes
Change-Id: If5771dd4b030c602b99845d7489d1f55406bf159
|
| |
| |
| |
| |
| |
| |
| | |
This is done to allow for future integration of the
upstream auto-generated "trace.h" header file.
Change-Id: I9d1bba3320d9e8acfd7359540d3ed6695773061e
|
| |
| |
| |
| | |
Change-Id: Id14c6b106dbac9b4016b7423327e9eb22e21fe75
|
| |
| |
| |
| | |
Change-Id: Ifcdebc2e7179fbc64b46a9150e6dae62f86eba3c
|
| |
| |
| |
| | |
Change-Id: I49e96e2d5ae571849b0b6fef0a30b41ecdee8d23
|
| |
| |
| |
| | |
Change-Id: I4908006f3492aab199466c501dedff2bd835d647
|
| |
| |
| |
| | |
Change-Id: Ib422f24224c2e75dd126689c67dbbb187d7c1670
|
| |
| |
| |
| |
| |
| | |
Also fixes a bug in os-posix.c
Change-Id: If2c6fb94d3e48d1db051aa9141dc2f69bdca35a8
|
| |
| |
| |
| | |
Change-Id: I93f921bfb2778bb592c9a4ce1e8c26ff5a5b6a97
|
| |
| |
| |
| | |
Change-Id: Id8bef52e4cf42c4ca4e56d34d103ba09dba28b96
|
| |
| |
| |
| |
| |
| | |
+ convert to QemuOpts* initialization functions.
Change-Id: I5a245ed2de068af49fdc92de8e3e834d0f49aa27
|
| |
| |
| |
| | |
Change-Id: I01cef0743cc9db9d21c2b7feb9f2a877ac4d2b35
|
| |
| |
| |
| | |
Change-Id: Id2c8a26a772d7fe76b8ec6a339a32111946d1350
|
| |
| |
| |
| | |
Change-Id: I28d2025dfa1f7bfc1ab2318f5ff6c0fd56f4b658
|
| | |
|
| |
| |
| |
| | |
Change-Id: I17546b84cc79151651cf663620a565fc485aa4c8
|
| |
| |
| |
| | |
Change-Id: I75b9f973655637234466725d7af94f2dd2281fa2
|
| |
| |
| |
| | |
Change-Id: I35f0c5abbd89588d9d72168d5c03f428eedc7ea5
|
| |
| |
| |
| | |
Change-Id: Icdf8faee825c68ab572311d74c981b07495c4875
|