|
|
@ -283,7 +283,7 @@ do_fork(uint32_t clone_flags, uintptr_t stack, struct trapframe *tf) { |
|
|
|
* setup the kernel entry point and stack of process |
|
|
|
* hash_proc: add proc into proc hash_list |
|
|
|
* get_pid: alloc a unique pid for process |
|
|
|
* wakeup_proc: set proc->state = PROC_RUNNABLE |
|
|
|
* wakeup_proc: set proc->state = PROC_RUNNABLE |
|
|
|
* VARIABLES: |
|
|
|
* proc_list: the process set's list |
|
|
|
* nr_process: the number of process set |
|
|
|