diff options
author | Marvin Borner | 2020-05-06 18:16:47 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-06 18:16:47 +0200 |
commit | 1a8563a05608b5b5e27eada44cf4790926001c68 (patch) | |
tree | 3e25e3168dd260bb66d22ac1b559bcefd4c405ed /src/kernel/fs/dev.h | |
parent | 476af3bcc2f2a072d32db0523c382af99a9d2b5b (diff) |
Removed vfs - ext2 ftw!
I should really start thinking before I implement features. Now I did
and I have quite a good plan for the future of Melvix (hint: not
unix/posix-compliant!).
Diffstat (limited to 'src/kernel/fs/dev.h')
-rw-r--r-- | src/kernel/fs/dev.h | 25 |
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 |