| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ allow looper_run() to return a value that indicates why
it exited.
+ add looper_runWithDeadline() and looper_runWithTimeout()
in the case where you want to run only for a limited time.
looper_runWithTimeout(looper,0) can be used to poll the
event state and return asap after firing all the callbacks.
+ fix iolooper_modify()
Change-Id: Iba3b0385a7fd8d90f4f3334ebf313e79267f7b3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds "android/looper.h" which provides an
abstraction for event loops:
- android/looper-qemu.c implements it on top of the QEMU main event loop.
- android/looper-generic.c implements it on top of an IoLooper object.
The main idea is to move the UI-related code to use the abstraction
to handle timers and asynchronous (network) i/o.
NOTE: Code compiles but has not been heavily tested.
Change-Id: Ib6820c1b9a9950dc22449a332bc1b066a07af203
|
|
|
|
| |
Change-Id: I5b7e0c0b09e97cbdc80636c4a55177a82ac5936b
|
|
|
|
| |
Change-Id: I514ffe11bcdac2fe3c6b44998892d9a604b9966f
|
|
|
|
|
|
|
| |
Also fixed a bug in iolooper-select.c (io_looper_del_write was buggy)
Also switched iolooper-select.c to use malloc/free instead of qemu_xxx
Change-Id: Ief47608f30a863d624af6363620e93e903cbdadc
|
|
|
|
| |
Change-Id: I344f06fc16e051359669b8fe9b8dcec0ceca377d
|
|
|
|
|
|
|
| |
Solved by porting a check on AIO operations from QEMU mainline
(in mainline commit a76bab4952a1539266490295fb50b78802c467c2).
Change-Id: I1d2011776f7cb90d81e36a5cf9381ef956d9a5b9
|
|
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.
|