Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ enable_timer_interrupt
Function
enable_timer_interrupt
os/src/trap/mod.rs:41–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
}
40
41
pub fn enable_timer_interrupt() {
42
unsafe {
43
sie::set_stimer();
44
}
45
}
46
47
fn enable_supervisor_interrupt() {
48
unsafe {
Callers
1
rust_main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected