ahci: add block operations
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
7aed4b6579
commit
fc0720b118
5 changed files with 60 additions and 9 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <kernel/spinlock.h>
|
||||
#include <kernel/slab.h>
|
||||
#include <kernel/block.h>
|
||||
#include <fs/inode.h>
|
||||
|
||||
#include <lib/rwlock.h>
|
||||
|
|
@ -54,6 +53,8 @@
|
|||
|
||||
#define FS_RDONLY 0x00000001
|
||||
|
||||
struct block_device;
|
||||
|
||||
struct fs_driver {
|
||||
char name[FILE_NAME_MAX_LEN + 1];
|
||||
int (*init)(int flags, struct block_device *to_mount, fs_t **out);
|
||||
|
|
|
|||
Loading…
Reference in a new issue