summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/ata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/ata.h')
-rw-r--r--src/kernel/arch/amd64/ata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/ata.h b/src/kernel/arch/amd64/ata.h
index c43ac23..924cabd 100644
--- a/src/kernel/arch/amd64/ata.h
+++ b/src/kernel/arch/amd64/ata.h
@@ -7,3 +7,4 @@ void ata_init(void);
bool ata_available(int drive);
size_t ata_size(int drive);
int ata_read(int drive, void *buf, size_t len, size_t off);
+int ata_write(int drive, const void *buf, size_t len, size_t off);