git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git]
/
lunaix-os
/
kernel
/
process
/
taskfs.c
diff --git
a/lunaix-os/kernel/process/taskfs.c
b/lunaix-os/kernel/process/taskfs.c
index 6507eb1d9b292453ff615738554b4e7f209cc329..70afe1349fd5cf808e5e650260ac690c91415e86 100644
(file)
--- a/
lunaix-os/kernel/process/taskfs.c
+++ b/
lunaix-os/kernel/process/taskfs.c
@@
-4,10
+4,10
@@
#include <lunaix/process.h>
#include <lunaix/sched.h>
#include <lunaix/process.h>
#include <lunaix/sched.h>
-#include <klibc/st
dio
.h>
+#include <klibc/st
rfmt
.h>
#include <klibc/string.h>
#include <klibc/string.h>
-#include <usr/
sys
/dirent_defs.h>
+#include <usr/
lunaix
/dirent_defs.h>
#define COUNTER_MASK ((1 << 16) - 1)
#define COUNTER_MASK ((1 << 16) - 1)
@@
-129,7
+129,7
@@
taskfs_dirlookup(struct v_inode* this, struct v_dnode* dnode)
return ENOENT;
}
return ENOENT;
}
- return taskfs_mknod(dnode, pid, 0,
VFS_IF
DIR);
+ return taskfs_mknod(dnode, pid, 0,
F_
DIR);
}
static struct v_file_ops taskfs_file_ops = { .close = default_file_close,
}
static struct v_file_ops taskfs_file_ops = { .close = default_file_close,
@@
-226,4
+226,5
@@
taskfs_init()
attr_export_table = vcalloc(ATTR_TABLE_LEN, sizeof(struct hbucket));
export_task_attr();
attr_export_table = vcalloc(ATTR_TABLE_LEN, sizeof(struct hbucket));
export_task_attr();
-}
\ No newline at end of file
+}
+EXPORT_FILE_SYSTEM(taskfs, taskfs_init);
\ No newline at end of file