MushOS
0.1
A UNIX-like OS prototype, written from scratch
Loading...
Searching...
No Matches
vfs.c
1
#include "vfs.h"
2
3
4
fs_node
* root;
5
6
void
initialize_vfs(
byte
* location) {
7
root = (
fs_node
*) location;
8
}
9
10
11
void
* read(
fs_node
* node, dword offset, dword
size
,
byte
* buffer) {
12
13
}
14
15
dword write(
fs_node
* node, dword offset, dword
size
,
byte
* buffer) {
16
17
}
18
19
void
open(
fs_node
* node,
byte
read,
byte
write) {
20
21
}
22
23
void
close(
fs_node
* node) {
24
25
}
26
27
fs_node
* readdir(
fs_node
* node, dword index) {
28
29
}
30
31
fs_node
* finddir(
fs_node
* node,
char
*name) {
32
33
}
size
u_dword size(void *structure)
Definition:
lib/base/heap.c:65
fs_node
Definition:
vfs.h:15
core
drivers
vfs.c
Generated on Sun Jan 29 2023 13:48:02 for MushOS by
1.9.5