aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/dev.h')
-rw-r--r--src/kernel/fs/dev.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/kernel/fs/dev.h b/src/kernel/fs/dev.h
deleted file mode 100644
index 40263e6..0000000
--- a/src/kernel/fs/dev.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef MELVIX_DEV_H
-#define MELVIX_DEV_H
-
-#include <stdint.h>
-#include <kernel/fs/vfs.h>
-
-struct dev {
- char name[128];
- uint32_t block_size;
- read read;
- write write;
-
- uint8_t bus;
- uint8_t drive;
-};
-
-void dev_make(char *name, read read, write write);
-uint32_t dev_read(struct fs_node *dev, uint32_t offset, uint32_t size, char *buffer);
-uint32_t dev_write(struct fs_node *dev, uint32_t offset, uint32_t size, char *buffer);
-
-void dev_stdout();
-void dev_stdin();
-void dev_stderr();
-
-#endif \ No newline at end of file