aboutsummaryrefslogtreecommitdiffstats
path: root/android
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "emulator-ui: fix crash on exit"David 'Digit' Turner2010-10-131-3/+0
|\
| * emulator-ui: fix crash on exitDavid 'Digit' Turner2010-10-131-3/+0
| | | | | | | | | | | | | | | | + remove net_cleanup() call in qemu_main(). It is not needed since the corresponding function only deals with the virtual LAN management and was causing build issues on some machines. Change-Id: I63896b9886c59259f75025277601711b450b2c0d
* | Merge changes Ieab04778,Idb0e3c52,I3f426352,Ied07f9dbDavid Turner2010-10-132-0/+141
|\ \ | |/ |/| | | | | | | | | | | * changes: Don't build MMX stuff on PowerPC Add SDL_config.h for PPC (generated by android-configure.sh) Add config-host.h for PPC (generated by android-configure.sh) Fix detection of host endianness
| * Add SDL_config.h for PPC (generated by android-configure.sh)Marcus Comstedt2010-10-051-0/+123
| | | | | | | | Change-Id: Idb0e3c52100693958f4856568969985899d0aedd
| * Add config-host.h for PPC (generated by android-configure.sh)Marcus Comstedt2010-10-051-0/+18
| | | | | | | | Change-Id: I3f42635204bed9f078577d668da4a01263d1ba86
* | qemu: Multimode supportJaime Lopez2010-10-081-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Preliminary implementation of a Multimode modem - Added the +CTEC AT command which allows querying and setting the current technology - Added preliminary NVRAM file support Add cdma subscription source support - Add support to save the subscription source preference to nv. - Add command 'cdma ssource' to switch subscription source from the emulator console Implement AT+WRMP command Implement the AT+WRMP command to set and get the roaming preference Implement Emergency Callback Mode Implement the +WSOS command and unsol to notify Emergency Callback Mode status Implement +WPRL AT Command Enable PRL update notification by implementing the AT+WPRL query command Implement a console command to send +WPRL unsolicited response Change-Id: I5c036c1b0832b94c0b7675931f6a18b5d9ca7436
* | Make core initialization replying to the UI at the end of initialization.Vladimir Chtchetkine2010-10-082-0/+140
|/ | | | | | 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-227-14/+26
| | | | | | | 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
* update linux-x86 and windows config-host.hDavid 'Digit' Turner2010-09-133-35/+25
| | | | | | + remove obsolete 'Linux' config directory. Change-Id: Ib0cc7e2ab6b5b90a2cfe43bd0afced692b29d6dc
* Update darwin-x86 config-host.h, remove obsolete ppc one.David 'Digit' Turner2010-09-132-28/+16
| | | | Change-Id: Ic3c0dcf07dbe0d172ac9a18fc2775d33d171fb60
* upstream: bswap.hDavid Turner2010-09-132-1/+2
| | | | + add a <machine/bswap.h> probe to android-configure.sh
* Add <fnmatch.h> check to android-configure.hDavid Turner2010-09-134-1/+4
|
* Passed boot properties from main to core as -boot-property parameters.Vladimir Chtchetkine2010-09-082-28/+27
| | | | Change-Id: I56955fb13a073b15ee2a41fdfbd6845bfe65edc5
* Add new "qemu monitor" command to the console.David 'Digit' Turner2010-09-085-70/+93
| | | | | | | | | | | | | | | | | | | 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
* Add android_port initialization in the core.Vladimir Chtchetkine2010-09-015-14/+85
| | | | | | 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-015-22/+144
|\
| * Fixed dependency ob core data in android/help.cVladimir Chtchetkine2010-09-015-22/+144
| | | | | | | | | | | | Also moved along -tcpdump option Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
* | Merge "Add a PulseAudio audio backend for Linux."David 'Digit' Turner2010-08-271-0/+68
|\ \ | |/ |/|
| * Add a PulseAudio audio backend for Linux.David 'Digit' Turner2010-08-271-0/+68
| | | | | | | | Change-Id: Ifaf876c41ab6c7275ba7d1dc8e12139f62840cd6
* | Moved nand and netspeed initialization from main to core.Vladimir Chtchetkine2010-08-261-129/+19
|/ | | | Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
* Cleaned up build script from rebuilding locally generated sourcesVladimir Chtchetkine2010-08-251-1/+3
| | | | | | 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-99/+28
| | | | Change-Id: I9d76bb3cd892b7b2b0713a27ff5477195c93ff36
* Cleanup stuff for the UI buildVladimir Chtchetkine2010-08-241-85/+6
| | | | | | | | 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-9/+5
| | | | | | Also move qemu-malloc.c to common CORE and UI sources Change-Id: Ifd62ae247cc03700d85b5fc35072d73ac37cc570
* 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-301-7/+13
| | | | Change-Id: I344f06fc16e051359669b8fe9b8dcec0ceca377d
* Added qemu-android build target which will build bare (UI-stripped) emulatorVladimir Chtchetkine2010-07-273-4/+14
| | | | | | Also has some minor separation changes Change-Id: I367e26f691d4d77b43c59b090b01434133d33584
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-277-326/+445
| | | | | | + 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-231-13/+43
| | | | Change-Id: I27626c5ede2b0ed354ee780fa00caf4778ff690f
* fix -http-proxy implementation to work correctly with chunked encoding.David 'Digit' Turner2010-07-231-0/+6
| | | | Change-Id: I3d8a18bd0849c75d0133b234a8aa74069ad71baa
* Remove UI dependency from goldfish_event_device.cVladimir Chtchetkine2010-07-224-3/+33
| | | | Change-Id: Iea5edfbae0caff45161c814d631d35d2e6d61d1c
* Moved dependency on android_ui_set_window_scale to ui-core-protocol.hVladimir Chtchetkine2010-07-168-7/+73
| | | | | | 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-153-110/+4
| | | | Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
* Finished shuffling files.Vladimir Chtchetkine2010-07-141-1/+0
| | | | Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
* 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
* Removed hw-control dependency from the UI.Vladimir Chtchetkine2010-07-084-8/+26
| | | | | | | qemulator_setup has been setting brighness callback via direct call to hw-control. After the change callback is set via call to ui-core-protocol Change-Id: Ib96887d47cf765f38f4a7ad39f4f39963d9fb90d
* Move key event generation out of the UI realm into neutral space.Vladimir Chtchetkine2010-07-079-105/+225
| | | | | | | Abstracted keycode event array into keycode_array.[hc], Moved key to keycode translation into charmap.c Change-Id: I4de0c9853fa93d675895fc361e62ee36c1c0a652
* Add ui_core_protocol.* to simulate UI->Core exchange.Vladimir Chtchetkine2010-06-293-1/+58
| | | | Change-Id: I969bb097fcd9be55d83368ddee0e377a0f0af896
* Fix a memory corruption bug that can happen if a qemud service decides toDavid 'Digit' Turner2010-06-251-3/+8
| | | | | | close the connection during a clie_recv() call. Change-Id: I5cedde24c5b15081453c1537c679ca1f9c697ad9
* Pass core-specific options to emulator core as cmd-line options.Vladimir Chtchetkine2010-06-152-13/+40
| | | | Change-Id: I7ed897ca92c1344505f982897e2f59cc68c42d89
* Enable --mingw option in android-configure.shDavid 'Digit' Turner2010-06-101-0/+70
| | | | | | This should ease testing of the Windows build during development. Change-Id: I45cc9e396a0e82d764cf7a27fd40ad7c5367c51a
* Inter-emulator networking: add interfaces in the correct orderDries Harnie2010-06-091-5/+6
| | | | Change-Id: I9cab6f47bbde9f4dacdb2a426064af63eb4709c4
* qemu-props: Signal end of property list.Dries Harnie2010-06-071-0/+4
| | | | Change-Id: I0194413e3ce93ff09aa953f283a22211e93848a1
* Add small user-event abstraction interface.David 'Digit' Turner2010-05-254-20/+13
| | | | | | | | | | | | | | | | 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
* Build SDL from sources directly.David 'Digit' Turner2010-05-186-4/+513
| | | | | | | | | | | | | | | | This removes the requirement to build the SDL library before the rest of the emulator. The prebuilt SDL library and installation is now optional and is only kept for the full Android build on Linux (mainly to avoid having to install many dev libraries on build servers). This patch affects both the Android and standalone build systems. The script android-configure.sh will not use a prebuilt SDL installation unless you explicitely use --sdl-config=<script>. Tested for linux-x86 / darwin-x86 / cygwin / linux-mingw builds. Change-Id: If973b2ad199f06aeeff43aec387d1ac629487529
* Enable interconnection of emulatorsDries Harnie2010-05-183-0/+48
| | | | | | | | | | | This patch adds a -shared-net-id option to the emulator which joins the emulator in a shared network. If the option is given the emulator is started with an additional network interface bound to a multicast socket. This multicast socket emulates a network hub, interconnecting emulators. If the -shared-net-id option is not given, nothing changes. Change-Id: I0ea70a073cdbd34f804161300240fafca34080d0
* Moved android_emulation_setup from android/main.c to android/qemu-setup.cVladimir Chtchetkine2010-05-142-477/+514
| | | | Change-Id: Ic66bb0d07e28088ae02055c88d37bfd00edea592
* Upstream: add qemu_fdatasync()David 'Digit' Turner2010-05-111-0/+1
| | | | Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
* Upstream: HAVE_IOVEC => CONFIG_IOVECDavid 'Digit' Turner2010-05-112-2/+2
| | | | Change-Id: I18025d9c154a02af5d6298c7d7f72fc9f2c1c5d7
* Moved QEmulator out of main.cVladimir Chtchetkine2010-05-113-335/+416
| | | | Change-Id: I20964bb5d7fbef5ea22d265427793a2a7fce2017