ahci: fix bug with block read and write

This commit is contained in:
Michael Shaw 2023-05-10 00:40:14 -04:00
commit 0b81c6cccc
3 changed files with 18 additions and 7 deletions

View file

@ -22,4 +22,7 @@ struct block_device *block_register(char *name, struct block_device_ops *ops, vo
int block_read(struct block_device *bdev, void *buf, size_t offset, size_t size);
int block_write(struct block_device *bdev, void *buf, size_t offset, size_t size);
extern struct block_device *block_devices[];
extern size_t block_devices_count;
#endif /* _BLOCK_H_ */