aboutsummaryrefslogtreecommitdiffstats
path: root/console.c
Commit message (Collapse)AuthorAgeFilesLines
* qemu-char-android.c: rename to qemu-char.cDavid 'Digit' Turner2011-06-011-55/+66
| | | | | | + convert to QemuOpts* initialization functions. Change-Id: I5a245ed2de068af49fdc92de8e3e834d0f49aa27
* qemu-char.h, console.h: upstream integrationDavid 'Digit' Turner2011-06-011-0/+43
| | | | Change-Id: Ibd11e84a4d48c1d6c4a168056869a7480bc89930
* qemu-timer.c: rename qemu_timer_new_scale()David 'Digit' Turner2011-06-011-2/+2
| | | | | | | | | | | Get rid of qemu_timer_new() implementation, and update all callers to use qemu_timer_new_ms() or qemu_timer_new_ns() instead. Rename qemu_new_timer_scale() to qemu_new_timer() to follow upstream conventions. Change-Id: Id2c04f8597ec5026e02f87b3e2c5507920eb688e
* Simplify core framebuffer management.David 'Digit' Turner2011-02-021-0/+17
| | | | | | | | | | | | | | | | | | | | | | | 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-5/+21
| | | | | | | | | | | | | | | | | 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
* Refining main-ui.c to better separate UI and core related initializationVladimir Chtchetkine2011-01-131-5/+5
| | | | | | | | | | | The main reason for this is to clarify initialization for UI that starts core, and UI that attaches to an existing core. In this CL I did: - Removed -initdata option that seems obsolete (doesn't affect anything in the code) - Passed through -timezone option that doesn't affect anything in the UI, and is needed only in the core. - Removed dependency on AVD info from the core (core needed only virtual device name) Change-Id: Ie631249848a1b5b8d837c0c7b201a40ee7e4a367
* upstream: console changes.David Turner2010-09-131-85/+207
|
* upstream: qemu-char updates.David Turner2010-09-131-3/+2
|
* Added -android-gui command line option to qemu-androidVladimir Chtchetkine2010-08-021-7/+14
| | | | Change-Id: I9fd9170f2b2e3ad7d80071888f7da2ead54c21cf
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-101-4/+4
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-76/+347
| | | | | | | | | | | | | | | | | | | 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/+1345
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1345/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-87/+340
|
* Initial ContributionThe Android Open Source Project2008-10-211-35/+37
|
* external/qemu 0.8.2Upstream1970-01-121-0/+1090