aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_nand.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash that happened when the content directory didn't have a cache.img ↵David 'Digit' Turner2011-03-151-2/+3
| | | | | | | | | file. This only happened for fresh newly-created AVDs. Existing ones used for testing the emulator already had a cache.img and booted properly. Change-Id: I87901ea5fb1dc6aa7d2bb3dd191de58d972c386f
* x86: Enable KVM mode for Android x86 emulator (update/rebase)Jun Nakajima2011-03-041-0/+24
| | | | | | | | | | This patch enables KVM mode on x86 Linux to boost performance of x86 emulaiton if the hardware-based virtualization feature is present on the host machine. Change-Id: I4b24474b3ec115a3b9a7bf017801f4f610253b09 Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
* Move data partition initialization to core.David 'Digit' Turner2011-03-011-1/+1
| | | | Change-Id: I3c2b4668593391026da028194503fc87246e44ba
* Move cache partition initialization to core.David 'Digit' Turner2011-03-011-0/+2
| | | | Change-Id: I1f887e6f8fc38e43b1fff3f7bab3814b52542762
* Replacement of padding with ftruncate.Tim Baverstock2010-11-231-33/+53
| | | | | | | | Also stored some other parameters, speculatively. Guard ftruncate and lseek against EINTR Change-Id: I4237640318564db6c375a90415097c00e4fcafaa
* Add env var ANDROID_TMP to override /tmp/android location.Raphael2010-11-161-1/+1
| | | | | | | | | | | | This is needed if there's already a /tmp/android which the current user can't access on the system. It would prevent the emulator from starting with a cryptic error message: NAND: could not create temp file for system NAND disk image: Permission deniedemulator: User-config was not changed. SDK Bug: 3154431 Change-Id: Iefe7fd6a5139da545aaef5670fb7f42d210d0edc
* Save NAND disk state in snapshots.Ot ten Thije2010-10-131-45/+206
| | | | | | | | | | | | | | | | This patch fixes saving and restoring the state of the emulated NAND disks, by copying all contents of each disk into the snapshot file. During restore the disks are then entirely overwritten with the snapshot contents. The main issue with this approach is that the size of the disk snapshots is determined by the maximum capacity of the disk in question, rather than the actual size of the underlying file, which may be considerably smaller. The difference is filled with padding. Unfortunately, obvious approaches to avoid this padding result in incorrect state after restoring. Change-Id: I4abe329ff2cf2f159c3d6dfc206959614cc4ca35
* Remove compiler warnings when building the emulator.David 'Digit' Turner2010-09-221-2/+2
| | | | | | | This forces -Wall during the build. Note that this patch doesn't remove all warnings, but most of the remaining ones are from upstream anyway. Change-Id: I8808d8495e99866e156ce5780d2e3c305eab491f
* Moved nand and netspeed initialization from main to core.Vladimir Chtchetkine2010-08-261-2/+108
| | | | Change-Id: Ide3914fa52f62f618d39ac20f02bce8185a6805a
* Move NAND size warning to debug log.Xavier Ducrohet2009-10-011-3/+3
| | | | Change-Id: I67152761977b330e3f4c1bbe3d8eb99e48e2e7e7
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-8/+6
| | | | | | | | | | | | | | | | | | | 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/+636
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-636/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-7/+4
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+639