diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-12-16 09:55:16 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-12-29 09:17:06 -0500 |
commit | 72691a5299e9fac35d8ecbb56b3fa24226830116 (patch) | |
tree | cc0ef6f181fb63440eb0d38c5f0ffdcfb50535f0 /src/util.h | |
parent | 64b76149765341168b4c073211f7b17a0f54f444 (diff) | |
download | 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |