diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-17 14:34:44 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-17 14:34:44 +0000 |
commit | 02ce600c1e485a7da4a26166b5a75b68c6013fe1 (patch) | |
tree | bbaf336b9ed4300dc842ab6f1ed3beaeec66a5fd /hw/sd.h | |
parent | 38641a52f2335c470349c55d9b1679112da99399 (diff) |
Convert SD cards code to use qemu_irq too.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3671 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sd.h')
-rw-r--r-- | hw/sd.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -74,9 +74,7 @@ int sd_do_command(SDState *sd, struct sd_request_s *req, uint8_t *response); void sd_write_data(SDState *sd, uint8_t value); uint8_t sd_read_data(SDState *sd); -void sd_set_cb(SDState *sd, void *opaque, - void (*readonly_cb)(void *, int), - void (*inserted_cb)(void *, int)); +void sd_set_cb(SDState *sd, qemu_irq readonly, qemu_irq insert); int sd_data_ready(SDState *sd); #endif /* __hw_sd_h */ |