Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ set_tval
Function
set_tval
freebsd/arm/arm/generic_timer.c:193–204 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
191
}
192
193
static int
194
set_tval(uint32_t val, bool physical)
195
{
196
197
if (physical)
198
set_el0(cntp_tval, val);
199
else
200
set_el0(cntv_tval, val);
201
isb();
202
203
return (0);
204
}
205
206
static int
207
get_ctrl(bool physical)
Callers
1
arm_tmr_start
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected