Expand description
Allocator for pid, task user resource, kernel stack using a simple recycle strategy.
Structs
Global allocator for kernel stack
Kernel stack for a task
Glocal allocator for pid
A handle to a pid
Allocator with a simple recycle strategy
User Resource for a task
Constants
The idle task’s pid is 0
Functions
Return (bottom, top) of a kernel stack in kernel space.
Allocate a kernel stack for a task
Allocate a pid for a process
Return the bottom addr (low addr) of the trap context for a task
Return the bottom addr (high addr) of the user stack for a task