aboutsummaryrefslogtreecommitdiffstats
path: root/console.h
Commit message (Collapse)AuthorAgeFilesLines
* qemu-char-android.c: rename to qemu-char.cDavid 'Digit' Turner2011-06-011-0/+4
| | | | | | + convert to QemuOpts* initialization functions. Change-Id: I5a245ed2de068af49fdc92de8e3e834d0f49aa27
* qemu-char.h, console.h: upstream integrationDavid 'Digit' Turner2011-06-011-4/+56
| | | | Change-Id: Ibd11e84a4d48c1d6c4a168056869a7480bc89930
* Simplify core framebuffer management.David 'Digit' Turner2011-02-021-1/+34
| | | | | | | | | | | | | | | | | | | | | | | Remove one layer of indirection between the core's DisplayState and a ProxyFramebuffer object. The main ideas behind this patch are that: - We don't need a QFrameBuffer object when in the core process, each proxy can receive display updates directly from QEMU. - The DisplayChangeListener is really lame: its can't dissociate between several listeners that use the same callback pointers, so introduce DisplayUpdateListener in console.h to work around this. This is preferably to modifying DisplayChangeListener which is going to introduce conflicts with upstream. - Simplify a lot the console code and display-core. Note that we can have several framebuffer clients at the same time now. Note that QFrameBuffer is still used by both the UI program and the standalone emulator. Change-Id: I6d5ad6ecd9b34b9d9d1a30ea5000e875c285e84e
* Fix ui/core display depth mismatch.David 'Digit' Turner2011-01-201-2/+2
| | | | | | | | | | | | | | | | | This patch fixes a problem where the core's framebuffer was incorrectly initialized to a pitch of width*4 by default (instead of width*2 when using a 16-bit framebuffer). The reason for this was complex, but essentially, when the machine initialization was moved before the display one in vl-android.c, this changed the way the DisplayState was initialized. Also get rid of the useless and confusing "display_state" global in vl-android.c (not the same than "display_state" in console.c) Change-Id: If8e2b8baf7ccaeedcb66da0174cc529521d67a60
* upstream: console changes.David Turner2010-09-131-8/+9
|
* upstream: console changes.David Turner2010-09-131-4/+57
|
* Add new "qemu monitor" command to the console.David 'Digit' Turner2010-09-081-5/+0
| | | | | | | | | | | | | | | | | | | 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
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-271-0/+5
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* Add small user-event abstraction interface.David 'Digit' Turner2010-05-251-4/+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 minor cleanupsDavid 'Digit' Turner2010-05-111-0/+1
| | | | Change-Id: I8de8e1044794f0ef8427717fc0b3b5e9e121247b
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-53/+194
| | | | | | | | | | | | | | | | | | | 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.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+195
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-195/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+195