Better proc_kill () and process cleanup
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 27s
This commit is contained in:
@@ -39,20 +39,9 @@ struct proc {
|
||||
struct pd pd;
|
||||
spin_lock_t lock;
|
||||
struct cpu* cpu;
|
||||
// struct procw* procw; /* link to it's global struct */
|
||||
atomic_int state;
|
||||
};
|
||||
|
||||
/*
|
||||
* struct proc is a member of a CPU's proc_run_q.
|
||||
* struct procw is a process wrapper that is a member of
|
||||
* a global process list.
|
||||
*/
|
||||
/* struct procw { */
|
||||
/* struct procw* next; */
|
||||
/* struct proc* proc; */
|
||||
/* }; */
|
||||
|
||||
void proc_sched (void);
|
||||
void proc_kill (struct proc* proc);
|
||||
void proc_map (struct proc* proc, uintptr_t start_paddr, uintptr_t start_vaddr, size_t pages,
|
||||
|
||||
Reference in New Issue
Block a user