aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_device.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-04-15 15:04:16 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-04-15 15:04:16 -0700
commit92568958dd42bf35667cc6451b5edd7f7d1f73a1 (patch)
tree573e33581b6db6dfc9efc1ac34104887e994b015 /hw/goldfish_device.h
parentfbcab322c2a12bfe49d0faaef91fccdc7bb97d4e (diff)
downloadexternal_qemu-92568958dd42bf35667cc6451b5edd7f7d1f73a1.zip
external_qemu-92568958dd42bf35667cc6451b5edd7f7d1f73a1.tar.gz
external_qemu-92568958dd42bf35667cc6451b5edd7f7d1f73a1.tar.bz2
Revert previous patch to fix SD Card emulation
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
Diffstat (limited to 'hw/goldfish_device.h')
-rw-r--r--hw/goldfish_device.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/goldfish_device.h b/hw/goldfish_device.h
index d0739b7..d04a166 100644
--- a/hw/goldfish_device.h
+++ b/hw/goldfish_device.h
@@ -46,12 +46,7 @@ void goldfish_audio_init(uint32_t base, int id, const char* input_source);
void goldfish_battery_init();
void goldfish_battery_set_prop(int ac, int property, int value);
void goldfish_battery_display(void (* callback)(void *data, const char* string), void *data);
-
-void goldfish_mmc_init(uint32_t base, int id);
-void goldfish_mmc_insert(int id, BlockDriverState* bs);
-void goldfish_mmc_remove(int id);
-int goldfish_mmc_is_media_inserted(int id);
-
+void goldfish_mmc_init(uint32_t base, int id, BlockDriverState* bs);
void *goldfish_switch_add(char *name, uint32_t (*writefn)(void *opaque, uint32_t state), void *writeopaque, int id);
void goldfish_switch_set_state(void *opaque, uint32_t state);