diff options
Diffstat (limited to 'src/kernel/arch/amd64/ata.h')
-rw-r--r-- | src/kernel/arch/amd64/ata.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/ata.h b/src/kernel/arch/amd64/ata.h new file mode 100644 index 0000000..82f4f81 --- /dev/null +++ b/src/kernel/arch/amd64/ata.h @@ -0,0 +1,7 @@ +#pragma once +#include <stdbool.h> +#include <stdint.h> + +void ata_init(void); +bool ata_available(int drive); +int ata_read(int drive, uint32_t lba, void *buf); |