MCPcopy Create free account
hub / github.com/F-Stack/f-stack / get_ctrl

Function get_ctrl

freebsd/arm/arm/generic_timer.c:206–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static int
207get_ctrl(bool physical)
208{
209 uint32_t val;
210
211 if (physical)
212 val = get_el0(cntp_ctl);
213 else
214 val = get_el0(cntv_ctl);
215
216 return (val);
217}
218
219static void
220setup_user_access(void *arg __unused)

Callers 3

arm_tmr_startFunction · 0.85
arm_tmr_disableFunction · 0.85
arm_tmr_intrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected