aboutsummaryrefslogtreecommitdiff
path: root/src/block.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/block.h
parent64b76149765341168b4c073211f7b17a0f54f444 (diff)
downloadseabios-hppa-72691a5299e9fac35d8ecbb56b3fa24226830116.zip
seabios-hppa-72691a5299e9fac35d8ecbb56b3fa24226830116.tar.gz
seabios-hppa-72691a5299e9fac35d8ecbb56b3fa24226830116.tar.bz2
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/block.h')
-rw-r--r--src/block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block.h b/src/block.h
index aa01ed7..8182288 100644
--- a/src/block.h
+++ b/src/block.h
@@ -71,6 +71,7 @@ struct drive_s {
#define DTYPE_ESP_SCSI 0x81
#define DTYPE_MEGASAS 0x82
#define DTYPE_PVSCSI 0x83
+#define DTYPE_SDCARD 0x90
#define MAXDESCSIZE 80