summaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-20 14:30:05 -0400
committerIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-20 14:30:05 -0400
commitc6e4db95055cdfe70c327f18f09c1a33a4b57d3f (patch)
tree3f237d5d75aa2c2e1c9f17b29f9d00338722da21 /kernel/include
parentadded initialization but it is untested (diff)
downloadcomus-c6e4db95055cdfe70c327f18f09c1a33a4b57d3f.tar.gz
comus-c6e4db95055cdfe70c327f18f09c1a33a4b57d3f.tar.bz2
comus-c6e4db95055cdfe70c327f18f09c1a33a4b57d3f.zip
read BARs from PCI
Diffstat (limited to '')
-rw-r--r--kernel/include/comus/drivers/ata.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/include/comus/drivers/ata.h b/kernel/include/comus/drivers/ata.h
index a9770c8..1f4aeb3 100644
--- a/kernel/include/comus/drivers/ata.h
+++ b/kernel/include/comus/drivers/ata.h
@@ -9,6 +9,10 @@
* ATA driver
*/
-void ata_init(void);
+#include <stdbool.h>
+
+/// Returns true if a PCE IDE device is connected and we will have disk space,
+/// false on no disks found.
+bool ata_init(void);
#endif