ahci: fix bug with block read and write
This commit is contained in:
parent
14a681c53e
commit
0b81c6cccc
3 changed files with 18 additions and 7 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue