Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
93
pub fn current_kstack_top() -> usize {
94
current_task().unwrap().kstack.get_top()
95
}
96
97
pub fn schedule(switched_task_cx_ptr: *mut TaskContext) {
98
let idle_task_cx_ptr =
Callers
1
backtrace
Function · 0.85
Calls
2
current_task
Function · 0.85
get_top
Method · 0.80
Tested by
no test coverage detected