From 7ea0ddc733285cfa25d6535954de4784b054902a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 26 Dec 2022 23:22:03 +0100 Subject: amd64/ata: write support --- src/kernel/arch/amd64/ata.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/arch/amd64/ata.h') 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); -- cgit v1.2.3