What was i on?
This commit is contained in:
parent
d07194c977
commit
e744baa5b5
|
|
@ -1,11 +1,12 @@
|
||||||
#include "vfs.h"
|
#include "vfs.h"
|
||||||
|
#include "../shared/kstdlib.h"
|
||||||
|
|
||||||
vfile_t root_dir = {"/", VFILE_DIRECTORY};
|
vfile_t root_dir = {"/", VFILE_DIRECTORY};
|
||||||
|
|
||||||
void vfs_init(){
|
void vfs_init(){
|
||||||
|
// mlog()
|
||||||
root_dir.access.data.ptr = kmalloc(1);
|
root_dir.access.data.ptr = kmalloc(1);
|
||||||
root_dir.access.data.size_pgs = 1;
|
root_dir.access.data.size_pgs = 1;
|
||||||
printf("Sizeof: %d", sizeof(vfile_t));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void fcreate();
|
void fcreate();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue