Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ set_timer
Function
set_timer
os/src/sbi.rs:31–33 ·
view source on GitHub ↗
(timer: usize)
Source
from the content-addressed store, hash-verified
29
}
30
31
pub fn set_timer(timer: usize) {
32
sbi_call(SBI_SET_TIMER, timer, 0, 0);
33
}
34
35
pub fn console_putchar(c: usize) {
36
sbi_call(SBI_CONSOLE_PUTCHAR, c, 0, 0);
Callers
1
set_next_trigger
Function · 0.85
Calls
1
sbi_call
Function · 0.85
Tested by
no test coverage detected