aboutsummaryrefslogtreecommitdiffstats
path: root/net-android.c
Commit message (Collapse)AuthorAgeFilesLines
* replace _exit() with exit()Iliyan Malchev2012-06-011-1/+1
| | | | | | | | | | When the emulator is compiled with -pg, it generates a stats file (gmon.out) upon exiting, as long as the exit it done when main() returns normally or exit() is called. Calling _exit() or exiting via an unhandled signal will not cause gmon.out to be generated. Change-Id: I0d5ea5a0b0314f97d2fdc0c92fd6f38c65377eb9 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Minor cleanups for core/ui Makefile separation.David 'Digit' Turner2011-02-231-6/+6
| | | | | | | | | | | | | | | | This patch contains minor cleanups that will be needed by a few future patches that will improve the way core and ui sources are separated and built. - remove a few compiler warnings - formatting - remove the memcheck CONFIG_MEMCHECK checks (they later get in the way) - refine hw/hw.h inclusion's of cpu.h (this comes from upstream) - add missing definitions for PRUd64 and PRUx64 (used later) - remove CONFIG_SHAPER test, replace with CONFIG_ANDROID instead. - add missing strdup() calls. Change-Id: Ic7d6681a51af718c298f0ee4bd884b1d8750f28e
* Revert "Build arm and x86 binaries at the same time."Xavier Ducrohet2011-02-091-6/+6
| | | | | | This fails to build on MacOS X This reverts commit a39b10bd2574825a815d6ad854499dd127cfa9cb.
* Build arm and x86 binaries at the same time.David 'Digit' Turner2011-02-101-6/+6
| | | | Change-Id: I105c5a097c988cb964b47b40b71c7a08af0d9210
* Fixed dependency ob core data in android/help.cVladimir Chtchetkine2010-09-011-2/+6
| | | | | | Also moved along -tcpdump option Change-Id: I9fc53e0dc6a86e9a880d6127bf2da3ac1d7ec58a
* Move net-related routines from main.c to net-android.cVladimir Chtchetkine2010-07-151-0/+100
| | | | Change-Id: If102220e6db913f4a51bb1809ce60f4bf24bdd6a
* Fix regression: -netspeed <speed> and -netdelay <latency> didn't work.David 'Digit' Turner2010-05-251-0/+15
| | | | | | | The bug was introduced in a past integration patch that moved code from vl.c to net-android.c Change-Id: I5415c27959da396975b51bcf047399a9781ccd8a
* Upstream: integrate timer/clock management changes.David 'Digit' Turner2010-05-111-1/+1
| | | | Change-Id: I24acbdebe58d207352548f54dda1abf5be01e7d4
* Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSDDavid 'Digit' Turner2010-05-101-2/+2
| | | | | Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c
* net_socket_receive_dgram: use socket_sendto instead of sendtoDries Harnie2010-05-071-2/+1
| | | | Change-Id: Icc4cf861961135ff66094e0de98471aef06ba442
* Fix Win32 socket error handling.David 'Digit' Turner2010-03-251-1/+1
| | | | | | This also fixes -http-proxy support on Windows. Change-Id: I741b224511c064412ac39351ed4f1b9146a313a5
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-0/+2596
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.