Added per-task curdir. and chdir, pager_read/write, mmap and munmap calls.

They look like what they should look like, but untested.
This commit is contained in:
Bahadir Balban
2008-02-20 00:50:03 +00:00
parent a160f6f151
commit f078116901
15 changed files with 200 additions and 59 deletions

View File

@@ -18,6 +18,8 @@ struct tcb {
struct list_head list;
int fd[TASK_OFILES_MAX];
struct id_pool *fdpool;
struct vnode *curdir;
struct vnode *rootdir;
};
struct tcb *find_task(int tid);