summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-12-16 09:55:16 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-12-29 09:17:06 -0500
commit72691a5299e9fac35d8ecbb56b3fa24226830116 (patch)
treecc0ef6f181fb63440eb0d38c5f0ffdcfb50535f0 /src/util.h
parent64b76149765341168b4c073211f7b17a0f54f444 (diff)
downloadqemu-seabios-72691a5299e9fac35d8ecbb56b3fa24226830116.tar.gz
sdcard: Initial support for SD cards on PCI SDHCI controllers on QEMU
This adds basic read/write support for SD cards emulated by QEMU. This code is not expected to work on real hardware, because the current controller and card initialization is not robust. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ed90e03..09bb8a9 100644
--- a/src/util.h
+++ b/src/util.h
@@ -146,6 +146,10 @@ void floppy_tick(void);
void ramdisk_setup(void);
int process_ramdisk_op(struct disk_op_s *op);
+// hw/sdcard.c
+int process_sdcard_op(struct disk_op_s *op);
+void sdcard_setup(void);
+
// hw/timer.c
void timer_setup(void);
void pmtimer_setup(u16 ioport);