diff options
| author | Ian McFarlane <i.mcfarlane2002@gmail.com> | 2025-04-20 14:30:05 -0400 |
|---|---|---|
| committer | Ian McFarlane <i.mcfarlane2002@gmail.com> | 2025-04-20 14:30:05 -0400 |
| commit | c6e4db95055cdfe70c327f18f09c1a33a4b57d3f (patch) | |
| tree | 3f237d5d75aa2c2e1c9f17b29f9d00338722da21 /kernel/include | |
| parent | added initialization but it is untested (diff) | |
| download | comus-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.h | 6 |
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 |