Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/ACE-RISCV
/ try_read
Method
try_read
security-monitor/src/core/interrupt_controller/mod.rs:44–47 ·
view source on GitHub ↗
(op: O)
Source
from the content-addressed store, hash-verified
42
}
43
44
pub fn try_read<F, O>(op: O) -> Result<F, Error>
45
where O: FnOnce(&RwLockReadGuard<'_, InterruptController>) -> Result<F, Error> {
46
op(&INTERRUPT_CONTROLLER.get().expect(NOT_INITIALIZED_INTERRUPT_CONTROLLER).read())
47
}
48
}
Callers
nothing calls this directly
Calls
1
read
Method · 0.45
Tested by
no test coverage detected