MCPcopy 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
193static int
194set_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
206static int
207get_ctrl(bool physical)

Callers 1

arm_tmr_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected