diff options
Diffstat (limited to 'src/kernel/arch/amd64/ata.h')
-rw-r--r-- | src/kernel/arch/amd64/ata.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/arch/amd64/ata.h b/src/kernel/arch/amd64/ata.h index 0c20281..c43ac23 100644 --- a/src/kernel/arch/amd64/ata.h +++ b/src/kernel/arch/amd64/ata.h @@ -3,9 +3,7 @@ #include <stddef.h> #include <stdint.h> -#define ATA_SECTOR 512 - void ata_init(void); bool ata_available(int drive); size_t ata_size(int drive); -int ata_read(int drive, uint32_t lba, void *buf); +int ata_read(int drive, void *buf, size_t len, size_t off); |