git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: fstat now handle symbolic link
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
block.h
diff --git
a/lunaix-os/includes/lunaix/block.h
b/lunaix-os/includes/lunaix/block.h
index c574dd346d32e9d789b3f29680530e1af3e39047..0eb777542aaef8415ed3d29a6f9b0781b9f629c4 100644
(file)
--- a/
lunaix-os/includes/lunaix/block.h
+++ b/
lunaix-os/includes/lunaix/block.h
@@
-31,6
+31,7
@@
struct block_dev
u64_t end_lba;
u32_t blk_size;
struct block_dev_ops ops;
u64_t end_lba;
u32_t blk_size;
struct block_dev_ops ops;
+ struct devclass* class;
};
// Lunaix Partition Table
};
// Lunaix Partition Table
@@
-44,7
+45,7
@@
struct lpt_header
} __attribute__((packed));
typedef u64_t partition_t;
} __attribute__((packed));
typedef u64_t partition_t;
-typedef u
int
32_t bdev_t;
+typedef u32_t bdev_t;
typedef void (*devfs_exporter)(struct block_dev* bdev, void* fsnode);
void
typedef void (*devfs_exporter)(struct block_dev* bdev, void* fsnode);
void