aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/qemud/qemud.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-1/+1
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I9736fcbb62da749c049178b03ddaccda30dcebf5
* emulator: qemud: shut-up debug messages.David 'Digit' Turner2011-05-021-1/+1
| | | | | | | | | This change is already under development/tools/emulator/system/qemud/qemud.c However, this sdk/.../qemud.c source file was first deleted, then reverted, with the change in between. So apply it here too. Change-Id: Ib79e0e7260c392fb886b39ff5494837e045cdf1a
* Revert 183675b74e5a58211e5d9a90a9ca86546ed3e245David 'Digit' Turner2011-04-141-0/+1719
| | | | | | | | | | | | | | | | Unfortunately, we need to keep the duplicate libraries here to prevent breaking a few internal branches for now. Remove obsolete emulator modules The corresponding modules have all been moved to development/tools/emulator/system/ already. Note that we use a global variable Make trick to prevent the same module from being built twice, so removing these files doesn't break the builds. Another patch should remove the global variable Make trick from development/tools/emulator/system after this patch. Change-Id: I97332216b311608de61919cb75f4b760b249c0d9
* Remove obsolete emulator modulesDavid 'Digit' Turner2011-04-071-1719/+0
| | | | | | | | | | | The corresponding modules have all been moved to development/tools/emulator/system/ already. Note that we use a global variable Make trick to prevent the same module from being built twice, so removing these files doesn't break the builds. Another patch should remove the global variable Make trick from development/tools/emulator/system after this patch. Change-Id: I547d2a0173ddf58c1870784920ce795f6a0d7bcf
* Fixed a problem that physical address is inconsistent.Mori, Yoshio X2010-09-071-0/+4
| | | | | | | | | | | | | | | | | When epoll_wait detected a state change of fd, an events structure including pointer appointed in epoll_ctl is returned by epoll_wait. The data of each returned structure will contain the same data the user set with a epoll_ctl(2) (EPOLL_CTL_ADD,EPOLL_CTL_MOD) while the events member will contain the returned event bit field. When older hook and epoll_event are deleted after hook and epoll_event are added newly, this problem occur. So, when hook is closed, rewrite physical address of epoll_event which is pointing hook. Change-Id: I90f01ba5fbf307b3483da67d993cb874ba56d155
* Fix bad qemud crash on emulator startup.David 'Digit' Turner2009-05-261-5/+4
|
* This adds a new helper program (qemu-props) to support the emulated system.David 'Digit' Turner2009-05-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Its purpose is to contact the 'boot-properties' service during the boot process and to set the list of system properties read from the emulator program through it. It must be launched from /system/etc/init.goldfish.rc as root. It depends on the 'boot-properties' service being implemented by the emulator (in a later patch). If not available, it will simply timeout. This also fixes a potential crash in qemud which can happen in the following case: - client sends a command to a service - the service responds with one or more message - the service immediately closes the connection before the client can read the data what happened is that the FDHandler object was buffering out-going packets to the client, but the Multiplexer acted on the disconnection immediately. This resulted in: - client_free() being called - fdhandler_shutdown() being called - the FDHandler being placed on the 'closing' list to be able to send buffered packets later. And 'receiver_close' being called - client_fd_close() being called, which would call client_free() recursively - the second client_free() call would free the object - the first client_free() call would try to free the object again - ==> dlmalloc() detects a double-free and immediately aborts. the fixes simply avoids the calle to receiver_close() in fdhandler_shutdown() since this function is called from an explicit shutdown request from the multiplexer, it doesn't correspond to the case where the client has closed the connection itself.
* AI 146315: am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 ↵David Turner2009-04-151-3/+17
| | | | | | | | | | | system images. without this, networking doesn't work well when using the 1.1 add-on with the cupcake sdk Original author: digit Merged from: //branches/cupcake/... Automated import of CL 146315
* AI 144596: am: CL 144595 Fix the AVD configuration code to support ↵David Turner2009-04-051-13/+13
| | | | | | | | | | | | | | "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory) Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation. Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly. Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options Add new documentation for QEMUD and CharDriverState objects Update the Audio documentation with ASCII graphics (because I'm an artist too) Original author: digit Merged from: //branches/cupcake/... Automated import of CL 144596
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-499/+864
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1335
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1335/+0
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-1/+1
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-17/+24
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1328