aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added state snapshot support for QemuD.Ot ten Thije2010-10-149-49/+719
| | | | | | | | | | | | | | | | | 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
* Merge "Permanent fix for workaround of timer issue (commit a7f114bc)."Ot ten Thije2010-10-141-2/+1
|\
| * Permanent fix for workaround of timer issue (commit a7f114bc).Ot ten Thije2010-09-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The compiler generated incorrect instructions when loading timers, because qemu_get_be64 was used before it was declared. This caused the compiler to assume that a normal (32 bit) int would be returned, rather than a 64 bit one. Just including the "hw/hw.h" header is sufficient to correct this. The makefile for the project has recently been changed to build with -Wall, which should prevent this from going unnoticed again. Change-Id: I74c98183287cf26b767a36f7a6ff9ebf0b891826
* | Merge "Save NAND disk state in snapshots."Ot ten Thije2010-10-141-45/+206
|\ \
| * | Save NAND disk state in snapshots.Ot ten Thije2010-10-131-45/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes saving and restoring the state of the emulated NAND disks, by copying all contents of each disk into the snapshot file. During restore the disks are then entirely overwritten with the snapshot contents. The main issue with this approach is that the size of the disk snapshots is determined by the maximum capacity of the disk in question, rather than the actual size of the underlying file, which may be considerably smaller. The difference is filled with padding. Unfortunately, obvious approaches to avoid this padding result in incorrect state after restoring. Change-Id: I4abe329ff2cf2f159c3d6dfc206959614cc4ca35
* | | Merge "emulator-ui: Fix windows build (behaviour not tested)"David 'Digit' Turner2010-10-131-0/+11
|\ \ \
| * | | emulator-ui: Fix windows build (behaviour not tested)David 'Digit' Turner2010-10-131-0/+11
| | | | | | | | | | | | | | | | Change-Id: I76abd165b235dc3abeeb3a9676c0ef8097e54567
* | | | Merge "emulator-ui: fix crash on exit"David 'Digit' Turner2010-10-135-17/+14
|\ \ \ \ | |/ / /
| * | | emulator-ui: fix crash on exitDavid 'Digit' Turner2010-10-135-17/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | + 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-134-2/+150
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | * 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
| * | Don't build MMX stuff on PowerPCMarcus Comstedt2010-10-051-1/+5
| | | | | | | | | | | | Change-Id: Ieab047784761f8b9d0862b817319a903f26a4bf5
| * | 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
| * | Fix detection of host endiannessMarcus Comstedt2010-10-051-1/+4
| |/ | | | | | | | | | | | | | | | | | | The host endianness in android-configure.sh was backwards (assuming that HOST_BIGENDIAN=1 means that the host is bigendian). However, the script also failed to use the result, which is probably why nobody noticed. Now, HOST_WORDS_BIGENDIAN is defined in config-host.h if HOST_BIGENDIAN is 1. Change-Id: Ied07f9db76c24e5ce403ae17fde5df7f50fafe8a
* | Merge "Fix segfault when saving VM state."Ot ten Thije2010-10-121-1/+1
|\ \
| * | Fix segfault when saving VM state.Ot ten Thije2010-09-151-1/+1
| | | | | | | | | | | | Change-Id: I7bf458b81df98ee5a29bfb5b86511579ade16c10
* | | qemu: Multimode supportJaime Lopez2010-10-084-29/+669
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Don't prepend ccache if it's already thereYing Wang2010-10-081-1/+5
| | | | | | | | | | | | | | | Bug: 3069576 Change-Id: I8345209c5c885ed7ed8e043e051884d64008961c
* | | Cleanup warnings in the standalone UI buildVladimir Chtchetkine2010-10-083-855/+3
| | | | | | | | | | | | Change-Id: I2dc79f9d0b3916749366aa4155431420e05888c1
* | | Build standalone UI program (emulator-ui).David 'Digit' Turner2010-10-087-13/+3772
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes introduces a new program, called emulator-ui that only contains parts necessary to display the UI (and removes anything related to CPU emulation). This is only a skeleton right now, since it is not capable of launching a core, or displaying anything meaningful, except the skin, trackball, respond to commands (e.g. change layouts with KP-7 and KP-9). Later changes will introduce core launching, communication, etc... Change-Id: Icef9deb8a3a256532655e1cd409b4aab52565d03
* | | Make core initialization replying to the UI at the end of initialization.Vladimir Chtchetkine2010-10-085-188/+347
| |/ |/| | | | | | | | | 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-2242-133/+262
| | | | | | | | | | | | | | 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
* | Remove duplicate rules for generated source file.David 'Digit' Turner2010-09-201-15/+0
| | | | | | | | Change-Id: I68075edc871af6510edbb027ac7de29ddbc85842
* | Fix Makefile by adding mandatory user tags.David 'Digit' Turner2010-09-201-0/+1
|/ | | | | | The build system now requires a LOCAL_MODULE_TAGS definition in each Android.mk Change-Id: I080a721224dcf6cb24fa2a803a52dcfe7f626cd6
* Fix build and remove compiler warnings in vl-android.cDavid 'Digit' Turner2010-09-132-34/+11
| | | | Change-Id: Ic8b1b067c8716a12a0d3b24c422865920b95c82a
* 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
* fix win32 build.David 'Digit' Turner2010-09-131-0/+1
| | | | Change-Id: Id0ae0c7e2c11b30e27944ef9fd97dfa269faa912
* upstream: console changes.David Turner2010-09-136-147/+222
|
* upstream: console changes.David Turner2010-09-137-556/+479
|
* upstream: cpu changes.David Turner2010-09-132-30/+61
|
* upstream: cpu-exec.c changesDavid Turner2010-09-132-502/+186
|
* upstream: qemu-sockets changes.David Turner2010-09-135-231/+637
|
* upstream: qemu-char updates.David Turner2010-09-135-292/+818
|
* upstream: qemu-char.h updateDavid Turner2010-09-133-0/+587
|
* upstream: osdep changes + fix mingw build.David Turner2010-09-135-41/+237
|
* upstream: rename IOCanRWHandler into IOCanReadHandlerDavid Turner2010-09-136-12/+12
|
* upstream: osdep updates.David Turner2010-09-132-153/+239
| | | | + add CONFIG_ANDROID to config-host.h
* upstream: qemu-common.h updates.David Turner2010-09-136-15/+112
|
* upstream: minow hw updates.David Turner2010-09-1314-215/+224
|
* upstream: qemu-option.cDavid Turner2010-09-133-54/+225
|
* upstream: qemu-mallocDavid Turner2010-09-131-14/+7
|
* upstream: softmmuDavid Turner2010-09-133-17/+39
|
* upstream: aioDavid Turner2010-09-133-4/+76
|
* upstream: monitor.hDavid Turner2010-09-133-8/+87
|
* upstream: qemu-io.cDavid Turner2010-09-131-220/+781
|
* upstream: minor updates.David Turner2010-09-137-16/+47
|
* upstream: elf.hDavid Turner2010-09-131-1/+46
|
* fix win32 build.David Turner2010-09-131-3/+3
|
* upstream: minor QObject update.David Turner2010-09-134-32/+116
|