MCPcopy 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
31pub fn set_timer(timer: usize) {
32 sbi_call(SBI_SET_TIMER, timer, 0, 0);
33}
34
35pub fn console_putchar(c: usize) {
36 sbi_call(SBI_CONSOLE_PUTCHAR, c, 0, 0);

Callers 1

set_next_triggerFunction · 0.85

Calls 1

sbi_callFunction · 0.85

Tested by

no test coverage detected