aboutsummaryrefslogtreecommitdiffstats
path: root/vl-android.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add -audio-test-out option to the core.David 'Digit' Turner2011-01-021-0/+5
| | | | | | | | | | | | | This option can be used to quickly check audio output (without having to boot a full AVD and launch a sound-playing application). Usage: emulator <other-options> -qemu -audio-test-out qemu-android <other-options> -audio-test-out This simply generates an ugly saw signal, but that's enough for us. Change-Id: I060300b4000b9705d181c6262de8d4d13c749e69
* Remove obsolete -audio-in and -audio-out options.David 'Digit' Turner2011-01-021-52/+0
| | | | | | Use -audio <backend> to select the audio driver. Change-Id: I71c837e4c78241711be5f38ef9b03294a69145bd
* Resubmit framebuffer service implementationVladimir Chtchetkine2010-12-201-1/+1
| | | | Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e
* Implement core display deriving it from android displayVladimir Chtchetkine2010-12-141-0/+5
| | | | | | | Core display is a framebuffer client that receives framebuffer updates and dispatches them to the UI attached to the core. Change-Id: Iff1e0609cbe66240031e3670934a6796a9ae3b15
* Augment the auto-loadvm behaviour with corresponding auto-savevm-on-exit ↵Tim Baverstock2010-12-011-4/+19
| | | | | | | | | | | | behaviour. Autosave fires when loadvm would have been tried - whether it succeeded or not - in order to bootstrap from an empty snapshot file. - New autosave behaviour inhibited with -no_snapshot_save flag. - Underlying behaviour implemented with a new qemu option -savevm_on_exit Change-Id: If64d89f004565ecbb431bc7e96ecc37e27876d67
* Allow OS X emulator to open host /dev/ devices.David 'Digit' Turner2010-10-271-1/+1
| | | | | | | Only Win32 does not allow this, so simplify the tests in the source code + Remove compiler warning Change-Id: I100dd59e4477edcd24dd94becfa3e3b83a2b92ab
* Fix windows event loop handling.David 'Digit' Turner2010-10-181-30/+5
| | | | | | | | This change fixes the windows emulator binary which got stuck due to changes in the timer implementation that occured during the last upstream integration. Change-Id: I090ce4ac9c09b3b95e0df95513446922120b2d9a
* Added state snapshot support for QemuD.Ot ten Thije2010-10-141-3/+3
| | | | | | | | | | | | | | | | | With this patch, both modem and sensor functionality are correctly restored when a state snapshot is loaded. This was not the case previously because communication with either of these services is done using the qemud daemon, which did not support snapshots. The boot-properties and charpipe services have no specific save/load functionality yet, since the framework itself should be reviewed first. Adding support for bootproperties should not be difficult though, and charpipe may not need it. For a description of the high-level process for saving and loading, consult section IV "State snapshots" in docs/ANDROID-QEMUD.TXT. Change-Id: I5b06d88b911ca096e78060163174904c48a01c66
* Make core initialization replying to the UI at the end of initialization.Vladimir Chtchetkine2010-10-081-188/+200
| | | | | | Also, this CL contains a minor fix to formatting boot options passed to the kernel Change-Id: I267172d82094a0cbbbced2cee7a2990bb7fa3793
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-221-2/+7
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Fix build and remove compiler warnings in vl-android.cDavid 'Digit' Turner2010-09-131-17/+7
| | | | Change-Id: Ic8b1b067c8716a12a0d3b24c422865920b95c82a
* upstream: console changes.David Turner2010-09-131-51/+2
|
* upstream: console changes.David Turner2010-09-131-186/+4
|
* upstream: rename IOCanRWHandler into IOCanReadHandlerDavid Turner2010-09-131-2/+2
|
* upstream: qemu-common.h updates.David Turner2010-09-131-1/+1
|
* upstream: move timer management code to qemu-timer.cDavid Turner2010-09-131-1128/+10
|
* Passed boot properties from main to core as -boot-property parameters.Vladimir Chtchetkine2010-09-081-0/+34
| | | | Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
* Fix suspending and resuming timers.Ot ten Thije2010-09-061-12/+12
| | | | | | | | | | | | | This brings the code for saving and restoring the vm clock up to date with the current codebase. It also includes a workaround for an issue that occurred when the state of a goldfish timer was restored. For unexplained reasons, the compiler generated code to copy the least significant 32 bits only when reading a 64 bit number, dropping the remaining 32 bits. In order to facilitate debugging, the variables in the goldfish timer code have been suffixed with their units ("ns" for nanoseconds or "tks" for ticks).
* Fixed dependency ob core data in android/help.cVladimir Chtchetkine2010-09-011-0/+14
| | | | | | Also moved along -tcpdump option Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
* Moved nand and netspeed initialization from main to core.Vladimir Chtchetkine2010-08-261-0/+60
| | | | Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
* Cleaned up build script from rebuilding locally generated sourcesVladimir Chtchetkine2010-08-251-0/+6
| | | | | | Also passed along -show-kernel option to the emulator core Change-Id: Ic606a7a9cdac677cbd5ce9ca1a9f1a2b16da4dfa
* Moved radio, gps and audio setup entirely into the coreVladimir Chtchetkine2010-08-241-1/+140
| | | | Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
* Cleanup stuff for the UI buildVladimir Chtchetkine2010-08-241-2/+118
| | | | | | | | 1. Move DNS server registration entirely to the core. 2. Move -memcheck option initialization entirely to the core. 3. Move qemu_help routine (used by both, Core and UI) to common qemu-help.c file. Change-Id: I5e47e94bdc375f0e037ccc6bd88daeb5fa06d1cf
* Move memchecker initialization from main.c to vl-android.c (core)Vladimir Chtchetkine2010-08-091-0/+18
| | | | | | Also move qemu-malloc.c to common CORE and UI sources Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
* Added -android-hw optionVladimir Chtchetkine2010-08-061-0/+27
| | | | Change-Id: I8dac387cd43c5eff7e9b6adf0d718261d0ab8d81
* Added -android-gui command line option to qemu-androidVladimir Chtchetkine2010-08-021-2/+84
| | | | Change-Id: I9fd9170f2b2e3ad7d80071888f7da2ead54c21cf
* Remove UI dependency from goldfish_event_device.cVladimir Chtchetkine2010-07-221-1/+20
| | | | Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
* Move net-related routines from main.c to net-android.cVladimir Chtchetkine2010-07-151-1/+13
| | | | Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
* Finished shuffling files.Vladimir Chtchetkine2010-07-141-2/+0
| | | | Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
* Pass core-specific options to emulator core as cmd-line options.Vladimir Chtchetkine2010-06-151-7/+27
| | | | Change-Id: I7ed897ca92c1344505f982897e2f59cc68c42d89
* Add small user-event abstraction interface.David 'Digit' Turner2010-05-251-42/+0
| | | | | | | | | | | | | | | | Preparation for future UI frontend/backend separation. This is done to ensure that the code under android/skin/ does not depend on any QEMU-specific header. We achieve this by adding a new abstract header "user-events.h" and one QEMU-specific implementations for the functions defined here. This also modifies console.h and vl-android.c to make them closer to upstream (by removing Android-specific changes). + fix Makefile.android to always build SDL from sources in standalone mode. Change-Id: I0d152741e7bb2c9cd283f5c35bd054385c7c1eb3
* Upstream: integrate timer/clock management changes.David 'Digit' Turner2010-05-111-77/+140
| | | | Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
* Upstream: Misc integration - includes qobject.h and related sourcesDavid 'Digit' Turner2010-05-111-55/+0
| | | | Change-Id: Idfa93ab5c67c95a3bc1869eeaf3a84a75fe24cd6
* Upstream: Move ioport code to ioport.[hc]David 'Digit' Turner2010-05-111-136/+2
| | | | Change-Id: I41aa30fff127338665a6a32fa66dcd43dd3bfe8b
* Upstream: Replace sys-queue.h with qemu-queue.hDavid 'Digit' Turner2010-05-101-5/+5
| | | | Change-Id: I5c51f54a7fe2ea702420429bbf0c789ed6d8c534
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-101-1/+1
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSDDavid 'Digit' Turner2010-05-101-2/+2
| | | | | Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
* Revert previous patch to fix SD Card emulationDavid 'Digit' Turner2010-04-151-44/+1
| | | | | | | | | | | The previous patch modifies SD Card hardware emulation in a way that is not backwards compatible with previous SDK platform releases. This has the unfortunate effect of making SD Card emulation not work properly when running existing AVDs. Reverting the patch until we get a better one. Change-Id: I82dac87709d88aa3bd292bf2ed0008ae74d95853
* qemu: android: Add support for hot-adding disks as well as swapping image filesSan Mehat2009-12-071-1/+44
| | | | Signed-off-by: San Mehat <san@google.com>
* Fix the -trace emulator option.David 'Digit' Turner2009-10-151-1/+10
| | | | | A critical test in the execution loop was missed in the latest huge integration. Also optimize slightly the basic-block start recording helper interface.
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-0/+6469
This change integrates many changes from the upstream QEMU sources. Its main purpose is to enable correct ARMv6 and ARMv7 support to the Android emulator. Due to the nature of the upstream code base, this unfortunately also required changes to many other parts of the source. Note that to ensure easier integrations in the future, some source files and directories that have heavy Android-specific customization have been renamed with an -android suffix. The original files are still there for easier integration tracking, but *never* compiled. For example: net.c net-android.c qemu-char.c qemu-char-android.c slirp/ slirp-android/ etc... Tested on linux-x86, darwin-x86 and windows host machines.