scheduler: sched_setroot and sched_setcwd

This commit is contained in:
Matheus
2023-06-27 19:34:45 -03:00
parent 2b1140c161
commit 7e7504cde7
2 changed files with 24 additions and 0 deletions
+2
View File
@@ -81,6 +81,8 @@ int sched_sleep();
proc_t *sched_newproc();
vnode_t *sched_getcwd();
vnode_t *sched_getroot();
void sched_setcwd(vnode_t *);
void sched_setroot(vnode_t *);
thread_t *sched_newthread(void *ip, size_t kstacksize, int priority, proc_t *proc, void *ustack);
void sched_destroyproc(proc_t *);
void sched_destroythread(thread_t *);