aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_mmc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix linux-x86_64 build.David 'Digit' Turner2010-10-211-2/+2
| | | | | | | | | Fix various 64-bitness issues in the source code to make the --try-64 option work again on Linux. Note that the generated binary is not faster than its 32-bit variant when it comes to benchmarking the boot sequence. Change-Id: Iad248e033757d4cd25524a438a5dbe1cf3aca6cf
* Revert previous patch to fix SD Card emulationDavid 'Digit' Turner2010-04-151-76/+9
| | | | | | | | | | | The previous patch modifies SD Card hardware emulation in a way that is not backwards compatible with previous SDK platform releases. This has the unfortunate effect of making SD Card emulation not work properly when running existing AVDs. Reverting the patch until we get a better one. Change-Id: I82dac87709d88aa3bd292bf2ed0008ae74d95853
* qemu: android: Add control console support for managing sdcardsSan Mehat2009-12-071-5/+12
| | | | | | | | Signed-off-by: San Mehat <san@google.com> qemu: goldfish: Fix compile error introduced in refactoring Signed-off-by: San Mehat <san@google.com>
* qemu: android: Add support for multiple SD cardsSan Mehat2009-12-071-9/+69
| | | | | | | | | | | | | | | | | | | | | | | | Add commandline support for an additional SD card, and plumb support to the MMC emulation layer. This patch also reworks the way the hw emulation layer registers devices. Previously, the mmc virtual hardware was only created if the sdcard image existed. Now, two virtual MMC controllers are *always* created as on real hardware. When a request is made to one of our controllers which has no image file bound to it, a new interrupt status indicating a command timeout is sent to the guest driver, as is standard with MMC controllers. This patch also sets the stage for supporting hot-add / hot-remove. Signed-off-by: San Mehat <san@google.com> qemu: android: Integrate card detect into the virtual mmc hardware and wire it up to the STATE_CHANGE irq status Signed-off-by: San Mehat <san@google.com> fixups from review - mmc now works with legacy drivers Signed-off-by: San Mehat <san@google.com>
* Fix a crash when using an 8MB SD Card image file.David 'Digit' Turner2009-12-011-2/+6
| | | | | The minimum size is now 9MB. This appears to be a limitation of the emulated MMC hardware code and/or kernel device driver.
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-14/+62
| | | | | | | | | | | | | | | | | | | 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/+468
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-468/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-2/+3
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-1/+3
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+465