Expand description
Task pid implementation.
Assign PID to the process here. At the same time, the position of the application KernelStack is determined according to the PID.
Structs§
- Kernel stack for a process(task)
- Abstract structure of PID
Functions§
- Return (bottom, top) of a kernel stack in kernel space.
- allocate a new kernel stack
- Allocate a new PID