diff options
Diffstat (limited to 'src/kernel/task')
-rw-r--r-- | src/kernel/task/task.cpp | 8 | ||||
-rw-r--r-- | src/kernel/task/task.h | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/kernel/task/task.cpp b/src/kernel/task/task.cpp index 51219e0..92820f9 100644 --- a/src/kernel/task/task.cpp +++ b/src/kernel/task/task.cpp @@ -272,13 +272,13 @@ thread::thread(class process *proc, thread_entry entry_point, void *data, void * } /* Creates a new process. Creates a struct process and fills it up. */ -process::process(process* parent, uint32_t uid, uint32_t privilege) { +process::process(process* _parent, uint32_t _uid, uint32_t _privilege) { pid = (nextpid++); - uid = uid; + uid = _uid; thread_count = 0; threads = 0; - privilege = privilege; - parent = parent; + privilege = _privilege; + parent = _parent; pagedir = pagedir_new(); next = processes; data = 0; diff --git a/src/kernel/task/task.h b/src/kernel/task/task.h index 69b431d..301f8be 100644 --- a/src/kernel/task/task.h +++ b/src/kernel/task/task.h @@ -44,7 +44,6 @@ class thread { class process *process; uint32_t esp, ebp, eip; uint8_t state; - uint32_t timeWait; void* kernelStack_addr; uint32_t kernelStack_size; |