mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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
This commit is contained in:
parent
38641a52f2
commit
02ce600c1e
6 changed files with 22 additions and 63 deletions
4
hw/sd.h
4
hw/sd.h
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue