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

Function current_kstack_top

os/src/task/processor.rs:93–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93pub fn current_kstack_top() -> usize {
94 current_task().unwrap().kstack.get_top()
95}
96
97pub fn schedule(switched_task_cx_ptr: *mut TaskContext) {
98 let idle_task_cx_ptr =

Callers 1

backtraceFunction · 0.85

Calls 2

current_taskFunction · 0.85
get_topMethod · 0.80

Tested by

no test coverage detected