diff options
author | dzwdz | 2022-12-26 23:22:03 +0100 |
---|---|---|
committer | dzwdz | 2022-12-26 23:22:03 +0100 |
commit | 7ea0ddc733285cfa25d6535954de4784b054902a (patch) | |
tree | 0ae76ba3dd7628e5304153808962190d37559388 /src/kernel/arch/amd64/ata.h | |
parent | 2041919a2bb6cd8f4ef8ef6565962cfa82bb89f7 (diff) |
amd64/ata: write support
Diffstat (limited to 'src/kernel/arch/amd64/ata.h')
-rw-r--r-- | src/kernel/arch/amd64/ata.h | 1 |
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); |