MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / KernelStack

Class KernelStack

os/src/task/id.rs:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70pub struct KernelStack(pub usize);
71
72pub fn kstack_alloc() -> KernelStack {
73 let kstack_id = KSTACK_ALLOCATOR.exclusive_access().alloc();

Callers 1

kstack_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected