aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* upstream: bswap.hDavid Turner2010-09-134-9/+21
| | | | + add a <machine/bswap.h> probe to android-configure.sh
* Add <fnmatch.h> check to android-configure.hDavid Turner2010-09-135-1/+9
|
* upstream: acl changes.David Turner2010-09-131-2/+2
|
* upstream: softfloat changes.David Turner2010-09-132-8/+86
|
* Merge "Add basic suspend/resume support for networking."David Turner2010-09-091-2/+81
|\
| * Add basic suspend/resume support for networking.Ot ten Thije2010-09-081-2/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch saves the current state of the SMSC 91C111 ethernet emulation. The restore function will restore all buffers, thus preventing segfaults when guest code tries to access data that was there when state was saved. However, no effort is made to re-establish connections. This is probably impossible anyway, since we have no way to generically make the remote end pick up where we left when state was suspended. From the perspective of the guest, resuming is therefore equivalent to a temporary network failure, in which all open connections are lost. After the restore is complete, new connections can be made as though nothing happened. Change-Id: Ibbbabc685ef296e675d4018996f703e07d9aad6a
* | Passed boot properties from main to core as -boot-property parameters.Vladimir Chtchetkine2010-09-084-28/+67
|/ | | | Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
* Add new "qemu monitor" command to the console.David 'Digit' Turner2010-09-0815-84/+162
| | | | | | | | | | | | | | | | | | | This allows you to access the QEMU virtual machine monitor directly from the console (instead of playing with the command-line to do it). The implementation of the 'quit' command has been modified to simply close the connection, instead of stopping the emulator program. This patch introduces changes that allow a console session to be detached and redirected at runtime to other internal services of the emulator program. This will be useful in the future to implement other features. + doc typo + add proper definitions for CONFIG_ANDROID on config-host.h + remove obsolete sysdeps.h dependency in android/console.c Change-Id: If16cfe41c12a26eb8f56e3a9c24452eafa5efab4
* Fix suspending and resuming timers.Ot ten Thije2010-09-062-38/+49
| | | | | | | | | | | | | 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).
* Add android_port initialization in the core.Vladimir Chtchetkine2010-09-017-16/+110
| | | | | | Also some minor cleanups to the ui <-> core stuff. Change-Id: I7d64ec1aa694c027851b7e262b6e1b80bb6cef08
* Merge "Fixed dependency ob core data in android/help.c"Vladimir Chtchetkine2010-09-018-24/+167
|\
| * Fixed dependency ob core data in android/help.cVladimir Chtchetkine2010-09-018-24/+167
| | | | | | | | | | | | Also moved along -tcpdump option Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
* | Merge "Add keymap files needed by the VNC implementation."David 'Digit' Turner2010-08-2735-0/+3627
|\ \
| * | Add keymap files needed by the VNC implementation.David 'Digit' Turner2010-08-2735-0/+3627
| | | | | | | | | | | | | | | | | | | | | This allows us to connect to the qemu-android "core" emulation program through VNC easily. Change-Id: I9855d12aea39335e5c1b6958022a74b1d073d305
* | | Merge "Add a PulseAudio audio backend for Linux."David 'Digit' Turner2010-08-277-42/+742
|\ \ \ | |_|/ |/| |
| * | Add a PulseAudio audio backend for Linux.David 'Digit' Turner2010-08-277-42/+742
| |/ | | | | | | Change-Id: Ifaf876c41ab6c7275ba7d1dc8e12139f62840cd6
* | Moved nand and netspeed initialization from main to core.Vladimir Chtchetkine2010-08-265-131/+202
|/ | | | Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
* Fix build breakVladimir Chtchetkine2010-08-261-1/+65
| | | | Change-Id: Icbf421bb33db5b6d13d3ae23e2ea6ce353fe08d2
* Merge "Cleaned up build script from rebuilding locally generated sources"Vladimir Chtchetkine2010-08-264-66/+13
|\
| * Cleaned up build script from rebuilding locally generated sourcesVladimir Chtchetkine2010-08-254-66/+13
| | | | | | | | | | | | Also passed along -show-kernel option to the emulator core Change-Id: Ic606a7a9cdac677cbd5ce9ca1a9f1a2b16da4dfa
* | Merge "update Android kernel build documentation."David 'Digit' Turner2010-08-251-1/+17
|\ \
| * | update Android kernel build documentation.David 'Digit' Turner2010-08-241-1/+17
| | | | | | | | | | | | Change-Id: Ia9aa6ce2cbdfd31bd5a51d1e27adf98fd6e4f4c7
* | | Fix stack-smashing when using IPv6 sockets in the networking code.David 'Digit' Turner2010-08-252-51/+38
| |/ |/| | | | | | | | | | | struct sockaddr is not enough, and struct sockaddr_storage is not portable, so redefine our own union to deal with the problem correctly. Change-Id: Ib250da3e7bafef2d05c060ea61272720576994cb
* | Moved radio, gps and audio setup entirely into the coreVladimir Chtchetkine2010-08-243-100/+186
|/ | | | Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
* Cleanup stuff for the UI buildVladimir Chtchetkine2010-08-243-87/+127
| | | | | | | | 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-094-10/+27
| | | | | | Also move qemu-malloc.c to common CORE and UI sources Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
* Added -android-hw optionVladimir Chtchetkine2010-08-063-3/+33
| | | | Change-Id: I8dac387cd43c5eff7e9b6adf0d718261d0ab8d81
* Merge "Added -android-gui command line option to qemu-android"Vladimir Chtchetkine2010-08-023-9/+102
|\
| * Added -android-gui command line option to qemu-androidVladimir Chtchetkine2010-08-023-9/+102
| | | | | | | | Change-Id: I9fd9170f2b2e3ad7d80071888f7da2ead54c21cf
* | Fix window title to display the correct port number for the emulator.David 'Digit' Turner2010-07-304-1/+26
| | | | | | | | Change-Id: I289451995683d5d4de2afe2e87481418a393c82f
* | Better detection of incorrect proxy values when starting the emulator.David 'Digit' Turner2010-07-306-10/+87
| | | | | | | | Change-Id: I344f06fc16e051359669b8fe9b8dcec0ceca377d
* | Fixed rudimentary suspend/resume.Ot ten Thije2010-07-294-21/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces the failing asynchronous I/O code in the qcow2 driver with a working synchronous implementation and fixes another minor bug in iteration over QField structs. As a result, the VM can now be suspended and resumed with the savevm and loadvm commands, albeit with the following (major) caveats: 1. The ADBd and other network services do not resume correctly. 2. Normal SD card usage is blocked, since snapshots are written to a qcow2 image that must (for now) be mounted on hda. 3. Resume only works after the emulator is fully booted. It is not (yet) possible to load an image immediately after the machine started. The synchronous I/O code is ported from commit ef845c3b in mainline QEMU, which addresses a similar issue. Further upstream mainline also introduces a fix for the async I/O, but that patch is quite involved, and for now this relatively simple fix works. Change-Id: I660c19c22316aecdd7dcae357e66da20e0ab6d80
* | Merge "Fix Darwin build."David 'Digit' Turner2010-07-281-0/+3
|\ \
| * | Fix Darwin build.David 'Digit' Turner2010-07-281-0/+3
| |/ | | | | | | | | | | (qemu-arm needs to link to the Cocoa framework on Darwin). Change-Id: Ibf310682d693737ac2dd27087e6e3ba34ff6666c
* | Fix CHANGES.TXTDavid 'Digit' Turner2010-07-281-14/+14
|/ | | | | | Some changes didn't make it to the 7.0 release. Change-Id: I7d0b7b884e29495c7dc2c3325a6cb2f1488ed959
* Merge "Make the GSM simulator more realistic"David Turner2010-07-287-17/+87
|\
| * Make the GSM simulator more realisticMarc Petit-Huguenin2010-07-277-17/+87
| | | | | | | | | | | | | | | | | | | | | | | | - The phone number of the phone is now built by concatenating "1555521" to the console port. - Convert number in remote call by concatenating "1555521" to the port number. - Convert called number to a number starting with "1555521". - Fixed a bug in sms_address_to_str where the length returned is incorrect is the length of the phone number to convert is odd. Change-Id: Iefbdd866b6e41f6086c6e0cc33026551e3d5ae8f
* | Merge "Added qemu-android build target which will build bare (UI-stripped) ↵Vladimir Chtchetkine2010-07-284-48/+239
|\ \ | | | | | | | | | emulator"
| * | Added qemu-android build target which will build bare (UI-stripped) emulatorVladimir Chtchetkine2010-07-274-48/+239
| | | | | | | | | | | | | | | | | | Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
* | | Merge "Fixed infinite loop in qemu_aio_wait() affecting savevm."David Turner2010-07-283-0/+13
|\ \ \ | |/ / |/| |
| * | Fixed infinite loop in qemu_aio_wait() affecting savevm.Ot ten Thije2010-07-283-0/+13
| | | | | | | | | | | | | | | | | | | | | Solved by porting a check on AIO operations from QEMU mainline (in mainline commit a76bab4952a1539266490295fb50b78802c467c2). Change-Id: I1d2011776f7cb90d81e36a5cf9381ef956d9a5b9
* | | Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-2716-367/+787
| |/ |/| | | | | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* | GPS: Fixed the "geo fix" console command, and added satellite count emulation.David 'Digit' Turner2010-07-232-13/+54
| | | | | | | | Change-Id: I27626c5ede2b0ed354ee780fa00caf4778ff690f
* | fix -http-proxy implementation to work correctly with chunked encoding.David 'Digit' Turner2010-07-233-0/+15
| | | | | | | | Change-Id: I3d8a18bd0849c75d0133b234a8aa74069ad71baa
* | Remove UI dependency from goldfish_event_device.cVladimir Chtchetkine2010-07-227-5/+59
|/ | | | Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
* Moved dependency on android_ui_set_window_scale to ui-core-protocol.hVladimir Chtchetkine2010-07-169-9/+77
| | | | | | Also cleaned up dependency on android_base_port variable Change-Id: I8c1675a859e3d24e9bb174471dd03556c696aff1
* Move net-related routines from main.c to net-android.cVladimir Chtchetkine2010-07-156-115/+121
| | | | Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
* Finished shuffling files.Vladimir Chtchetkine2010-07-144-38/+44
| | | | Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
* Shuffle some more files.Vladimir Chtchetkine2010-07-091-21/+29
| | | | Change-Id: I34204a860c58efd938ef338d1e9c9ce18b92aec3
* Removed boot-properties.h dependency from help.cVladimir Chtchetkine2010-07-082-2/+9
| | | | | | File help.c belongs to the UI, while boot-properties belong to the Core Change-Id: I526bc187740c58f89375025ca21927f5224acf19