MCPcopy 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
47fn enable_supervisor_interrupt() {
48 unsafe {
49 sstatus::set_sie();
50 }
51}
52
53fn disable_supervisor_interrupt() {
54 unsafe {

Callers 1

trap_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected