aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/user/process.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-14 11:07:31 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-14 11:07:31 +0100
commit630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f (patch)
treef8c1bfe9da8dc23a69d8982bfb2b4e19d517f820 /src/kernel/user/process.c
parent706c69d40fcc46e7d7f170dab932d3c7fcc7c34e (diff)
downloadkogata-630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f.tar.gz
kogata-630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f.zip
Change a bit of structure
Diffstat (limited to 'src/kernel/user/process.c')
-rw-r--r--src/kernel/user/process.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/kernel/user/process.c b/src/kernel/user/process.c
index 579c33d..d1fdf32 100644
--- a/src/kernel/user/process.c
+++ b/src/kernel/user/process.c
@@ -17,18 +17,6 @@ typedef struct user_region {
struct user_region *next;
} user_region_t;
-typedef struct process {
- pagedir_t *pd;
- user_region_t *regions;
-
- hashtbl_t *filesystems;
-
- thread_t *thread;
-
- int pid;
- struct process *parent;
-} process_t;
-
static int next_pid = 1;
static void proc_user_exception(registers_t *regs);
@@ -114,13 +102,6 @@ bool start_process(process_t *p, void* entry) {
return true;
}
-pagedir_t *proc_pagedir(process_t *p) {
- return p->pd;
-}
-
-int proc_pid(process_t *p) {
- return p->pid;
-}
// ================================== //
// MANAGING FILESYSTEMS FOR PROCESSES //