Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ new
Method
new
crates/virtual-machine/src/devices/clint.rs:20–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
impl Clint {
21
pub fn new() -> Self {
22
Self {
23
mtime: 0,
24
mtimecmp: u64::MAX,
25
msip: 0,
26
}
27
}
28
29
pub fn timer_irq_pending(&self) -> bool {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected