aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_device.h
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-12-07 14:26:59 -0800
committerSan Mehat <san@google.com>2009-12-07 17:16:08 -0800
commit71e736ef90ef644130201742980b275fcca259a5 (patch)
treec914de107066fd2809cb3dd4aa519bf1d0f41918 /hw/goldfish_device.h
parent7ab6d35b98bc279a5fcd36965433a51a3c9aecd9 (diff)
downloadexternal_qemu-71e736ef90ef644130201742980b275fcca259a5.zip
external_qemu-71e736ef90ef644130201742980b275fcca259a5.tar.gz
external_qemu-71e736ef90ef644130201742980b275fcca259a5.tar.bz2
qemu: android: Add control console support for managing sdcards
Signed-off-by: San Mehat <san@google.com> qemu: goldfish: Fix compile error introduced in refactoring Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'hw/goldfish_device.h')
-rw-r--r--hw/goldfish_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/goldfish_device.h b/hw/goldfish_device.h
index 7eb21de..d0739b7 100644
--- a/hw/goldfish_device.h
+++ b/hw/goldfish_device.h
@@ -49,7 +49,8 @@ void goldfish_battery_display(void (* callback)(void *data, const char* string),
void goldfish_mmc_init(uint32_t base, int id);
void goldfish_mmc_insert(int id, BlockDriverState* bs);
-void goldfish_mmc_remove(int id, BlockDriverState *bs);
+void goldfish_mmc_remove(int id);
+int goldfish_mmc_is_media_inserted(int id);
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);