Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ enable_supervisor_interrupt
Function
enable_supervisor_interrupt
os/src/trap/mod.rs:47–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
}
46
47
fn enable_supervisor_interrupt() {
48
unsafe {
49
sstatus::set_sie();
50
}
51
}
52
53
fn disable_supervisor_interrupt() {
54
unsafe {
Callers
1
trap_handler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected