mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
block: hook more calls to devman
This commit is contained in:
@@ -120,7 +120,9 @@ int block_read(int* error, int dev, void* buffer, size_t count, size_t offset){
|
|||||||
|
|
||||||
|
|
||||||
static devcalls calls = {
|
static devcalls calls = {
|
||||||
.read = block_read
|
.read = block_read,
|
||||||
|
.isseekable = isseekable,
|
||||||
|
.poll = poll
|
||||||
};
|
};
|
||||||
|
|
||||||
int block_registernew(blockdesc_t* desc, char* name){
|
int block_registernew(blockdesc_t* desc, char* name){
|
||||||
|
|||||||
Reference in New Issue
Block a user