From 630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 14 Feb 2015 11:07:31 +0100 Subject: Change a bit of structure --- src/kernel/user/process.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/kernel/user/process.c') 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 // -- cgit v1.2.3